I have an app which I want to use instead of the standard android launcher. When I start my device I want it to show up instead of the launcher. I noticed this was possible and it works except if I press the "Home" button both my launcher app and the standard android app are shown. I want to delete the launcher from my tablet either programatically or manually so the only app I can use the tablet for is my launcher app. Any help is appreciated.
You can't. Otherwise this would be a huge security risk. If the user checks the checkbox "Always use" (I think), that dialog won't appear again.
You have to be rooted.
Open fx (make sure you have the root add-on)
Go to system/custpack/unremovable/withoutlibs
Delete the launcher apk
Related
I am having my firmware and I want to change the default launcher and start up logo of the phone? where should I add my .apk file and animations
Logo tool you change the start-up logo by changing the bootaniamtion.zip in firmware with this tool.
All apk after installation goes to data/data folder, your launcher if registered to call event will come as one of the option to end user, if your launcher is the only launcher in your firmware, then by default ur launcher will be picked up.
By adding the categories android.intent.category.HOME and android.intent.category.DEFAULT to the intent-filter group, the associated Activity behaves like a launcher and shows up as an option when you press the device's home button
You just need to install apk , it doesn't matter from where you install it.
More details about how you can develop launcer
http://code.tutsplus.com/tutorials/build-a-custom-launcher-on-android--cms-21358
I want to know the exact method which invokes/starts all the apps. I basically want to block a certain set of apps using xposed module. Its ok if the app icon is visible but the app should not be launched after clicking on it. To be precise nothing should happen when the user clicks on the app icon.
So I want to know where the source code which invokes the apps.
PS : I would also like to know if there is any way to hide the icon of the app as well.
Make your own launcher app and replace it with the ones running on mobile phones.
You can check the sources of Laucher and Laucher2 currently running on Android system.
How can I make an android application remove it's desktop shortcut when the user deletes the application?
How can I make an android application that does this automatically?
Steevoo,
To remove a desktop icon programmatically, or even whether you need to depends on the launcher you are using. Some launchers allow you to add and remove icons programmatically. Some do all of that by themselves. Some even require you to do it manually. And even fewer may require a reboot to reanalyze the applications installed on the phone. In short, there is not a clear answer, especially since there is no default launcher; there are just default launchers for particular phones.
I have just downloaded an application from the android market. When I have installed the application, at the same a time shortcut of that application has been created on the default desktop.
So, my question is: how can we create a shortcut of our application at the time of installation?
You're question is very similar to this one.
Give that one a try, it also creates an icon on the home screen, but not during installation. Of course you could make it so it creates this icon during the first run of the app if you want.
The icon being created during the installation is something the user can set in their options, it's not something you have influence on, so you'll have to use an option like above.
That's an option in the Android System settings for the end user. User can choose to have shortcuts created automatically. That's not something you can do as a developer.
I have source the code of android 2.1, and I want to remove phone app from it. But I am not able to remove it. At list first I want to remove it from launcher that it should not be visible in launcher but in manifest file of Phone app I can not able to find launcher category. I don't know what to do?
Please remove all
<category andorid:name="android.intent.category.LAUNCHER" />
in packages/apps/Contacts/AndroidManifest.xml, I think it will work fine.
Or try to remove Contacts.apk (but this may not work because you may get crash again.)
If you want to remove the phone app completely from your phone, then it's as easy as deleting /system/app/Phone.apk. If you want to compile a framework that does not show the phone app in the launcher, then you will need to modify the launcher, not the phone app.