Gallery strip like in telegram - android

I would like to make image sharing easier by implementing what Telegram does to send a picture:
That is, a gallery strip with the latest pictures.
But until now I've only worked with external intents to launch the native gallery.
How can I implement this? Do I have to manually search the phone for pictures? I assume I require strong permissions for this?

Related

Android can not share image without saving it?

OK, just found another difference between iOS and Android (strange one, I think)
According to Android Share Intent for a Bitmap - is it possible not to save it prior sharing?
I can't share an image without saving it
In my case, I want to share a screenshot (byte array) to other apps (Facebook, Instagram, Mail, etc), but I have to save it first, no matter in internal or external storage
It's totally doable on iOS using UIActivityViewController with NSArray as input, but I can't do it with Intent and ACTION_SEND to share a byte array
Did I miss something or it's just undoable currently?
Any ideas would be appreciated

Displaying pictures in Gallery without showing other Gallery functions

I want to display pictures in the Gallery but without giving the user the capability to manipulate/send them or change the settings of the Gallery application.
Currently I am using the following code:
Intent intent = new Intent(Intent.ACTION_VIEW,android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);
startActivity(intent);
When I am using ACTION_PICK, the Gallery is opened in "clean" mode without all those functions (manipulate image, send image, change settings, etc) and this is what I am looking for but with ACTION_VIEW intent.
There are hundreds, if not thousands, of "gallery" apps, both pre-installed on Android devices and downloaded from places like the Play Store.
There are no options on ACTION_VIEW to allow you to request "manipulate/send them or change the settings". And there is no requirement that every gallery application honor such a request, even if there were a way to express it.
ACTION_VIEW, and similar implicit Intents, are for linking to third-party apps, where those third-party apps can do what they want. In that respect, it is like linking to a Web site -- you cannot control, from your site, what another site shows the user.
If you need absolute control over the UX here, write your own image viewer.

Is it possible to create custom Viber stickers?

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.

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.

How to implement SD Card Gallery without customization in android?

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

Categories

Resources