I want to acess gallery of an android device to get an photo, but I want that it shows the photos separeted by its folders.
I got a lot of examples, but all of them show the items in the same place.
A similar way that WhatsApp works when we want to pick a photo send.
Thanks in advance.
Related
I am developing an application for Android I want the button in the .html file to show the device's native gallery (in my case is android) which user can select multiple images and present it's thumbnails in the html page.
I already watch the video in This Website and I still get confusing.
Thank you for all suggestion and solutions.
Ps. I found the solution of select multiple images Here but I am not sure how to use it. ;(
Unfortunately, this is not possible with the current Gallery application of Android.
Within the Gallery application, you can select multiple photos and you can share them using SEND_MULTIPLE Intent. But that is different.
When you select photo from your application, that is called PICKER. And PICKER Intent does not support multiple selection.
I have been thinking about developing my own custom Viber sticker but I can't get to any good source to give me some information about this.
Does anyone know how to do this? Or is it possible at all? If yes, please let me know what do I need to do so.
Thanks.
When you send/recieve a sticker, it doesnt really send it, just opens the image from the local store from your phone.
What I did on my Android is download a stickers set that I dont like.
Connect the phone to the computer and open the vyber folder, and search for the folder containing the set I downloaded.
Then I uploaded my custom stickers to this folder using the same names to overwrite the files.
Since vyber doesnt send the stickers, when you send the custom sticker people dont see your stikers, they see the original files on their phones. So I repeat the process on the phones of my boyfriend and my sister.
I can only use the stickers with them, but it is better than nothing.
Also you can just have a folder in your gallery and send them as image files is not the same, but it works.
I am trying to open an image/picture in the Gallery built-in app from inside my application as described in here.
My "picker" activity works fine as long as the image is stored in the device, but the gallery app also displays images from Picassa, which returns a null path.
Does anyone knows how to fix this, either by getting the path or tell the "picker" intent to ignore Picassa as a provider, and only show me what is on my device?
Thanks.
I had this same problem here
What I did was just check the returning Uri to see if the selected image was a picassa image. probably not the best option but it works since there is no way to tell the image picker what images to show
The device is Samsung Galaxy III. I developed an APP to run the camera activity and capture an image. After analyzing the image, I print out some text information. Right now every captured image is saved at gallery. I don't need the image to be saved in gallery or SD card. I think either of the following two solutions will work for me, but I don't know how to program it:
avoid saving pictures to gallery.
delete the picture somewhere in the APP.
Any comments are appreciated.
Read Android Camera tutorial.
...
Storage - Are the images or videos your application generates intended to be only visible to your application or shared so that other applications such as Gallery or other media and social apps can use them? Do you want the pictures and videos to be available even if your application is uninstalled? Check out the Saving Media Files section to see how to implement these options.
or see this one: How to save image captured with camera in specific folder.
In the Camera intent when starting, add this:
intent.putExtra(MediaStore.EXTRA_OUTPUT,Uri.fromFile(getTempFile(context)));
I solved my problem with following two steps:
as '#auselen' pointed, save all the images to a specific folder. How to save image captured with camera in specific folder.
delete all the images in that folder somewhere in the APP. How to Delete Image From SDCard in Android
use this for delete a pic
ImgPhoto1.setImageBitmap(null);
I would like to be able to create an Android app that adds additional photo albums to the default android photo gallery. The content of these albums would be remote, similar to how the Picasa albums are handled. I have looked into the media scanner and it seems to not handle remote content and I have not been able to find any reference for the gallery itself or any other means of providing additional photo albums.
I have done some searching on the android developers site, here and general Googling and have come up short... does anyone have any suggestions about how this can be accomplished?
Thanks in advance.
If you are talking about the android stock gallery, this is what ive found out:
The android albums are not actually albums, but folders.
You justo need to create a folder with the name you want the album to show and there must be at least one picture in it.
Hope it helps!