Add Android App in "select an action" menu - android

I´m looking a way to add my app in select an action menu that appears when one user wants to add one picture in another app (i.e chats apps).
So, when the user selects that option, android lists the apps like camera, gallery, and others.
Well, i want to appear in that menu. i know it is possible (intents, intents filters ?), but I couldn`t get the answer :(.
thanks, and sorry for my baad-bad english :$

Adding yourself to the menu can be done as outlined in this question. Actually providing a response can be done as seen here.

Related

Display a YouTube like app menu when the user has long clicked on the app logo

I am working on an Android app and want to display a menu with some data about the app on a similar menu when you do a long click on the app logo in the main menu of the phone, like the one the YouTube app has, or other Android apps when pressed down.
I am working on Android Studio, and I've searched different sites for info on how to get to the menu, by default the android apps show a menu when long clicked, in which you can choose whether you want to delete the app or something else. I want to know how to access that menu.
At least I want to know the name of the menu so I can do more research, but if anyone knows how to interact with it, it would be great.
This blog explains it nicely
https://medium.com/#andreworobator/implementing-android-app-shortcuts-74feb524959b
Also FYI, With Q Android is doing some changes in shortcuts api. Do check that as well.
they're called Android App Shortcuts, this could help you answer your question How to create shortcut within app in Android?
Good luck! :)

How to show your cordova/ionic app in this share menu of ios?

Sorry for maybe subjective question, but I really don't know what to google for.
So.. I want to put my ionic application here in this menu:
To be able to send files from any other app to my app, and to accept them.
I have found that for Android there is some cordova-plugin-intent plugin. In description it says how to put it in iOS open-in menu, which I succeeded... But its never listed here. Its in submenu of second row greyed icons, called open-in.

Allow user to copy an image

I'm writing an app that generates an image, which I'd like to allow the user to copy so they can share it with other people.
Unfortunately, there's no copy/cut/share menu appearing when I do a long click on the image. I thought the OS would naturally do this, as it comes up in many different apps. Am I supposed to write some code before it will do this, or is there something in the layout that needs to be changed?
I've tried to google this, but the search results are taken up by various clipboard manager apps.
The OS doesn't naturally do that. You need to implement a OnLongClickListener on the ImageView, and implement a floating context menu.
But if you want the user to be able to share things, I would suggest the ShareActionProvider instead.

what are best practices for showing help information

I would like to put fairly extensive help information within my app - both "how to use" and explanation of what one is seeing.
The app (map oriented) has a row of buttons at the bottom, and I was considering adding a help button.
Context sensitive help is mostly not appropriate, btw.
What are common and best practices for this?
Thanks
I wouldn't suggest using a help button, once the user knows how to use your app it will be useless, and will only takes some space.
What I do (but it's maybe not the best practice) is to show a popup on the first use. Within the popup I put some basic help and a link to my website which fully explains how my app works (with some screenshots to make it user-friendly). I also put a "Help" button in the activity menu which redirects to my website again.
What I can suggest is to explore by yourself how other android apps shows the help information, and reuse or adapt the one you prefer (this is what I've done).
I have put help into a menu item as I expect new users to click the menu button anyway (my app, Zwitscher also has a button bar at the bottom).
Clicking the menu item then starts an Activity that simply shows a table view that explains the various buttons in the system and contains a link to more information online.
See https://github.com/pilhuhn/ZwitscherA/blob/master/src/de/bsd/zwitscher/HelpActivity.java and
https://github.com/pilhuhn/ZwitscherA/blob/master/res/layout/help.xml
Another option I've seen sometimes is including a help option in the preferences/configuration screen.
Usually it starts a new activity with a sequence of steps to make the user understand everything.

share feature of menu in android application

i asked so many question regarding my title but i could not get my proper answer till yet.I need to implement androd's menu feature in my application ie when we goes to gallery in android phone, when we press menu than it comes with lots of option like share...etc.My question is can i implement same menu feature in my application? It is possible or not?
Thanks
To implement a "Share" feature, all you need to do is use createChooser() and an ACTION_SEND Intent.
Here is a blog post covering the technique.
If I am understanding your question you want to know if you can duplicate the feature of tapping on the menu button on the phone and having it pull up an options menu that you can then share via, gmail or some other posting medium?
If this is correct then I would have to say I would assume that you could duplicate this feature.
In short YES!
If you are wondering how you are to do this then I would start at here http://developer.android.com/guide/topics/ui/menus.html
Droidnova .com (I posted it like this because as a new user I can only post one link) also has a good little how to on menu's.
I would also like to add that this is my first time posting on stackoverflow so please let me know if this was a good post or what I should do next time.
Thanks,
Bactos

Categories

Resources