Adding an Album to the Android Photo Gallery (in code) - android

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!

Related

Select multiple images from device's gallery in Hybrid application

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.

Show gallery separated by folders

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.

Add online album to Android Gallery App

I have a large amount of online images stored on my server. I have created a small java server backend to provide album lists and images per album, including a small management console.
I want to use/view these images on my Android device, by using the standard photo/gallery application. Apps like Google Picasa and Facebook do the same thing.
Eg. When I open up the gallery app, there's a tab called "Albums" where a number of folders are visible, including Picasa/Facebook. Most of these folders can be found on my SD card, but the albums by Picasa/Facebook are only online. Entering these online albums clearly shows the "album structure" you have with that provider ("Profile Pictures" at Facebook for instance).
The question:
How did Picasa/Facebook end up there, and how can I recreate said functionality?
I am almost certain it is done using Content Providers, but I can't even find a simple example when used for images. And unfortunatly, most answers here are providing solutions to the wrong problem.
The secondary question: Would this also be possible with Android's Movie and Music players?

Android : file in and out usb/sdcard

Can someone please point me in the right direction. I have been googling for ages and I'm not getting great results.
I want my app to allow the user to download a file from the USB/SDcard. Specifically an image, which then later gets used in my app.
I can't seem to find anything, been searching for open file dialogs and nothing..
So:
1) User inserts USB device/SDCard.
2) User gets file browser dialog.
3) User finds image from USB/SDCard
4) App grabs image and stores it for later use.
Thanks :)
I think what you are looking for is how to work with external storage in Android. there is a very good tutorial from android site: http://developer.android.com/guide/topics/data/data-storage.html#filesExternal. hope this helps.
To browse for images on the SDCard this thread is very helpful:
How to pick an image from gallery (SD Card) for my app?
I would suggest using the Android Gallery interface for images as it is much easier for the user than browsing files.

Use the Android gallery to display Media RSS

I know that the native Gallery application of Android can display pictures stored from a Picasa Web account. I have searched the SDK but could not figure out if there is a way to make media rss available in the native gallery applications (and ideally would work with any gallery application).
I thought of creating a ContentProvider, to make these available but the gallery seems to only display what is added through the MediaStore.
If you have any idea, let me know.
Thank you very much.
Unfortunately it is not possible to add Media RSS in the native gallery without modifying its source code. No API allows that.

Categories

Resources