Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,732,310 Members 45,265 Now Online
XDA Developers Android and Mobile Development Forum

[Q] How to install2 copies of the same app

Tip us?
 
tronic44522
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 11
Join Date: Apr 2014
Default [Q] How to install2 copies of the same app

I use a dvd catalog app called amc reader. I have 2 movie catalogs my own one and my sons. the problem i have is i can only import one at a time to view into the app which is not useful to us..

what i am trying to achieve with the help of you good people is i would like to be able to install 2 copies of the same app on my htc desire and have one running my movies list and the other running my sons so that both are always accessible without having to re import from on to another.

the only way i can think of to do his is to trick the phone into thinking that the same app installed twice is actually 2 different apps. so how can i go about doing this, i had thought of renaming the second copy of the app to a different name but not sure how to do this.

any help would be great.
thanks
 
Chromium
Old
#2  
Chromium's Avatar
Recognized Contributor
Thanks Meter 5620
Posts: 4,349
Join Date: Oct 2012
Location: Toronto

 
DONATE TO ME
I believe to do this you would need to rename the package names. (This is not the same as simply renaming the actual apk file).
To do this you need to decompile the apk using apktool, then edit the package name that has been declared in the AndroidManifest.xml to something different than the original. Finally you could recompile the apk. Then you should be able to install both the original app and the one you modified.

Another easier way to do this would to use the multiuser function in newer roms. Im not sure if any other roms have it, but I can confirm that my latest Beanstalk build contains the feature. Essentially it allows you to create multiple users on the phone. Then at the lock screen you are given the option to pick the user account that you want to enter (similarly to how multiple users works on a PC). Each user is given their own data space.
 
tronic44522
Old
#3  
Junior Member - OP
Thanks Meter 0
Posts: 11
Join Date: Apr 2014
i used apktool to decompile. then i edited manifest name and recompiled using apktool.

no when i try to install modified app i get a problem parsing the package app.

any ideas?
 
Chromium
Old
#4  
Chromium's Avatar
Recognized Contributor
Thanks Meter 5620
Posts: 4,349
Join Date: Oct 2012
Location: Toronto

 
DONATE TO ME
Quote:
Originally Posted by tronic44522 View Post
i used apktool to decompile. then i edited manifest name and recompiled using apktool.

no when i try to install modified app i get a problem parsing the package app.

any ideas?
Try signing the apk with apk signer. (Available in the play store)

Sent from my HTC Desire using xda app-developers app
 
tronic44522
Old
#5  
Junior Member - OP
Thanks Meter 0
Posts: 11
Join Date: Apr 2014
i tries signing it but still nothing.

can you gice me a guide on editing the manifest and rebuilding the apk just to be sure i have not missed anything?
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes