Way to reset Android HOME Screen Default? - android

I am recently working on a Parental Control Home Screen.
Noted from research says there are no way to code direct set my apps as default, but am thinking to provide a button for user to ops reset the default? So after pressing the reset button, user will able to chose a new default Home Screen when press on HOME button.
Any hints or though for doing so?
EDIT
Noted this reset action is prohibited for security reasons. Maybe I should change to another option: When user pressed a button, it will bring out the set HOME SCREEN default option?
All I need to do is to provide a much straight forward way for my app user to set my app as the default Home Screen. The user might have limited experience or even new to Android system. Perhaps they might be new to computer equipment as well. So I need a simple way to let them achieve the setting.
Please enlighten me. TQ.

Related

Launcher or an App for Restricted Access which one is better?

Hi I am planning to create an android app which is similar to the
Samsung Kids Mode- parental control
If you can see the link I gave, it is obvious that the app overrides the Home button when inside the app... I wanted to create a similar app for friends mode and stranger mode and should not come out of the app when home button is pressed... is it possible without root access?? My ultimate aim is to not come out of the app without entering a password, So if it is just an app after android 4.0 it just comes to the home screen when home button is pressed, So If I create a custom launcher and make it default even after pressing home button it will be inside the app if I am right, but is there any way I can do the same without a launcher
Also to avoid the phone number suggestions which happens when we dial parts of numbers in the dialler, should the phone be rooted to so it or is it possible without that?
Thanks in advance to everyone for taking time to read this, hoping a positive solution

Disable (not hide) system UI bar programmatically on non-rooted 4.0+ android tablet?

In my app, there is a activity where it is important that the system UI buttons (home, back, etc.) are not pressed, though it is ok if they are still visible. I have heard that there might be a way to achieve this, at least in 4.0 (I'm using 4.2).
A way to quickly and automatically return to the app if the buttons are pressed is also a correct answer, but seems less plausible. Thanks.
This is possible to override the home button by making your activity as home activity i.e
-- category android:name="android.intent.category.HOME"
but in this case android give user option to choose the app on launcher dialog where if user choose your application and click always, he will not be able to go to homescreen until you specifically provide a exit button oinside your app and reset it which you should definately do.

How to manage/disable home button on Android 4.0?

The application that I'm developing must look like a launcher. I opened this topic because of I couldn't find the correct answer in whole topics that I looked at in Stack Overflow.
I want the application to disable or control whole buttons to exit this application. I disabled home and back button on Android 2.3 but it doesn't work on Android 4.0 (except for back button).
To conclude, I couldn't and I want to disable only home button on Android 4.0
Can you give an advice except the other answers?
There is no way to intercept the home button on Android, unless you make your app the home screen. This is for security reasons, so that malicious apps cannot take over your device by overriding all the buttons that can exit. The home button is the one sure shot way to be able to leave any app.
In short, no it's not possible, and even if it were, it is a serious disruption in what a user expects out of an app's behavior. You will have to go with making your app into a launcher if you want to achieve this.

Is possible to set the home screen programmatically?

I have set my app as home screen(), so when i clik in home button the system let me to choose between default home screen and my app. I choose my app, it's ok. But when a user change a setting i need to change the home screen to default (system home screen) without choosing it, directly. Is it possible?
Thanks in advance and sorry for my english.
You cannot set the home screen programmatically: you must provide the user with an option to choose which launcher they want to use.
I ran into a similar issue when developing a soft keyboard for Android. Since you can't set the default keyboard, I showed a dialog which allowed the user to pick my keyboard during setup. I then verified that my keyboard was now the default before moving forward in the setup wizard.
Basically, the best you can do is show the dialog chooser to allow the user to choose the default system home screen.

How do apps skin things like the keyboard, clock, google search, buttons, etc?

I have been looking around the market and have seen apps that skin things like the keyboard, clock, google search, buttons,etc
How do they do that...changing system files?
Take for instance the case of SPB SHELL 3D ...an app that changes the user interface. What approach so they take?
Thank you for your help and effort.
they work by listening for the homescreen intent. When you click home, you're technically just going into another app, one that has been written to appear when you click home. When you install multiple apps that listen for a common intent (eg. opening a photo, sending an email, providing the home screen) a dialog appears asking you which one you'd like to use with the option of setting a default. On a new phone there is only one home app, so no dialog appears and it goes straight into the default home app. Try installing LauncherPro and then click home to see what happens. For more info on Intents, head over here

Categories

Resources