[Q] Install two version of one app? - Nexus One Q&A, Help & Troubleshooting

Ok Xda'ers I have two different versions of the HTC_IME keyboard.
I want to have them both on my phone where I can switch between the two. One is a themed Buuf version the other is the HTC_IME mod.
But, everytime I try to install the second one I always get asked to replace the other.
I don't want to replace it. Does anyone know of a simple work around they can explain to me.
Thanks

You have to change the package name. Note, this is different than the file name.

What's a package name?
Sent from my Liberty using XDA App

http://www.google.com/search?source...tu&channel=cs&ie=UTF-8&q=android+package+name

evilkorn said:
You have to change the package name. Note, this is different than the file name.
Click to expand...
Click to collapse
Thanks for the heads up. I'm looking into that now.

No problem, Google has a nice write-up on the AndroidManifest file if you want to see what other things mean in that file.

Related

sms unread count - change icon?

Hey All
So I really like the sms unread count widget by kanokgems that shows how many missed callls and unread txts you have. So I was wondering, is it possible to change the icons to maybe hero or eclair icons? I opened up the apk file and found a folder called res with some png files in there. Is it as easy as just replacing those?
Thanks
yeah just replace the images, make sure they are the same sizes. You would need to resign the apk after. then uninstall the previous one from your phone, then install the new edited one.
Hey, Not sure if this is bad or anything, But do you mind posting your changed apk?
Technochris1 said:
Hey, Not sure if this is bad or anything, But do you mind posting your changed apk?
Click to expand...
Click to collapse
Here's one I made a while back for Xrom. It's got a Heroish flavor.
The steps NguyenHuu posted are exactly right. If you're going to install this attachment, the last part is crucial.
1. Unzip
2. Place extracted file somewhere in /sdcard
3. UNINSTALL "STOCK" APP IF INSTALLED
4. Find file you placed in /sdcard and install using your favorite FM
Credit to Manup456 for supplying me with the icons.
Here are the app versions I made using eclair and hero icons
Hero
http://www.megaupload.com/?d=FUFFG750
Click to expand...
Click to collapse
Eclair
http://www.megaupload.com/?d=W25CQY8N
Click to expand...
Click to collapse
Tested both on CM 4.2.3.1 and both work, just make sure you uninstall the previous version before installing this one
The hardest part is signing the new apk, but I found out it was made really easy by stericson here
http://modmygphone.com/forums/showthread.php?t=10591
Thanks guys! I was waiting for something like this to show up. I love the widget, but it didn't look very good with hero/sense....now it does!

[Q] MediaProvider.apk

Has anyone had luck making changes to MediaProvider.apk? I've been trying to theme it by changing 1 icon and it seems to break it. I've just slipped in the icon with no success. I've tried apkmanager with no success also. signed, unsigned, etc. I can't seem to get it to work.
KenIzz said:
Has anyone had luck making changes to MediaProvider.apk? I've been trying to theme it by changing 1 icon and it seems to break it. I've just slipped in the icon with no success. I've tried apkmanager with no success also. signed, unsigned, etc. I can't seem to get it to work.
Click to expand...
Click to collapse
I have. I changed out the media update icon. You can grab the modified on out of my theme if you want. Or just use 7zip to replace the PNG you want to replace.
Sent from my SCH-I500 using XDA App
goldenstorm said:
I have. I changed out the media update icon. You can grab the modified on out of my theme if you want. Or just use 7zip to replace the PNG you want to replace.
Sent from my SCH-I500 using XDA App
Click to expand...
Click to collapse
Thanks. I grabbed one out of a already made theme to use. I changed other files with no problem but I had a problem with that one.
KenIzz said:
Thanks. I grabbed one out of a already made theme to use. I changed other files with no problem but I had a problem with that one.
Click to expand...
Click to collapse
No worries and good luck, hope it works for you.

[Q] Please assist on keyboard mod

