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

Touch Scroll on View Flipper in Android?

I have to achieve that the Touch Scroll on the ViewFlipper. For Example. I have two Images. At First, ViewFlipper shows an First Image. Now I Flung the view from right to left. The First Image view Slide out left and the Second Slide in from Left. I…
Praveen
  • 90,477
  • 74
  • 177
  • 219
4
votes
2 answers

Unable to load image when selected from the gallery on Android in phonegap

I want to select image form android gallery and upload image to server. My code works properly for IOS apps. But not getting image from android phone. Inside android app getting show image url like…
4
votes
4 answers

Select Image from gallery in Android Fragment

I want to select gallery intent in fragment.when user choose option to select image from gallery then gallery opens and immediately onActivityResult of fragment is being called.and when user pick image then onActivityResult() is not called.So i am…
Ravi Bhandari
  • 4,682
  • 8
  • 40
  • 68
4
votes
3 answers

Android open gallery from folder

I want to show a photo in android gallery, and be able to slide throw the others photos on that folder. Intent intent = new Intent(Intent.ACTION_VIEW); File f = new File(path); intent.setDataAndType(Uri.parse("file://" + f.getAbsolutePath()),…
Nero
  • 194
  • 1
  • 1
  • 11
4
votes
2 answers

Gallery intent.getData() returns null in onActivityResult

I recently fixed a known bug in my app that occurs on some devices; when the user takes a photo from an intent launched from my app, in the onActivityResult Uri uri = intent.getData(); returns null. I managed to fix that in the suggested manner.…
Sebek
  • 642
  • 8
  • 22
4
votes
5 answers

List out all images from SD card

Hi I am developing android Gallery app . I am fetching the images from a folder in sd card and displaying it on a grid view as below public static ArrayList getFilePaths(){ ArrayList filePaths = new ArrayList(); File…
sanjana
  • 641
  • 2
  • 15
  • 36
4
votes
1 answer

saving image picked from gallery for future use

Hey i have been looking for a while now. the following code picks the image from the android gallery and shows it in an imageView. but heres the thing, everytime the app is closed and restarted the has to be picked again. i would like to know how i…
Aashir
  • 2,621
  • 4
  • 21
  • 37
4
votes
0 answers

Mosaic Gallery to show images in Mosaic Style in android for lower sdk's?

I am working for Mosaic style Gallery preview. In my last thread Mosaic Style I got to know how to implement it in Android using QuiltView code but getting problem in lower sdk's. My code works only for the 4.0 and above O.S. and not for the lower…
Sam-In-TechValens
  • 2,501
  • 4
  • 34
  • 67
4
votes
2 answers

How can I display a specific folder in Android Gallery3D (cooliris)?

I'm using Gallery3D (froyo-stable) I'm trying to make a little app that displays only images from a specific folder in a gallery view. Uri targetUri = Media.EXTERNAL_CONTENT_URI; String folderPath =…
Nam Vu
  • 5,669
  • 7
  • 58
  • 90
4
votes
1 answer

Saving an ImageView to Gallery - Code isn't working

This is my first question here. I've searched for my doubt. I found similar questions but i haven't exactly got my answer. So please forgive me if i have done something wrong. I'm trying to save an image from an ImageView in my app to a folder in my…
Anas Khan
  • 98
  • 2
  • 9
4
votes
2 answers

Take photo without saving picture to gallery?

I have a method in my activity that starts a image_capture event public static void takePhoto(boolean fullSize) { if(isIntentAvailable(mActivity.getApplicationContext(), MediaStore.ACTION_IMAGE_CAPTURE)){ …
Robby Smet
  • 4,649
  • 8
  • 61
  • 104
4
votes
1 answer

Android: Scanning a directory and displaying pictures (thumbnails) (pictures are not stored in the mediastore)

I have recently done some tests with display pictures using a custom gallery that i designed using the media queries and mediastore... It worked great but i really need to do something custom. I don't wish the pictures to be scanned or available in…
Martin
  • 23,844
  • 55
  • 201
  • 327
4
votes
1 answer

Having an issue to create gallery in jelly beans

I am creating a picture gallery for newly android release jellybeans.But i got to know from here is that gallery widget is deprecated and they suggested to use ViewPager or HorizontalScrollView.I decided to use HorizontalScrollView to create my…
himanshu
  • 1,990
  • 3
  • 18
  • 36
4
votes
6 answers

Gallery view is not starting from left

I am using Gallery like this but when I am running…
Jignesh Ansodariya
  • 12,583
  • 24
  • 81
  • 113
3
votes
1 answer

Android - Cropping after Camera and Gallery Intents Gives Strange Results

I'm trying to launch an Android camera intent and a choose-photo intent (two buttons, one for take photo, one for choose from gallery) and both need a crop intent launched after them then have the cropped photo returned to my app's activity. I've…
Paul
  • 147
  • 2
  • 8