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
3
votes
3 answers

How to zooming whole gallery?

I try to display images with gallery view and it works fine, now I would like to add a zoom but the WHOLE gallery, not selected image. The point is that all images are expanded and increased spacing between them. How to do it?
Nips
  • 13,162
  • 23
  • 65
  • 103
3
votes
2 answers

Android Gallery Import

I am using gallery picker for picking an image from gallery. The photos taken by the camera in portrait mode is shown in the gallery as straight. But when I import the photos, i get the photo as rotated (landscape). Only gallery is showing this…
Zacharias Manuel
  • 8,983
  • 1
  • 17
  • 30
3
votes
1 answer

remove and add view NPE, honeycomb, android

I have LinearLayout areaForGalleries programmatically filled with Gallery components, one after another. onItemClick method in each gallery removes it from areaForGalleries and adds it to RelativeLayout parentLayout which is parent of…
3
votes
1 answer

Initiate Camera Intent with the Gallery Icon

I am working on an app that accesses the camera and returns an uri, which I pass to another activity and display the extracted bitmap in an ImageView. Everything seems to work fine. Here is the code that I use to initiate the camera…
Abhijit
  • 4,853
  • 3
  • 30
  • 33
3
votes
6 answers

Weird animation on Gallery when a invalidate is requested from it's children

This is the adapter of my Gallery on which I display ImageViews (thumb of a page) I want to load the images ASync (some times this can come from Network), so I did that code: public View getView(int position, View convertView, ViewGroup parent)…
3
votes
3 answers

how to open specific folders images using android default gallery

I want to open images of specific folder in my program using default android gallery application. i have used this code given by the piyush mishra in a post but the problem i have written below the code public class GalleryActivity extends Activity…
Piyush
  • 1,973
  • 1
  • 19
  • 30
3
votes
3 answers

How to get all images from the phone storage into my application?

One activity of my Android application needs to show all the pictures from the phone including sd-card, camera pictures, downloads, etc. How can I perform this with the code? Whether through Intent or some other possible ways? (for instance in…
Santhosh_pulliman
  • 2,119
  • 6
  • 30
  • 47
3
votes
3 answers

Android Gallery view listeners add delay?

I have implemented gallery and listview. Gallery has images and when i click on image using setOnItemSelectedListener Listview is updated which has info regarding image selected. Problem: When I scroll through gallery rapidly it updates my listview…
Rohit
  • 2,538
  • 6
  • 28
  • 41
3
votes
2 answers

How to open the image in the Android's default gallery

Possible Duplicate: How to open phones gallery through code I have outputted a image in my app. Can I call the default Android's gallery to display the image instead of using ImageView to view the image. Thank you very much!
newstartgirls
  • 281
  • 1
  • 8
  • 19
3
votes
3 answers

Android open source activity to let the user select/create a media?

In my open source app, I want to let users insert a picture/video/sound/etc. The user can either select an existing media from the SD card or use the device's hardware (take a photo, record a video, record a sound, draw on touchscreen) if they…
Nicolas Raoul
  • 58,567
  • 58
  • 222
  • 373
3
votes
3 answers

Why is ImagePicker unable to pick multiple images

I'm trying to pick multiple images at once using the image_picker 0.7.5+3 package so my code is simple , just one line to open the gallery to select from it final images = await ImagePicker.platform.pickMultiImage(); but it's showing this…
Tony Tony
  • 33
  • 1
  • 3
3
votes
1 answer

How to speed up image viewing with android "Cooliris" gallery?

I'm running 2.3 on a Nexus S (but writing code against 2.2), and it takes forever for an image to display in the default cooliris gallery. This is how I am attempting to display an image: Uri imageIdentifier = getImageUriOnFilesystem(); Intent…
user455695
  • 81
  • 2
3
votes
1 answer

Prevent image captured via android camera to show up in gallery

I'm trying to save the image captured via android camera in a custom location. My code looks like this: Intent intent = new Intent("android.media.action.IMAGE_CAPTURE"); File f = File(android.os.Environment.getExternalStorageDirectory(),…
bala
  • 415
  • 3
  • 13
3
votes
1 answer

Splitting a TextView into multiple TextViews relative to screen height

So I have what I consider a rather complex problem. I have this massive TextView that is several screen lengths long. What I want to do is split the TextView up into smaller TextViews, each the height of the visible screen (So no vertical…
Jason Robinson
  • 31,005
  • 19
  • 77
  • 131
3
votes
3 answers

Android Gallery's getView() returning incorrect position

Thanks for reading! I am using the Android Gallery with both LayoutParams as MATCH_PARENT to show one full screen image at a time. Here's my code: layout.xml
Sagar Hatekar
  • 8,700
  • 14
  • 56
  • 72