Hi everyone,
I am having the following problem here.
I have got an android device with an selfcoded applicationloader.
(Kiosk mode, Appcenter….)
How can I deny an users access to an application loaded, for instance, because of a systemevent?
Short example:
I have a galaxy tab here.
If I am inside my applicationloader and longpress the home button, the "shortly executet" menu appears and inside that menu there is a button to switch to the taskmanager.
With the taskmanager usable the user could simple kill/uninstall my applicationloader and do whatever he / she wants with the device.
Related
i search forthis long time so let me know if there are some application that allows what i want. I know it can be only for root users.
I have an idea to application that allow user change function hardware keys.My idea is change search button to bring up app switcher.Be couse i really never used that button. I know many situation when we hold "HOME" to bring it up but it take me back to home+show preview screens +bring up app switcher (i know previews can be turned off by launcher but i want previews, they are cool).You dont need hold anything.It will be much faster switching betwean applications.
So you push menu to back to menu or bring up previews
and push search button to bring application switcher.
it is good idea?
sorry for bad english.
I was ready to start a thread with a similar recquest, so I do it here.
I've using a lot an application on my previous wm devices, called AE Button plus (http://ae.inc.ru/aebplus.php).
With this you could map any of hardware buttons of the device. And you could assign 4 actions to any button(click, doulbe click, triple click and click&hold) and it had many of system functions(reboot, bluetooth, wifi, gps on/off....).
On android I haven't seen any similar app(except button shortcut, which is very limited)
Is possible to have such an app on android? I hope that a developer start a project for a similar program. I found this app very useful.
I hope I'm not being a noob over this.
Having used Android (phone) for ~2 years (installing custom roms, etc etc), i thought I was up to speed on the ways of Android, however I'm stumped over one aspect of my newly purchased Nexus 7 32Gb + 3G.
When I open some older apps (probably those not "optimised for Android 4.2.1 at the time of writing) like Twitter Version 3.5.0 - I do not see anywhere to click/press and access the features i normally found under the "menu button" (which typically allows access to "settings" / "accounts"). My current phone (android 4.1.2, custom ROM) has hardware keys so maybe there's a gesture/config that has passed me by. Anyway I can see in other apps like Google Currents I have three rotated ellipses (top right of screen) that gains access to "menu" (and application settings). Another app, FaceBook, adds a soft key to the bottom left of the screen (again rotated elipses), aloong side the other soft keys. So my question is - is Twitter just a badly designed app (and i should seek another), or is there some technique to gain access to the (config) functions I have normally found underneath the menu button.
Like i said, apologies for being a noob...have googled/searched forums with little/no result...any/all advice welcomed.
Thanks.
Try another Twitter app just to make sure, but what happens if you hold down Recents (button to right of Home)? I know that on my gf's HTC One V (which has hardware keys as well, Android 4.0.3), to get the Menu options to pop up with certain apps she has to hold the Recents key, and Menu items pop up. It's a stab in the dark, worth a shot...
Touch the 'Me' icon on the top edge. Touch the 'gear wheel' on the left edge in the middle. Choose 'Settings'.
thanks for the responses the Me / gear wheel solution worked...!! buried deep!
Hi,
I am developing an application for a specific tablet which have two physical buttons, the home button and the back button and have a simple launcher which launch a web browser. My launcher has system permissions, but I couldn't change or modify the android Rom , I am not root, and I can't be. Do you know if there is a way to prevent the home button to be pressed or to catch the event. I tried to overdrive onKeyPressed, it worked for the back button, but not for the home button.
If you have any idea, I am listening.
Thanks for your help.
How are you going to change system app without root?
Anyways, there is no documented method for it. There was a hack during GB times but it was fixed in higher versions so its useless now.
What you can do is make your own instamce of a launcher and catch the home button action to do whatever you want after that. You won't be able to do it without setting up your own launcher.
This is not a phone or a usual tablet, the tablet is created just for our usage, but the manufacturer don't want to produce tablet with root because we will sell those tablet for the public. I created my own launcher, this launch install my main application if it's not installed or launched it if it's present on the device. When I am in my main application for example browsing the web or playing a video, we don't want customers to be able to quit it or finishing it by clicking on the home button
ghostwan said:
This is not a phone or a usual tablet, the tablet is created just for our usage, but the manufacturer don't want to produce tablet with root because we will sell those tablet for the public. I created my own launcher, this launch install my main application if it's not installed or launched it if it's present on the device. When I am in my main application for example browsing the web or playing a video, we don't want customers to be able to quit it or finishing it by clicking on the home button
Click to expand...
Click to collapse
If you want the customers to be able to access only a single app, you can do something as simple as just setting it up as the home screen. Put this in your intent filter in your manifest.
Code:
<category android:name="android.intent.category.HOME"/>
This will always bring up the main activity of your app whenever the home button is pressed.
While transitioning some old Apps (FuelLog Pro) from my other Android phones onto my S6 Edge, I discovered that some of the apps needed to use a 'menu' key to backup/export. Obviously no way to add a menu softkey without root, SO I figured out how to do it from ADB.
Once you connect your phone to ADB enter the following command for the 'menu' softkey:
Code:
adb shell input keyevent 82
The 'keyevent' relates to various keymappings, annoyingly, the keymappings for the Samsung are a little different from standard Android, which is why I'm making a record of it here.
So far it looks like HOME, BACK, CALL, and Volume follow standard keymappings. I'll update this list if I spend more time digging and find other differences.
You can find the complete list here:
http://developer.android.com/reference/android/view/KeyEvent.html
This is super useful for running batch commands on Apps from the computer as well.
Use wisely.
Thanks, can we replace the long press on the recent apps button from dual windows to menu key?
I really don't understand where the problem is with just pressing the menu overlay button?
For old Apps without the new Material UI I always get a round overlay button which is acting as a Menu button.
The new one don't have these as they integrate this button themself.
I have not found any app yet where I'm not able to open the menu.
There is no way (as far as I know) but also no need to replace the long press with the menu button.
Menu button is not needed anymore.
I have several apps that don't have the round overlay Menu button (including the aforementioned app, FuellogPro). Mostly it is apps that were written about 2 years ago that got stuck between KitKat and JB. I have quite a few paid apps, so I keep using them (and modifying them) even after support has ended.
You can only reassign the button to 'menu' if you have root.
Hi,
I was hoping that with Android Lolipop that I installed two days ago on my S4, it would have the same behaviour as the S5 when you press the menu or home button. Since I use the taskmanager (application icons) very frequently, I was hoping that it would not require long-pressing the menu button anymore, but I was wrong.
I think this must be a Touchwiz-setting, so how can I alter the default behaviour to quickly access the taskmanager, for example like it is default on the Galaxy S4, as well as on the Google nexus devices (which use the square button for that on the homescreen).
Thanks alot.
You can do that with various custom roms.
Depends on how you want it. For instance, pretty much all CM12 based roms have the ability to set each key behavior. I have my menu key set to show recent apps when long-pressing it.
Most roms also have the ability to set on-screen buttons.