I use Galaxy Nexus and it hasn't any button. But others have some special buttons. For example home,menu,back and search. I am developing an android app and for example I want to use menu button. How can I do this ? How can I add one or more keys on bottom line ?
For example Whatsapp using this. I start whatsapp and I see 4 button, back, home, apps and consecutive three-point. If I click this three-point button , new tab opened and there are few options here.
I want to use this logic how can I do this ?
Note: I don't know how can I pronounced these buttons name.
Please, check this from the documentation in order to get Menu into your app
http://developer.android.com/guide/topics/ui/menus.html
It's quite simple, just override few methods...
you're developing a web application?
if you're, you can using jquery mobile which already provides the keys/buttons for you. otherwise you have to create the button on the app. CMIIW
Related
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! :)
I'm making a toddler game and trying to prevent them from accessing the rest of the phone from within the app. I know you can overload the back key on the menu but how about the other 2 keys? I just want to add a confirmation screen that only adults can deal with so toddlers wont be able to mess with the phone and get out of the app.
Hi you should use the "kiosk mode" features present on Android sdk. Take a look here.
I'm using a Chrome Custom Tab on my app and I'd like to be able to disable a few buttons that pop up automatically when I launch it to open a Google drive file, namely the button for bookmarking the page and the button for downloading it. I've searched throughout the web with no luck whatsoever.
Below is the image highlighting which buttons exactly I seek to hide in my custom tab. Anyone knows how to achieve this?! Thank you so much in advance.
There is a "hidden" API that lets you hide these buttons: add an extra with the key org.chromium.chrome.browser.customtabs.EXTRA_DISABLE_STAR_BUTTON and the value true to the Intent before launching it to disable the bookmark button, and one with the key org.chromium.chrome.browser.customtabs.EXTRA_DISABLE_DOWNLOAD_BUTTON to disable the download button.
Note that this doesn't fully disable the functionality: It's still possible to reparent the custom tab to Chrome and add a bookmark or download the page there.
Also note that this is not a public API, so it might disappear in future versions of Chrome.
I want to guide user to using particular section of app in a transparent screen with a "GOT IT!" button to confirm that they saw this tip. Like the one, app like Zapya uses to guide user to choose between "create group" and "join" button.
Check out the following thread for some ideas:
How to create a guided tour for an android application
I think that the ShowcaseView library fits your purposes quite well.
Here, I just want to know that how to add buttons in the top of keypad of android devices. They should not be custom. I just want to use this functionality of android like iPhone does. I want to open and close keypad then I want also close or open next,previous and done button
I've searched it alot on this site but I haven't get a possible solution yet.
I wish I will get now.
Thanks in advance.