Over the past week I have been looking for assistance on having a keyboard I like modded to work with the theme I'm using.
Specs
ROM: Serendipity v6.3 - Theme: ZeuBugTheme (I9000 theme) JS based - Keyboard in question extracted from: Erebos (JPX/U/Y/JS3/JS5/JS7/JS8)
The keyboard is a .apk. I have tried the following to no avail, constantly getting the "Force Close" warning. File name gbkb.apk.
1) Dropping directly into System>app
2) Rename to libjni_latinime.so (not sure if I did it right, but didn't work)
I tried a few other things, things I don't remember that went terribly wrong!
So I ask for help understanding how to make something like this work with my setup.
Interestingly enough, they also have a dialer which I was easily able to replace the DialerTabActivity.apk and have the dialer work. So why not the keyboard?
Pleas ask questions I would truly like to rectify this.
Thanks, Tomween1
tomween1 said:
Over the past week I have been looking for assistance on having a keyboard I like modded to work with the theme I'm using.
Specs
ROM: Serendipity v6.3 - Theme: ZeuBugTheme (I9000 theme) JS based - Keyboard in question extracted from: Erebos (JPX/U/Y/JS3/JS5/JS7/JS8)
The dialer is a .apk. I have tried the following to no avail, constantly getting the "Force Close" warning. File name gbkb.apk.
1) Dropping directly into System>app
2) Rename to libjni_latinime.so (not sure if I did it right, but didn't work)
I tried a few other things, things I don't remember that went terribly wrong!
So I ask for help understanding how to make something like this work with my setup.
Interestingly enough, they also have a dialer which I was easily able to replace the DialerTabActivity.apk and have the dialer work. So why not the keyboard?
Pleas ask questions I would truly like to rectify this.
Thanks, Tomween1
Click to expand...
Click to collapse
you need the gbkb.apk and the matching .so. you dont just rename anything.
drop the apk into /system/app and the .so that is included with the theme into /system/lib
thats it. you dont have to modify anything
Pirateghost said:
you need the gbkb.apk and the matching .so. you dont just rename anything.
drop the apk into /system/app and the .so that is included with the theme into /system/lib
thats it. you dont have to modify anything
Click to expand...
Click to collapse
OK, this too was one of my questioning areas (earlier in my attempts). Not sure what the so file is that I should use.
Also can these items be inserted into a cwm and be flashed? Not that I will 9don't know how yet), just a need to know
tomween1 said:
OK, this too was one of my questioning areas (earlier in my attempts). Not sure what the so file is that I should use
Click to expand...
Click to collapse
you need the gbkb.apk and you need the libjni_gblatinime.so file for the keyboard to work. i'm using the erebos one too.
task650 said:
you need the gbkb.apk and you need the libjni_gblatinime.so file for the keyboard to work. i'm using the erebos one too.
Click to expand...
Click to collapse
What ROM?
I have already installed the dialer but found I couldn't customize the dialer tones

APK won't Sign correctly after applying theme...app dissappears.

Looking for some assistance on getting a themed app to behave properly. It's a keyboard (Flext9) I downloaded from the Amazon Market for free as a promotion (normally 5.00). I have NO intention on distributing this at all. It's solely for me, and as a learning experience.
This is my first go round at themeing..so if I don't understand what your telling me..go easy..
With the help of DroidXCon, nitsuj17 (how to write up), Chopperdog, Gunnermike, and google, I figured out how to decompile, edit the xml's, recompile, edit the images in gimp, re-draw the patches with draw9patch for the .9's, re-compile .9's with xUltimate, replace the images with 7zip.
At this point if I sign the apk, it breaks like two or three of the functions and robs the xml edits, and .9 edits. It basicallly screws things up royally. (I have used multiple signing tools and they all do the same thing)
The way I get it to function is to install the stock flext9 keyboard, overwrite the app file in data\app with the themed one, change the permissions and owner using root explorer, and I'm good. It's fully functional and themed appropriately. http://dl.dropbox.com/u/21063130/SC20110621-233700.png.
The only thing with this is I get an error message when I try to change a setting in preferences [Amazon Marketplace something..Error with the application. Please re-download from Amazon Marketplace] here's the logcat of that error. http://dl.dropbox.com/u/21063130/logcat.txt
It only happens once, then not again.
The REAL problem is when I reboot the phone the app is removed from keyboard and languages in settings, and the option in input method is completely gone. However, the app is still installed. The file is still in data\app and if I try to re-install, it prompts me to overwrite the "installed" app. (There is a already a version of this installed. Do you want to overwrite?). However, the app name has changed in the settings-manage applicatons-All from Flext9 to com.nuance.flext9.input-1.apk.. (the file name in data\app) which is different.
Trying to get this to work... more from a "I want to conquer this thing" than I reallly want this keyboard..haha..
any help would be greatly appreciated..
thanks in advance.
david
Lttlwing16 said:
Looking for some assistance on getting a themed app to behave properly. It's a keyboard (Flext9) I downloaded from the Amazon Market for free as a promotion (normally 5.00). I have NO intention on distributing this at all. It's solely for me, and as a learning experience.
This is my first go round at themeing..so if I don't understand what your telling me..go easy..
With the help of DroidXCon, nitsuj17 (how to write up), Chopperdog, Gunnermike, and google, I figured out how to decompile, edit the xml's, recompile, edit the images in gimp, re-draw the patches with draw9patch for the .9's, re-compile .9's with xUltimate, replace the images with 7zip.
At this point if I sign the apk, it breaks like two or three of the functions and robs the xml edits, and .9 edits. It basicallly screws things up royally. (I have used multiple signing tools and they all do the same thing)
The way I get it to function is to install the stock flext9 keyboard, overwrite the app file in data\app with the themed one, change the permissions and owner using root explorer, and I'm good. It's fully functional and themed appropriately. http://dl.dropbox.com/u/21063130/SC20110621-233700.png.
The only thing with this is I get an error message when I try to change a setting in preferences [Amazon Marketplace something..Error with the application. Please re-download from Amazon Marketplace] here's the logcat of that error. http://dl.dropbox.com/u/21063130/logcat.txt
It only happens once, then not again.
The REAL problem is when I reboot the phone the app is removed from keyboard and languages in settings, and the option in input method is completely gone. However, the app is still installed. The file is still in data\app and if I try to re-install, it prompts me to overwrite the "installed" app. (There is a already a version of this installed. Do you want to overwrite?). However, the app name has changed in the settings-manage applicatons-All from Flext9 to com.nuance.flext9.input-1.apk.. (the file name in data\app) which is different.
Trying to get this to work... more from a "I want to conquer this thing" than I reallly want this keyboard..haha..
any help would be greatly appreciated..
thanks in advance.
david
Click to expand...
Click to collapse
If you cant get it signed correctly you could use ninjamorph app to decompile, swap out the stock files with your themed .png and .xml files.
The Good: decompiles, recompiles and swaps out the app for you without having to resign it.
The Bad: You have to swap out files one by one, it can take awhile.
I wouldnt use it to theme anything but it works great for swapping out files you have already modded. I used it on my TW4 launcher. Was really easy to pull my modded files from dropbox to SD and swap em out..
If you have a hard time with it. Check out YouTube.
Sent from my SCH-I500 using XDA App
GrainOsand said:
If you cant get it signed correctly you could use ninjamorph app to decompile, swap out the stock files with your themed .png and .xml files.
The Good: decompiles, recompiles and swaps out the app for you without having to resign it.
The Bad: You have to swap out files one by one, it can take awhile.
I wouldnt use it to theme anything but it works great for swapping out files you have already modded. I used it on my TW4 launcher. Was really easy to pull my modded files from dropbox to SD and swap em out..
If you have a hard time with it. Check out YouTube.
Sent from my SCH-I500 using XDA App
Click to expand...
Click to collapse
yo thanks man...I hadn't tried that yet..but I'll give it a go...
I am assuming I would want to swap out the .9's with the themed/re-patched/recompiled .9's I have correct?
Yes.... Especially the .9's! Ninjamorph will give you some options as far a resizing the .png's but as you prob already guesssed dont try it with .9 images. Just swap em out 1 for 1.
Sent from my SCH-I500 using XDA App
GrainOsand said:
Yes.... Especially the .9's! Ninjamorph will give you some options as far a resizing the .png's but as you prob already guesssed dont try it with .9 images. Just swap em out 1 for 1.
Sent from my SCH-I500 using XDA App
Click to expand...
Click to collapse
I thought so..thanks..
Yeah..it's locking up...when I try to select the new image to replace with...force closed twice..
Tell me this doctor...why does the 'values' folder with the xml files I edited not show up when you "open archive" with 7zip or when the .apk is extracted with ninjamorph? Hard to change if it ain't there.
Lttlwing16 said:
I thought so..thanks..
Yeah..it's locking up...when I try to select the new image to replace with...force closed twice..
Tell me this doctor...why does the 'values' folder with the xml files I edited not show up when you "open archive" with 7zip or when the .apk is extracted with ninjamorph? Hard to change if it ain't there.
Click to expand...
Click to collapse
perhaps thats the wrong xml to edit?
EDIT: Go around 1..just changing out the .9's = FC sandwich... grrr...this app is like fort knox..
Lttlwing16 said:
perhaps thats the wrong xml to edit?
EDIT: Go around 1..just changing out the .9's = FC sandwich... grrr...this app is like fort knox..
Click to expand...
Click to collapse
Now, your gonna make me buy this damn keyboard just for the challenge of theming it....
Sent from my SCH-I500 using XDA App
GrainOsand said:
Now, your gonna make me buy this damn keyboard just for the challenge of theming it....
Sent from my SCH-I500 using XDA App
Click to expand...
Click to collapse
U should got it wen it was free lol...its a nice keyboard I like it better than swype actually its just ugly
Sent from my SCH-I500 using XDA App
GrainOsand said:
Now, your gonna make me buy this damn keyboard just for the challenge of theming it....
Sent from my SCH-I500 using XDA App
Click to expand...
Click to collapse
haha..you don't have to man...unless you want too..
com.nuance.flext9.input-1.apk...decompile with apktool...file res\values\colors.xml ---styles.xml--edit..recompile...7zip open archive..same files no where to be found.. where do these go?..do the values get pushed to all the other xml files..?
Maybe this is the problem.
When I sign the apk..it seems like the .9's take, but the xml edits go to hell..and I lose the trace input function (hmmm...I edited the xml for that in the disappearing values\colors.xml file...) and the voice command function is broke as well. (connection error).. HOWEVER, with a davlik wipe, fix permissions in cwm, the app is still there after reboot....(this has been the standard with apk manager opt 16 and autosign tool)
Still unsuccesfull with ninjamorph
if signing is the problem then all you need to do is decompile the apk, make all your edits, and then recompile. Then to bypass the signing just extract the META-INF folder and AndroidManifest.xml from the original unthemed apk and add them back into your newly compiled apk.
Bubbadogg14 said:
U should got it wen it was free lol...its a nice keyboard I like it better than swype actually its just ugly
Sent from my SCH-I500 using XDA App
Click to expand...
Click to collapse
My thoughts exactly...and how I ended up here..: )
Lttlwing16 said:
My thoughts exactly...and how I ended up here..: )
Click to expand...
Click to collapse
Sorry, ive been busy updating my themes. Some apk's like phone.apk, swype.apk and camera.apk are very tempramental when it comes to modding them. I these .apk's you have to drag and drop your modded files into place. Im not sure if that is the problem tho as these .apk's will usually show up in app/drawer and even will launch but will FC upon opening them To be honest im a little stumped on this one. Looks like you did everything right, so im not to sure whats going on there.
Sent from my SCH-I500 using XDA App
Last resort you can try the signapk app in market, its also FREE, I must admit tho it has only worked for me once with the TW Program monitor.......
GrainOsand said:
Last resort you can try the signapk app in market, its also FREE, I must admit tho it has only worked for me once with the TW Program monitor.......
Click to expand...
Click to collapse
Thanks grainosand..
Funkbot got me fixed up in IRC..
Had to place the Android Manifest and META INF in file and push to the system/app
It now sticks on reboot..BUT the voice feature is broke.. grr..
Lttlwing16 said:
Thanks grainosand..
Funkbot got me fixed up in IRC..
Had to place the Android Manifest and META INF in file and push to the system/app
It now sticks on reboot..BUT the voice feature is broke.. grr..
Click to expand...
Click to collapse
Glad to hear it....
Sent from my SCH-I500 using XDA App

