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
1 answer

how to remove the android system gallery thumbnails

Here is my code: File storageFile = new File("/mnt/extSdCard/DCIM/Camera/IMG_123456789.jpg"); if(storageFile.exists()) { //copy the file to another folder MyCopyFoo(storageFile); if(storageFile.delete()) { Log.d("Debug",…
franzhong
  • 15
  • 3
0
votes
2 answers

StringIndexOutOfBoundsException happen when i pass images path to other activity

I have implemented a custom gallery that give to the user the possibility to choose many images in real time, and pass them to a new activity where the ImageViews are created pragmatically for each image passed. The user can add many times the…
Hieicker
  • 595
  • 1
  • 11
  • 29
0
votes
1 answer

Android: slow gallery view

I 'm having a problem with my gallery, it's to slow and it lags. I 'm loading images from server with Image Adapter: package com.example.ocenitaksi; import java.io.IOException; import java.io.InputStream; import…
Aleksa
  • 225
  • 1
  • 4
  • 8
0
votes
1 answer

Replacement for Gallery-Widget to enable Horizontal scrolling

Is there an alternative to the deprecated gallery-widget that has the same/similar abilities? I would like to have a single "row" of images + title-textviews where the user can scroll through horizontally. I tried to do that with a GridView, but it…
f4bzen
  • 301
  • 2
  • 6
  • 17
0
votes
2 answers

How to downsize a photo that selected from gallery

I must save image to the sqlite db.It is working.For example I can save the photo which is come from camera. But when I select a photo from photo gallery (700kb or more than) it is not saving into the DB.So I thought that I can make small this big…
emreturka
  • 846
  • 3
  • 18
  • 44
0
votes
1 answer

Android Gallery App Force Close issue for Micromax funbook P300 tab

I am Developing an android application, where in i am trying to access the android built-in Gallery app. I am using the below code for it. public void initialize() { images.clear(); final String[] columns = {…
sanjana
  • 641
  • 2
  • 15
  • 36
0
votes
1 answer

How to swipe images up or down using the Gallery widget

I have a project for which I have to display some images. Even if the Gallery widget is deprecated, it seems to be the best choice, since I have not so much time to spend on it. I would like to mimic Android's photo gallery and deleting an image…
0
votes
1 answer

Gallery having images of a particular url folder

I'm working on a gallery having images of a particular url folder Android I found a code that works but when i add this code in my project the activity crashes Here is the Java Code : package com.dvp.android.gallery; import…
0
votes
2 answers

Runtime error when i browse image from gallery(SD card)

now i'm push a file onto the device already it's doesn't error about method findPath becuz when i Log.i("imagePath", imagePath); it's return Path image when i selected that image and i think it's error about (text.setText(msg); AND …
Thank u stack
  • 51
  • 2
  • 9
0
votes
2 answers

Get thumbnail of the image selected from Gallery

I tried this code snippet : if (resultCode == RESULT_OK) { if (requestCode == REQUEST_CAMERA) { photoUri = capturedImagePath(); Log.d("path to captured image", capturedImagePath().toString()); Bitmap…
0
votes
4 answers

Open pictures from a folder in gallery

I want to open all the pictures from a specific folder using the Android Gallery. I found a solution in an old question but it didn't work. The code is: public class MainActivity extends Activity implements MediaScannerConnectionClient { public…
Goblinch
  • 517
  • 3
  • 9
  • 21
0
votes
2 answers

Can't see pictures saved in a specific folder

My app uses the phone camera to take pictures and save them in a specific folder. I can't see them with Android Gallery or plugging into my pc, but I can using a file manager app. I found a solution to this: I rename pictures with a file manager app…
0
votes
0 answers

Implementing android's default Gallery like view

In Gallery app, first it shows all Albums in Thumbnail. On click of each Albums it shows all images in GridView. Then on click of GridView images it opens full screen. What I have done: Initially, I'm loading images(http images) in…
DroidLearner
  • 2,115
  • 5
  • 31
  • 50
0
votes
1 answer

Delete folder from gallery but images are still there

Hello I am attempting to delete an entire folder from the gallery using this code public void delete(View view) { deleteDirectory(new File(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES), "Dir")); …
Will Jamieson
  • 918
  • 1
  • 16
  • 32
0
votes
4 answers

How to handle memory in galleryview in android?

In my application i have two gallery views. whenever in my gallery images increases I am getting outofmemory exception.How i can handle the memory.please can any one help me? Thanking in Advance.