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

Gallery image background

I set a background image in android gallery with: ga.setBackgroundDrawable(R.drawable.myimage); and it's work. How can i set the position of background image in android gallery ? DETAILS: I have a semi-trasparent gallery of image over a background…
enfix
  • 6,680
  • 12
  • 55
  • 80
0
votes
0 answers

gallery view not showing updated sdcard

I have a Gallery activity that in the onCreate method is setting a file path for images to display like so: // Set up an array of the Thumbnail Image ID column we want String[] projection = {MediaStore.Images.Media._ID}; …
erik
  • 4,946
  • 13
  • 70
  • 120
0
votes
2 answers

Copying an image from the gallery and then deleting it

I have an AsyncTask that copies the picture that was just taken to the location I have specified and then the original photo gets deleted. However, I keep getting an error most of the time. final String[] projection = {…
MrEngineer13
  • 38,642
  • 13
  • 74
  • 93
0
votes
1 answer

Android gallery image

https://stackoverflow.com/a/2508138/1508448 Please go through the link above. My compiler is showing a problem in REQ_CODE_PICK_IMAGE. It asks if I need to create a variable. What is it?
rrrocky
  • 696
  • 1
  • 11
  • 27
0
votes
1 answer

Customizing image gallery

I have working sample of image gallery. Now if I have 10 images in gallery, few of them gets displayed initially, lets say 3 (based on image thumbnail dimensions), and rest of the images can be viewed by scrolling the gallery. I want to change this…
GAMA
  • 5,958
  • 14
  • 79
  • 126
0
votes
1 answer

Android Gallery Widget Error: java.lang.NullPointerException at android.widget.Gallery.setUpChild

The main Activity in my Android app has a Gallery widget that loads XML layouts (containing TextViews and Images) through an efficient ImageAdapter. For the most part this works fine and I haven't had any problems on any of my devices or the…
Sachin K
  • 339
  • 4
  • 14
0
votes
2 answers

How to display center image in gallery display in imageview if user scrolling in gallery in android

I have an image view and gallery on screen. In gallery I have a lot of images. If the user scrolls in the gallery, I need to display gallery center image should be displayed in image view. Can anybody tell me how to do this? Thanks
mohan
  • 13,035
  • 29
  • 108
  • 178
0
votes
1 answer

Android gallery viewer recycling

I made a gallery viewer based on this tutorial, and I'm having problems when clicking in the thumbnails. For example if I click in the 2nd thumbnail, it goes to the 3rd, if I click in the 4th, it goes to the 5th, etc.. but if I click on the 6th, it…
noloman
  • 11,411
  • 20
  • 82
  • 129
0
votes
1 answer

Android Gallery issue, out of memory

The following code give java.lang.OutOfMemoryError : bitmap exceeds VM budget i'm writing an app to swipe through a series of images , which are all full screen. I know i'm loading all images together thats whats causing the problem , but i dont…
0
votes
3 answers

Android: making gallery infinite loop of images

I'm using a gallery in my project in which I have added four images and I want it to be infinite from both right side and left side. How do I accomplish this?
arsh.somal
  • 61
  • 1
  • 13
0
votes
0 answers

How to avoid back end space in Android Gallery

The thing is, I want to avoid the extra space that normally Gallery view is displaying at the end of the Gallery; like in (Figure 1) I need to adjust it like Figure 2 How can I achieve that with out using HorizontalListView describe in here or…
AnujAroshA
  • 4,623
  • 8
  • 56
  • 99
0
votes
1 answer

how can I kong when gallery is start scroll and stop scroll

I had a gallery and I rewrite it from gallery in Android source code. Now i wanna get the start and stop state of it, how can I do this? I just wanna know when did gallery start and stop, so I can make my animation start stop correctly!
0
votes
2 answers

Image gallery with remote json for Android

I wonder if there are any tutorials, examples etc on how to build an image gallery for Android with appcelerator? I want to display my photos from my FB page. I have the json and are logged in with auth token ready. Any ideas or links would be…
Richard Stenstierna
  • 2,155
  • 3
  • 16
  • 16
0
votes
1 answer

Android Gallery Background

I have followed a gallery tutorial and have it working fine, but the problem that I need help solving is that I want to change the background colour of the gallery. If I just use: setBackgroundColor(Color.BLACK); then it messes up and I lose the…
user1281053
  • 387
  • 1
  • 5
  • 10
0
votes
1 answer

How to stop the gallery last item at right margin?

While scrolling the gallery last item is scrolled and stops at left margin. I want to stop the last item at right margin of the screen. i am showing 3 items at a time on screen thanks for any suggestions. public View getView(int position, View…
raju
  • 1,254
  • 13
  • 18