Questions tagged [android-gallery]

Questions regarding using Android gallery application. Gallery application is the official media app installed on all Android mobile devices. The app allows browsing, organizing, sharing and editing of media (photos and videos).

Gallery application is the official media app installed on all Android mobile devices. The app allows browsing, organizing, sharing and editing of media (photos and videos).

Reference: Android Developers Gallery class overview

1181 questions
0
votes
1 answer

Get any image from android phone gallery and use in a ImageView

I have an ImageView in my XML code and I want my application to open this ImageView filled with one of the images I have in my gallery (without I choose one). I would also like this to work on any android phone (or most of them). I was trying…
groff07
  • 2,363
  • 3
  • 32
  • 48
0
votes
1 answer

How to set size to full screen?

I'm using the source code from [this tutorial] And I want to make all the full screen when I display them. How do I do it?
david
  • 1,107
  • 6
  • 12
  • 21
0
votes
2 answers

Loading images in galleryview

I want to load images in gallery view in a manner that once images is load than after when user scrolls, want to show loading indicator and than after new image will be display. in my below code it takes all the data(including images) and…
Krunal Desai
  • 280
  • 1
  • 4
  • 14
0
votes
1 answer

how to save previous button state on next click item in Gallery

I'm new in android .I'm working with gallary.I would like to know how to save previous button state when I click on next gallery item.I want to make default button state off on all images and when button state will select with image it shoud be safe…
Terry
  • 63
  • 3
  • 10
0
votes
1 answer

Gallery of Fragments

I'm trying to implement a Gallery that every cell is a fragment. gallery_item.xml:
David
  • 37,109
  • 32
  • 120
  • 141
0
votes
1 answer

how to open specific folders images using android default gallery showing error

I am using the following code to open images from a particular directory.. the problem is it works fine for my galaxy ace... But i am not able to open it on other phones.. I have also attached the stacktrace. Please help.. Thank you :) private void…
Adolf Dsilva
  • 13,092
  • 8
  • 34
  • 45
0
votes
1 answer

Picking an image from Android Gallery & Picassa

I am trying to open an image/picture in the Gallery built-in app from inside my application as described in here. My "picker" activity works fine as long as the image is stored in the device, but the gallery app also displays images from Picassa,…
dornad
  • 1,274
  • 3
  • 17
  • 36
0
votes
1 answer

Gallery with thumbnails and a big image preview

I'd like to create a gallery like this which has bar with small images and a big preview: The point is that I'd like to have some preloading of images etc, so I found Android Universal Image Loader, but it doesn't seem it has the possibility of the…
Krivers
  • 1,986
  • 2
  • 22
  • 45
0
votes
1 answer

delete image from gallery with OnItemLongClick event

I want to know how can I use OnItemLongClickListener event to delete an image from gallery? I don't know how can I find the url or another detail about the image from this event in order to delete it. this is What I did so far (* I already have a…
user2235615
  • 1,513
  • 3
  • 17
  • 37
0
votes
2 answers

Gallery View will not display full ImageView when image selected

I have this problem when coding a gallery view in Android. The images appear (as expected) in the top screen of the screen and when they are clicked they say what image is selected (again as expected). However, the image that is selected is not…
bez91
  • 126
  • 1
  • 4
  • 16
0
votes
1 answer

android gallery with images from url folder

I'm begginer in Android programming and I need help. How could I create an app that shows images in grid view but whenever the app is started it refreshes and loads new images from online folder? I cant find anywhere help on internet. Everybody are…
0
votes
1 answer

Android custom gallery or something simmilar

I have a small and simple question. I need to have a widget in my app that is similar to listview, or image gallery I don't know. So this is my question how can I do something like this in my app? Here is the widget I am talking about. It has a…
0
votes
1 answer

Android: display a custom Dialog when clicking on Gallery element

Bonjour everyone I 'd like to display a Dialog with customized layout when clicking on an element of Gallery view. My gallery is displayed without any problem but when selecting an element an error occured. My code : gallery.setAdapter(new…
johann
  • 1,115
  • 8
  • 34
  • 60
0
votes
1 answer

Keep Camera from saving photo

I have an application that captures pictures by dispatching an intent. Upon return of control to the activity, I retrieve the intent, extract the data, transform it into a bitmap and use it in my application. Just some straight forward code. The…
Eric Tobias
  • 3,225
  • 4
  • 32
  • 50
0
votes
2 answers

Create infinite scrolling gallery View

I have a very simple Gallery which I use to scroll through some pictures with a 2 seconds interval. My question: how to make this gallery "infinite" so the first picture comes again after the last one? NOTE I'm aware of the fact that Gallery is…
Droidman
  • 11,485
  • 17
  • 93
  • 141