Reputation: 8420
I have a req. like I have Application A created by me and APK of Application B. Is it possible for me to set the process id and user id both same for the apk as well as application A. I don't have manifest of application B since its an apk. Is it possible for me to run the apk and an application of my own in the same process? Please help.
Upvotes: 0
Views: 601
Reputation: 14612
If you have access to the manifest.xml of the apk, you can set the sharedUserId.
EDIT:
If you Have only the apk file. You can use the android-apktool, this tool allows you to "decode resources to nearly original form and rebuild them after making some modifications". So you can have access to the AndroidManifest.xml and there change the sharedUserId.
Upvotes: 1
Reputation: 1595
You need to set a sharedUserId
in both manifest.xml
files.
The process id (normal install) must not be the same on each device. You get the id from the device.
Upvotes: 1