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

Android MediaScanner: Remove image file(s) from gallery

I am developing an app which hides image files in stock gallery app. For the same, I am creating a .nomedia file and asking MediaScanner to update. This technique works for a case where I have to show the hidden files, i.e. delete .nomedia file and…
13
votes
3 answers

How to create application specific folder in android gallery?

I'm building android application "XYZ" in which users will be storing media such as images and videos. Therefore, I would like to create a folder in android gallery named "XYZ" and store all the media specific to the application in "XYZ". How do I…
Harshal Kshatriya
  • 5,630
  • 11
  • 44
  • 60
13
votes
3 answers

How can I find out the camera images folder of an Android phone?

I am developing a camera app for Android. One requirement is to save the photos taken to the device's default camera photo folder i.e. the folder in which Android's native camera stores it. How can I figure out where the native camera is storing…
OC2PS
  • 1,037
  • 3
  • 19
  • 34
13
votes
3 answers

coverflow android :how to get images from a url in the coverflow

hi I m currently testing the android coverflow i tried to get images from the url and display it in the coverflow i have successfully downloaded the images but cant put in the bitmap. here is code which i tried... package…
ashish.n
  • 1,234
  • 14
  • 30
12
votes
6 answers

Android Gallery View Scrolling problem when onClickListener for items given

I have used gallery in my app. In that i have two images in each gallery item like this Each rabbit and mouse image is combined as a single gallery item. So I give onclickListener for both images but if I give like that I can't scroll by touching…
Ganapathy C
  • 5,989
  • 5
  • 42
  • 75
12
votes
5 answers

Upload from camera and gallery is not working properly in all the versions

I am trying number of tutorials and sample codes for take an image from gallery or camera then crop the image and upload it to server. I was implemented the code for that in that code am facing few problems the are. In pre Lollipop devices when I…
12
votes
3 answers

How to write exif data to image in Android?

I'm trying to write a User_Comment and TAG_GPS to a captured image in an Android application using the exif interface, but for some reason the tags don't seem to be appended to the image when I view the image's details in the gallery. It seems that…
Brian Var
  • 6,029
  • 25
  • 114
  • 212
11
votes
2 answers

Android: What does this warning message refer to? - (WebCore)

I have a Gallery which contains WebView's as its children, when I scroll the Gallery I am getting the following warning, '04-07 19:35:37.409: WARN/webcore(664): Can't get the viewWidth after the first layout 04-07 19:35:37.470: WARN/webcore(664):…
AjOnFire
  • 2,868
  • 3
  • 25
  • 39
11
votes
0 answers

Video trimming using "com.android.camera.action.TRIM" (Gallery2 package)

I need to implement trimming operation over a Video.I am using this code, its works perfectly on Gallery2 package installed phones. but its does not return onActivityResult(the intent will not return any results if the triiming was…
Shijil
  • 2,226
  • 18
  • 33
11
votes
1 answer

onActivityResult() not getting executed in DialogFragment

I have been looking in thousand posts for this, but I do not find how to solve my problem. I have an ImageView. When the user clicks on this ImageView, a DialogFragment is displayed, and the user can choose between taking a new picture with the…
10
votes
3 answers

select multiple images in Android Gallery

i m working with one application that have one functionality to select multiple images from android inbuilt Gallery/Camera . Gallery is open successfully using below code. Intent intent = new…
Hitarth
  • 1,950
  • 3
  • 27
  • 52
10
votes
5 answers

Image from Gallery in Android 6(Marshmallow)

In My Application I am trying to Pick image from galley, so as to pass that image to server. Code is working fine on Android 5 and below, but for Android 6 on Nexus 5 I am not able to get image information. Log trace which I got Note: Code is…
Harsh
  • 282
  • 1
  • 3
  • 11
10
votes
2 answers

maximum image selection limit from gallery Android

I am trying to get image's Uri in the Gallery built-in app from inside my application. so, I was using the Intent below, but it selected many more image. i want to set limitation. less than 3 @Override public void onClick(View v) { Intent intent…
bubu uwu
  • 463
  • 2
  • 12
  • 26
10
votes
1 answer

[Android - Kitkat ]Get/pick an image from Android's built-in Gallery app programmatically

Try to pick only one particular image from the SD card.I am able to pick images from gallery and Photos app in kikat.But not getting file path when i pick image from recents am getting file path as null. I tried…
Meher
  • 2,545
  • 3
  • 26
  • 53
9
votes
2 answers

Gallery onItemClick and onTouchEvent don't work together since android version 3.0

I have a Gallery, which has an OnItemSelectedListener and an OnItemClickListener. So I can move between the pictures, and if i click on one, something else happens (depends on which i had clicked). It worked fine before version 3.0, but from there…
1 2
3
78 79