[Q] How to make your own HTC Skins/Themes

Is it possible to make your own HTC skins/themes and if yes how exactly?
Thanks in advance.
Incredible2011 said:
Is it possible to make your own HTC skins/themes and if yes how exactly?
Thanks in advance.
Click to expand...
Click to collapse
I haven't tried editing sense themes since.. FOREVER ago, since things like the htc hero / sapphire / dream "were in"
What I did back then was open up the rom file you download, and in it you'll see a bunch of stuff and go into system\app\ and modify to your liking!
I just took a quick look at a sense rom and it appears that "rosie.apk" is still there. IF things haven't changed as much.. that Should be your main launcher.
So what youcould do is open that via winrar and extract images and stuff out.. then edit it!
Other things like the status bar, should be in framework-res.apk (which should be in framework instead of /apps/)
I've only modded my themes using roms from aosp or vanilla so I don't nkow sense too well.. However this should give you a basic understanding! and the more you wanna edit, the more .apk files you wanna open! good luck
On a similar note, I am trying to modify android with customised sounds (lock/unlock/key press etc) and having some issues.
I have directly tried to place the .ogg files into the following path within android itself using droid explorer but that didnt seem to work.
The path i have been placing it is within the following:
...\system\media\audio\ui
Has anyone managed to successfully do this either with a working rom or pre flashing, in which case could give me some pointers on how to do this?
Thanks
am using go desktop...

Categories

Resources