- Modify my android to allow user to use only one or two apps?
- 1 Answer 1
- Lock Android Tablet or Smartphone to a Single Application
- How to set up Single Application Mode on Android
- Conclusion
- Android: How to make device run only one app?
- 3 Answers 3
- www.androidpolice.com
- Follow Android Police
- Android 10 allows multiple apps to access your microphone at once
- Android use only one app
Modify my android to allow user to use only one or two apps?
I’m making an Android app that is used as POS in some business. In order to gain attraction the app is given with the phone, an Internet line and the app. I want to restrict phone calls, whatsapp, SMS and so other. I want the phone to boot directly in my app.
I was looking into Cyanogenmod but couldn’t find any information on how to do this.
I mean, isn’t it my hardware?
EDIT I’m open to use other OS.
My device is a Samsung Trend initially.
I’ve read that you can replace an .apk and start your own app instead of the android menu (I know the user can then change the .apk, so still, it seems the better solution, anyway I couldn’t find any information on how to do this)
1 Answer 1
I’m not 100% clear what you’re asking for (you’re giving away an entire phone with your app!?) and you didn’t mention the phone model or Android version you are using, but there are apps out there which allow you to restrict a phone’s ability to run or access certain features. (To find more, just search the Google Play Store for «kiosk».)
Android 4.2 on tablets introduced multiple user accounts, which were expanded in Android 5 Lollipop to phones with «profile accounts», which can be used to restrict access to apps and services. Screen pinning is another feature you can use to lock a particular app to the screen so that it can’t be removed without entering a password.
It is your hardware, and as such you can also take more extreme measures by modifying the Android frameworks directly to restrict functionality, by say, removing the dialer. But if you’re actually giving away phones with your app, there’s always a possibility the new owner will restore the functionality and/or replace the ROM completely.
Источник
Lock Android Tablet or Smartphone to a Single Application
Dec 30, 2020 | 42Gears Team
Applies to : | |
Product | SureLock |
Platform | Android |
People often ask how to run only one app on Android devices, or how to lock Android device to run only one app. Combined with the popularity of Google searches like “Android allow only one app” and “Android tablet lock to one app,” it’s clear that everyone wants a way to easily lock their devices down. The answer is Android Single Application Mode or Single App Mode. As the name suggests, Android Single Application Mode means that only one application runs on the Android device at all times. If someone is currently using a Single Application Mode Android device, that user cannot exit the application, plus the app starts automatically if the device reboots.
How to set up Single Application Mode on Android
The easiest way to set up Single Application Mode Android devices is to use SureLock.
Install SureLock and follow the steps below to enable Single Application Mode and run only one app on Android devices you own:
1. Launch SureLock
2. On SureLock Home Screen, tap 5 times within 3 seconds to launch the password prompt
3. Enter your default password – 0000 (four zeros) and tap OK
4. On Admin Settings screen, tap Allowed Applications
5. On Allowed Applications screen, use Add App option to add your desired application in Single Application Mode
6. Tap Done to go back to Admin Settings
7. On Admin Settings screen, tap SureLock Settings
8. On SureLock Settings screen, tap Single Application Mode and enable Single Application Mode option
Note: Please read the information message before you tap on OK
9. Return back to SureLock Home Screen. Your application will now run in Single Application Mode, also known as Android Single App Mode.
Note: For Single Application Mode to be enabled, only one application can be visible on SureLock’s Home Screen. If you need to run more than one app internally, you can add other apps to the list of allowed applications as well and mark them as hidden. These hidden applications can be launched when accessed via the application visible on SureLock Home Screen when Android Single App Mode is active.
Watch the video – Lock Android to a Single Application using SureLock
To learn on how to exit from Single Application Mode, click here
Conclusion
The next time you see a popular search query like “Android allow only one app,” you will know the best answer: SureLock by 42Gears. If you want to run only one custom app in Android and prevent users from running anything else, you can use SureLock to set up Single Application Mode or Single App Mode on your Android tablets, Android smartphones or Android rugged devices. It’s the easiest answer for anyone who needs to know how to run only one app on Android devices.
Источник
Android: How to make device run only one app?
I have an customer project where I have to make single task android device. Customer isn’t able to escape the application which my company have developed. Also customer isn’t able to start any other application and our application is started when the device is booted. Overall all the customer is able to do with the device is run our application.
Is there any other way to make this work than rooting the device, disabling all system buttons and making our application the launcher. I have something like 400 devices for this purpose so rooting all those would cost lot of time.
I also read Google’s tutorial about COSU devices but found it very confucing https://developer.android.com/work/cosu.html#testing-plan
Androids own screen pinning is not good enough because customer can escape the app. Some may suggest to use some kiosk application like SureLock but my company’s goal is to find clear solution for this without using any third party apps. Also running our app via some kiosk application is not our goal.
I found some posts on the Stack Overflow with similar question, but not the answer I’m looking for.
If someone has some tips for this question I would be very grateful.
3 Answers 3
Single purpose devices built on top of Android can get difficult to implement. There are a few different options, but each have trade-offs.
As you mentioned, rooting devices will functionally get you what you want — however it will be time consuming with hundreds of devices to root, difficult to maintain, and you will (potentially) introduce security issues to your devices and app.
Another option is using Google’s Lock Task Mode for COSU devices[1]. The link there has a nice graphic showing the features of lock task mode:
- 1 app pinned to the home screen
- only apps white-listed by the DPC (device policy controller) can be locked
- Home and Recent buttons hidden
- exit by calling stopLockTask()
There are some downsides to using Google’s solution for this. First Google recommends creating (and therefor maintaining) an entirely separate DPC app to run as a device owner and set policies[2]. You’ll also be dependent on Google Play to manage application updates and be required to have Play accounts associated with each device which «are used to identify a single device that is not tied to a single user for simplified, per-device app distribution rules in COSU-style scenarios»[3]. To automatically get your DPC app on devices your «DPC must be publicly availble on Google Play, and the end user can install the DPC from the device setup wizard by entering the DPC-specific identifier.»[3] You’ll also need to upload the user application to Google Play[4], which may be an issue for some who don’t want their apps on Play. Going this route gives you features you need, but can be complicated and also ties you and your customer pretty tightly with Google/Play services and their workflow.
You can also look at enterprise mobile deployment platforms like Mason[5]. In your case, you can create a custom Android OS in a few minutes with your app locked in kiosk mode (+ other features like disable camera/sms, remove apps and hide settings, etc.) and then deploy it to all of your devices remotely. Mason also supports OS and app updates controlled by you if your requirements change.
DISCLAIMER: I work for Mason
Источник
www.androidpolice.com
Follow Android Police
Android 10 allows multiple apps to access your microphone at once
Android 10 is now available in its final form on a few phones, but some of its more interesting changes flew under the radar. One of those is a change to how audio inputs work, which allows multiple apps to access audio input at once — in some cases, anyway.
Before Android 10, only one app could access an audio input at once; if an app tried to ask permission to an input while it was in use by something else, the app would be blocked. As of Android 10, audio inputs can be shared by multiple apps, but only in some cases. Google lays out the rules in a new documentation page:
- Privileged apps have higher priority than ordinary apps.
- Apps with visible foreground UIs have higher priority than background apps.
- Apps capturing audio from a privacy-sensitive source have higher priority than apps that are not.
- Two ordinary apps can never capture audio at the same time.
- In some situations, a privileged app can share audio input with another app.
- If two background apps of same priority are capturing audio, the last one started has higher priority.
Simply put, the new system is primarily designed to benefit accessibility services and Google Assistant — accessibility apps can listen for input while a regular app is also listening, and the same goes when Assistant is opened. However, two regular apps can’t listen at the same time, one will simply receive silence.
If Google hadn’t started cracking down on apps that use accessibility permissions for non-accessibility reasons, this could have allowed for far more interesting uses, like easier call recording applications. Those apps might still be developed, but they won’t be allowed inside the Play Store.
Источник
Android use only one app
Последнее обновление игры в шапке: 18.08.2021
Краткое описание:
Only One is an arena style sword fighting game.
Описание:
Pick up a magic sword on the ancient pillar of sacrifice and fight to become the ‘Only One’ left standing
Only One is an arena style sword fighting game where you grab a magic sword declaring yourself the ‘Only One’ and then proceed to push and destroy waves of enemies off a sacrificial pillar in the sky
Defeat your enemies in gruelling combat or take the easy way out and push them off the pillar to their deaths down below
Gain powers and strength with a wide variety of abilities and upgrades. Fight over 70 waves and 7 bosses to ultimately become the only one left standing!
☆☆Android Gamepad Controller Support☆☆
★ Awesome retro pixel art graphics and music
★ Physics based sword combat with parry and shield mechanics
★ Upgrade your character over time with better stats and really cool abilities like push, freeze, bubble, whirlwind and dart
★70 levels of soldiers, slimes, archers, wizards, loot gnomes, berserkers and mini bosses
★ Push your opponents off the pillar for easy kills and more points or strike them where they stand to get their loot
★ Ladder based levelling with checkpoints every 10 levels, score resets each time you die
Источник