How to implement SD Card Gallery into our application directly?
I know it is possible in iphone . We can implement and access photos of sdcard directly without any customization in iphone.
I want to implement the same interface of Gallery into android app.
Please let me know...
Thank you.
Here is a link to get you started.
http://developer.android.com/resources/tutorials/views/hello-gallery.html
and this one will give you a rough idea too. Of course, you will have to improvise later to make it function just the way you want it to.
Android How to preview an image, using its file path from SDcard, from my application
Related
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'm developing an application that requires the functionality allowing the user to browse through the Sd card and select an image of his choice as the background for the application.
This image is assumed to be in the sd card. But the name and location(specific) folder is unknown.
I got the code of getting an image to my background. This is the code but here the filename is known in advance. I want the user to select the file he needs.
I also referred to this code but couldn't link the two of them. Can someone provide me with a solution? Thanks in advance..
Before starting the MainActivity, use an another activity in which in onCreate call the ImagePicker Code. After selecting an image, after coming back to onActivityResult, call the mainActivity and pass the Image path with Intents. Then use the as usual code that you have to set it as back ground.
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.
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.
I need to add gallery to my android app. I used gallery in standard way, when pictures are in my folder, but now I need to show pictures when I have just pictures URLs(pictures are on some distant server). How can I achieve that ?
Is the server yours?
You might need to make an API to get the images from the server served to you.