How to have only one app on an android device? [duplicate] - android

This question already has answers here:
Kiosk mode in Android
(11 answers)
Closed 7 years ago.
Is there a way to hide all apps installed on the device and make only one app available to the user? In a way that the app automatically starts as soon as the screen is unlocked?
What I basically want to do is to have a device that's dedicated to the use of a single app. Can this somehow be accomplished? What options are available?
Since this app won't be distributed through google play or any other official channel, any even undocumented hacks would be an option. Any advise is welcome.

The only way that I think this can be implemented is by creating an custom launcher and include your app inside that launcher.

Related

Detect which applications have been opened [duplicate]

This question already has answers here:
Android, Detect when other apps are launched
(8 answers)
Closed 6 years ago.
I have such a problem, it is necessary if you run any application to output Toast with the text "some application to run," and when closed by show again Toast with text "some application is completed."
For example launched Play Market, and in my app Toast with the text "Play Market is run."
I have no idea how it implemented, it seems necessary to use the Service Broadcast. Please tell me how to implement?
To the best of my knowledge, outside of possible security flaws, there is no reliable way to implement what you want on Android 5.0 and higher, for privacy and security reasons.

How to detect if my app was uninstalled? [duplicate]

This question already has an answer here:
Is it possible to intercept app uninstall?
(1 answer)
Closed 8 years ago.
I understand that this question has been asked a number of times. But I would like to know if I can open a webpage after my app is uninstalled.
Before you say no, Please note that there are some apps like apus launcher which can detect when their app is uninstalled and can open a webpage after uninstall.
Thanks a lot
Not sure about Apus Launcher's uninstall bahavior, but this provides a pretty definitive no to your question...
'The package that is being installed does not receive this Intent.'
http://developer.android.com/reference/android/content/Intent.html#ACTION_PACKAGE_REMOVED
Just installed Apus Launcher, ran it, and then uninstalled it. As I expected, it doesn't put up any webpage after uninstall - I fear you have been misinformed.
(Apus is however doing some clever things, such as placing an overlay around the chooser dialog to encourage you to choose Apus if your system has multiple apps capable of handling a particular intent).
I notice that there are multiple Apus produced apps - if you have multiple of these installed, then it's very possible to write two apps that each detect the other app being uninstalled - but not the case that any one of the apps can detect its own uninstallation.

Launch app in market if not installed [duplicate]

This question already has answers here:
Detect from browser if a specific application is installed in Android
(5 answers)
Closed 8 years ago.
I can launch my app from the browser if it is installed using intent-filters. If the app is not installed, I would like the user brought to the app specific page in the market. I don't care if I have to handle this or if the platform does this for me, I only need to know how to set up the intent-filter, protocols, anchor tags, etc.
thank you!
There is no "normal" way to do it. What you can do, however, is to always provide a link to your app in Google Play and have an intent in your app handle that link. Thus, the app will open when the market link is clicked if it has already been installed. The downside is if the app is installed, the user will be presented with a dialog and will have to make a choice of whether to launch the link in a browser or in your app.
See this answer for a code sample: https://stackoverflow.com/a/12901352/379245

Screenshot without root [duplicate]

This question already has answers here:
How to programmatically take a screenshot on Android?
(26 answers)
Closed 9 years ago.
Which class is responsible for creating screenshots? Is it possible to change it and include in own project to take screenshots of ANY application? Has anyone tried to do so?
Is it possible to change it and include in own project to take screenshots of ANY application?
Fortunately, no, for obvious privacy and security reasons. Development tools and rooted device users can take arbitrary screenshots. Apps can take "screenshots" of their own content, but not that of other apps, to help prevent malware from stealing data from other apps.

How to restrict an applicaton only for tablet [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
How to ensure an Android app can only be run on a tablet?
Hi Is there any way to restrict the application so that It can only be installed in tablet?
Thanks
Sunil Kumar Sahoo
Yes go into the android market publisher page.
Make sure your app is uploaded.
Click on your app name.
Scroll down to where it says 'Show devices'.
Click that and you can exlude all mobile phones from downloading your
app.
Failing that you can set some parameters in your manifest for screen size etc, but this is less reliable.

Categories

Resources