Removing android phone app - android

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.

Related

Is there any way to run others apps in my Android app's layout?

I know it may sound weird but i was wondering for few days that can i launch any android app in my android app's layout? I searched in the google but couldn't find any answer.I know that app's have ability to send the user to another app based on an "action" it would like to perform.But i would like to know can i run the app in my app's layout??Suppose i have an app that has a layout called activity_main and now i want to replace the activity_main's layout with the app i want to call so that the called app is running inside my app.Thanks in advance to anyone who can clear my doubt??
can i launch any android app in my android app's layout?
No.
You cannot run any Android App inside your App.
But, you can run a WebApp [thats adaptive designed] inside your Android App.

How to block an app from launching in android at system level?

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.

Delete android launcher and replace it with my own

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

How to create a "stealth"-like Android app?

I'd like to have my application run in somewhat of a "stealth" mode. Two main things I'd like to do:
Not show app icon in installed app list (drawer?) programmatically.
Launch app via dial pad (some special number combination)
I know I can remove the launcher intent filter to hide the icon:
<category android:name="android.intent.category.LAUNCHER" />
But I'd like to do this programmatically, based on app settings. I guess I could work around that, but the biggest issue for me is figuring out how to launch the app via dial pad. I've googled around and searched SO, but haven't really found anything to help with that.
Thanks in advance.
You can programmatically remove icon from launcher as described here
If you want to launch app as call to magic number, it's quite simple using BroadcastReceivers for outgoing call, you can get solution from Right Number app

How to make an android app which contains three other apps?

How to make an android app which contains three other apps?
On the main app, the icons of those three apps are displayed and by clicking on an icon, the coresponding app launches.
Like I want to display the icons of facebook, google map and gmail on the main app and by clicking on the facebook icon, facebook opens up.
Should I make a single APK file for all apps? How?
Do you mean that you want the icons to appear in the main apps list? If so, what you need to do is add these lines:
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
To whatever activity you want to appear in the main app drawer.
Anyway, this seems like a bad idea except in a few rare circumstances where each 'app' is distinct from the other apps, but it doesn't make sense to have one of them without having them all.
If they are essentially one app, do the world a favor and make only one icon. If they are many apps that can exist independently of each other, make separate apk files for them so that the user can install what he/she wants.
I quite didnt get what u were trying to do, if you have the source codes of the other 3 apps, you could extract the activities and make the main app call the activitied (will require some more configuration though) , if you just have the apk, i think you can request the user to install all the 3 after the main app has been installed, and call them by using intents. :) Good luck on this
Take a look at this question: bundle multiple apps in one app

Categories

Resources