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

"java.lang.IllegalArgumentException: View not attached to window manager" when calling Toast

I get the following "java.lang.IllegalArgumentException: View not attached to window manager" this happens when the toast.show() is called. Please any explanation? Thanks a lot!!!! EDITED: I post all the code + the logcat CODE - NOTE the error…
Lisa Anne
  • 4,482
  • 17
  • 83
  • 157
0
votes
1 answer

Samsung Galaxy S2 and S3 - ContentResolver query for MediaStore never returns images

Currently developing an app which loads images from SD card. In the emulator the following works fine and finds images to display. However, on the Galaxy S2 and S3 - no images are ever displayed. Any ideas? Cursor cursor =…
James
  • 117
  • 1
  • 4
0
votes
1 answer

Open specific album of gallery form android app

Is it possible to open specific album of gallery from application? I have searched on internet, but did not find anything like this. I found that how to get reference of images from specific album and display them inside the app at my own. Need to…
Tahreem
  • 205
  • 5
  • 15
0
votes
1 answer

selecting an Image from Grid and displaying it in Gallery View in android application

I wanted select an Image from the GridView of Activity and wanted to send its position to Gallery View to display it as CurrentView in Gallery. I am able to create Gallery Activity and GridView Activity. However I am unable select the Gallery…
candy
  • 734
  • 1
  • 11
  • 22
0
votes
1 answer

Android gallery, him adapter, Broadcast and service dont update gallery view

I have a gallery with custom base adapter, and populate from a arraylist with images path, sending from a service with a BroadCast. The arraylist with paths isnt empty, i call notifidatasetchange but gallery dont change: This is the…
colymore
  • 11,776
  • 13
  • 48
  • 90
0
votes
1 answer

Pick image from gallery and set in imageview with same size

I want to pick the image from gallery and set the image with same size in imageview in activity but i wrote code but its not displaying on with same size in imageview. its displaying small. How to achieve with same size. Here its set size of…
Ajay S
  • 48,003
  • 27
  • 91
  • 111
0
votes
1 answer

Selected ImageView location change to center on click in Gallery View

I used gallery view in which i place multiple imageview dynamically but on click imageview it comes at center and second question how to start first imageview from left of screen. I do not want to change the place until user scroll horizontally by…
Ajay S
  • 48,003
  • 27
  • 91
  • 111
0
votes
1 answer

Intent gallery Image android position and arraylist

I am sending a selected image from image gallery to NextImage.java activity using intent. I want to send the selected position of the image and the arrays of image to next activity. am getting confused with intent. String[]imageUrls= new…
PIONA
  • 79
  • 1
  • 5
  • 12
0
votes
1 answer

Gallery reset on screen rotate

i have a gallery view, with a BaseAdapter, and i download images from internet, download the image, and set to gallery async. There are about 2000 images. When i rotate the screen, the asyntask continues, but the gallery set empty and dont show any…
colymore
  • 11,776
  • 13
  • 48
  • 90
0
votes
4 answers

To see the image in full size

I have written the code for opening the images in Gallery view.I want to see the full size of the image when clicked on perticular image.Now I am able to see all the images but when clicked on perticular Image getting exception. private static final…
user1758835
  • 215
  • 4
  • 17
0
votes
1 answer

Load images into a Gallery after Activity's view is shown

I'm developing an Android 3.1 tablet application. I need to load and show some images which are stored in local disk. Know UI gets freeze while images are loading and are shown on a gallery and I wondering if there another way to show ui, and when…
0
votes
2 answers

How to set background image for Gallery

I want to set the background of my Gallery by an image (say background.jpg ) in Drawable folder. As the prototype of the setBackground() method is void setBackground(Drawable background) Set the background to a given Drawable, or remove the…
Vishal
  • 673
  • 3
  • 12
  • 24
0
votes
1 answer

How to set profile picture app from Android Gallery

I want a simple way where there is an ImageView representing a user profile picture. It is set to a default photo if they have not picked one. I would like them to simply click on it and it opens up the gallery and they can set (and crop) a profile…
TheLettuceMaster
  • 15,594
  • 48
  • 153
  • 259
0
votes
1 answer

How to get Multiple image uri from gallery with intent filter

I want to get multiple image URI using intent filter without implements a whole custom filechooser. To get the URI of a single image I use private void openImage() { try { Intent i = new Intent(Intent.ACTION_GET_CONTENT); …
AndreaF
  • 11,975
  • 27
  • 102
  • 168
0
votes
4 answers

Android stacked image gallery

I'm trying to create a stacked image gallery, this is a gallery on which all the pictures are overlaying each other in a stack(or pile), for example: a card pile, and the user would be able to see and touch just the upper image and to flip/throw it…
Nativ
  • 3,092
  • 6
  • 38
  • 69