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

how to use queryIntentActivityOptions() method

Am trying to create a dialog that shows all applications in a user phone that can be used to select a picture from the storage or take one using the camera. below are my two intents that am planning to use. Intent photoPickerIntent = new…
-1
votes
2 answers

Image Upload In SQLite Database Android

I have google about how to insert. But cant get any proper answer. I have to insert image from gallery to sqlite database. i have tried .but cant perform image insertion. public class MainActivity extends AppCompatActivity implements…
Nik Patel
  • 627
  • 7
  • 21
-1
votes
3 answers

View both Images and Videos in Device Gallery

I have the following requirement: From the mobile application , I want to open the default gallery of the Android tablet / device , which will contain both the image and video files and select them. Is there any option to view both image and video…
chiranjib
  • 5,288
  • 8
  • 53
  • 82
-1
votes
1 answer

OutOfMemory error while loading GalleryView

I have created a Gallery like this: MainActivity: public class MainActivity extends Activity { Gallery gallery; ImageView imageView; @Override protected void onCreate(Bundle savedInstanceState) { …
Gabrio
  • 388
  • 1
  • 4
  • 17
-1
votes
1 answer

Open image set in ImageView into the Gallery on clicking on image

I have set an image in ImageView and have its uri and path. Now I want when I click on that image in ImageView, It should pop up or get displayed in orignl size in gallery. Every code available is for picking up image from gallery, but I want to…
Harish Vats
  • 662
  • 6
  • 21
-1
votes
1 answer

Show photo in listview using path

I am trying to show all my pictures in a listview. I have an sqlite db where i save the image's path and now i wanted to know how can i show the image. I already know how to convert the path in a bitmap but i really have no ideia how to put it in…
-1
votes
2 answers

onActivityResult Implementation Does Not Function As Expected

I'm attempting to use onActivityResult in order to launch the Android Gallery in order to display either photos - or videos depending on the ImageButton selected. The problem is when attempting to open a photo it's attempting to launch the video…
-1
votes
2 answers

How can i select a checkbox when i click on an image in the custom gallery?

I have implemented a custom gallery follow this tutorial: http://vikaskanani.wordpress.com/2011/07/20/android-custom-image-gallery-with-checkbox-in-grid-to-select-multiple/ . It works correctly, but i want to modify a little it. For example, when i…
Hieicker
  • 595
  • 1
  • 11
  • 29
-1
votes
2 answers

Exception while Loading Image from gallery

I am developing a Finger painting application. I have following code for loading an image from gallery (to paint over it). The code is working fine in my smartphone (android 4.2.2 - API 17). but when i run it on lower versions (2.3.3 etc), It just…
VipulKumar
  • 2,385
  • 1
  • 22
  • 28
-1
votes
1 answer

Creating a custom gallery

I want to create a custom gallery in which the center most view in the gallery is showing a zoom out animation. So when I scroll my gallery, the items coming to the center will get zoomed. So what I need to know is : How can I find the center item…
Eldhose M Babu
  • 14,382
  • 8
  • 39
  • 44
-1
votes
2 answers

How to delete all pictures taken by my app in the Android gallery?

I am looking for a clean and simple way to delete all the pictures that my app put in the public gallery. I tried this, but it does not work, while it goes in the right directory : File dir = …
cleroo
  • 1,145
  • 2
  • 11
  • 17
-1
votes
1 answer

Weird gallery + broadcast receiver behavior

OK, so I have a broadcast receiver get called and in the onReceive() method I update a gallery with a new adapter using static data, all done on the UI thread. However, nothing changes. The old data is left in the gallery, but when I debug my code…
L7ColWinters
  • 1,342
  • 1
  • 14
  • 31
-2
votes
1 answer

How to select a file from the gallery?

I want to select a picture/movie file via Android gallery. I followed a similar question in SO: Get/pick an image from Android's built-in Gallery app programmatically and this solves the problem somehow. The question is, in this code, the returned…
Omid1989
  • 419
  • 3
  • 8
  • 17
-2
votes
2 answers

Select 1 image from gallery and display on multiple ImageViews

ImageView imageView = (ImageView) findViewById(R.id.Gallery); imageView.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { Intent galleryIntent = new Intent(Intent.ACTION_PICK, …
-2
votes
1 answer

How can I group images with dates like gallery

I m making a gallery app, where I want to group images with dates and also want to show a date above group of images that belong to that date. Like Google photos app Any suggestions ????
1 2 3
78
79