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
2 answers

Order of images in Grid View in Android

I have an android application which has a grid view gallery in it. On this grid view I'm showing images in full screen when the user clicks on an image. It works quite well. But the problem is grid view shows the images correctly when they appear on…
0
votes
2 answers

Android Gallery with Gridview & Thumbnails

For my App I need a gallery (Gridview) with remote images (URLs of original and thumb are getting parsed by a JSON file) where it shows the thumbnails and on a click it loads the original sized image (async would be best...) I have seen this on…
user754730
  • 1,341
  • 5
  • 31
  • 62
0
votes
1 answer

When pressed back button, i got Force Close in Android

in my activity, i can go to gallery and can pick image. After that i can go back to previous sreecn. But when i went to gallery, if i wouldn't pick an image and press to back button, i can not go to previous screen and i got force close. How can fix…
yiddow
  • 121
  • 1
  • 8
0
votes
2 answers

Identify onItemClick for two different Gallery items in Android

In my Activity, I have two Gallery items. I am implementing OnItemClickListener so I have to overwrite onItemClick method. I have set the listener as…
AnujAroshA
  • 4,623
  • 8
  • 56
  • 99
0
votes
1 answer

Image background issue android

i'm working on app, that reads image from gallery, and becomes background in layout, i've used the following code but it gives me force close error as soon as i click the picture, here is the code Intent intent = new Intent(); …
Numair
  • 1,062
  • 1
  • 20
  • 41
0
votes
1 answer

Android - Custom Gallery that reads SD Folder

I am trying to implement a Gallery that shows all the images from a specific folder located in the external storage. Here is my code: public class ExistingPicGallery extends Activity { private Cursor cursor; private int columnIndex; …
Sebastian Breit
  • 6,137
  • 1
  • 35
  • 53
0
votes
1 answer

Android - Camera activity gets opened instead of picture gallery

I've created an activity that allows the user to add a picture to an ImageView in that activity. I've created a button, that opens a context menu for the activity and gives the user options to either pick a picture from the gallery or take a…
0
votes
1 answer

Android gallery: stretching and overlapping thumbnails

I'm doing an Android gallery and I need to have the ImageView which shows a picture in full screen, and on top of it -meaning that it has to overlap the ImageView- the Gallery. The problem is that now the ImageView occupies the portion that is not…
noloman
  • 11,411
  • 20
  • 82
  • 129
0
votes
2 answers

Android onTouch event only being called first time

I have a gallery viewer for an Android application. I need to show, first, a big picture, and then below it, the thumbnails of other pictures. After 5 seconds, the thumbnails disappear, and when the user touches the screen, the thumbnails should…
noloman
  • 11,411
  • 20
  • 82
  • 129
0
votes
2 answers

Embedding a Gallery into a ListView?

Can anybody tell me how to embed a Gallery into a ListVview, so that I can do horizontal scrolling over images inside ListView?
KKC
  • 538
  • 1
  • 11
  • 27
0
votes
1 answer

How to stop the gallery at the edge of the screen? (Android)

I am thinking about using Gallery. If I'm scrolling to the right, I want the gallery to stop scrolling when the left most image comes to the edge of the left side of the display. Ideally the left most image would be flush with the left side of the…
benkdev
  • 673
  • 2
  • 16
  • 32
-1
votes
2 answers

Android Hello Gallery does not wotk

I follow hello gallery tutorial but does not work. It displays blank screen. I've upload the sample images in drawable folder. Here is the main.xml code
user1134475
  • 415
  • 1
  • 8
  • 18
-1
votes
1 answer

Android - Gallery with even number of images

I am using a Gallery object in my app and the size of the images is such that four seems to be the ideal number of images in the gallery at one time. Three results in too much space and five in too little. The problem is that the gallery seems to…
Saad Farooq
  • 13,172
  • 10
  • 68
  • 94
-1
votes
1 answer

How to modify the Date Modified in Bulk?

A few days back I took a backup of my phone's documents before a factory reset of my phone. But when I copied the files on to my Windows system, the "Date of Creation" of those files changed to the time I copied. I noticed it when the factory reset…
-1
votes
2 answers

How can we Sort image according to date

I am trying to make gallery application in which all media file are arranged in a GridView. It shows latest 1st and oldest last. But I wish to arrange its as according to Dates in GridView. Is this possible? I need you viable suggestions. Thanks in…
Balban
  • 718
  • 3
  • 9
  • 24