Install two versions of same app - G Tablet Android Development

Anyone have info on how to customize an app that can install alongside another with the same name? For example customizing an old version of an app to install it alongside the new version.
The following thread popped up when creating this one: http://forum.xda-developers.com/showthread.php?t=816111
I have unpacked and modified every instance of the com.publisher.appname string I can find in the plain text files ("search all open files" in Notepad++ is an awesome tool). It repacks up just fine, but when I install it force closes.
I don't have my gtab with me, so I can't check on what it says in logcat during the FC, but I will soon and update the post.
Can anyone shed some light on this? Is this even possible without the APP source?
UPDATE: Possibly answering my own question... I found comments on this (http://stackoverflow.com/questions/1222302/android-multiple-custom-versions-of-the-same-app) useful. Working on a new version of the app in question now.
EDIT: I suppose this question might belong in the APPS section.

Related

APP crash on HERO???

Hi,
i developed an app ("my days") and it works in the emulator also on my g1 and for quit a lot of users.
now i got a mail from a "HTC HERO" User and he say the app crash from the beginning. (an earlier version worked for him... the new version include widgets and mass of new features, so i dont know where to start searching)
So what could be the prob, whats the different. It makes me quit unhappy, i thought android is compatible to all android devices.
Any ideas?
greets
chris
HTC Hero is not a released phone yet, and tell him to not complain about using unreleased alpha code on his phone.
I do apologize, it was not my intent for this to seem as "complaining", it was only something that occurred and I was wondering if anybody else had run across this issue.
I fully understand that this is a pre build.
But how is anything ever going to get solved if issues are not brought forward.
Paul
thanks
yes.. it looks he used a alpha version or so.. thanks for your reply... i just thought to come crazy.
he answered:
"
so I found out what the issue is and I do appoligise that this was my issue. I ran a program that takes and converts the apk's stored on the apps folder to odex files and the issue is that when I did the update it replaced the apk file but left the odex file and that must have caused the conflict. I removed the odex file and the apk file then reinstalled the v.8 version and all is good.
I do appoligize, I should have done some more research on my end.
"
so finaly it looks he knows a bit about android rooted phones (maybe more than me so may you tell me in short what does this odex stuff is?
greets
chris
odex = optimized dexopt-wrapper, it's supposed to make the phone/apps run faster, especially on appstosd.
ok thanks... even i guess for a simple coder like me i can not really have an advantage from it (from a point of an unrooted user/developer).. or just to learn something new?
because to makes apps run faster.. for sure i am always interested in

[IDEA]Custom ROM Apps

Hello,
I am a software/web developer. Lately I had an idea to make an interface for easy CWM Rom Modifications. Basically like online rom editor.
The program flow is simple.
1. You upload zip rom from your computer, link or choose one from server.
2. You modify basic rom features. Possible functions (some):
add/remove/replace apps
custom launchers
build.prop editor
add/remove/replace fixes/updates
3. Once done you can download, get qr code, share, upload to rapidshare,megaupload,etc
I can make such thing in a week and ready to use. Questions is, would anyone use it?
Personally I can find it useful for me because i switch roms daily and i prefer launcherpro instead of stock, custom wallapepers, etc etc. So instead of installing each rom and modifying it locally you could do it with few clicks from your browser, even possibly from phone itself.
But once again, does that sound something that you would find useful?
jM2.me said:
Hello,
I am a software/web developer. Lately I had an idea to make an interface for easy CWM Rom Modifications. Basically like online rom editor.
The program flow is simple.
1. You upload zip rom from your computer, link or choose one from server.
2. You modify basic rom features. Possible functions (some):
add/remove/replace apps
custom launchers
build.prop editor
add/remove/replace fixes/updates
3. Once done you can download, get qr code, share, upload to rapidshare,megaupload,etc
I can make such thing in a week and ready to use. Questions is, would anyone use it?
Personally I can find it useful for me because i switch roms daily and i prefer launcherpro instead of stock, custom wallapepers, etc etc. So instead of installing each rom and modifying it locally you could do it with few clicks from your browser, even possibly from phone itself.
But once again, does that sound something that you would find useful?
Click to expand...
Click to collapse
This is a late reply but heck yeah i would totally use it!
haha. yes i would have to admit that this is a late reply as well but i would use something like this also. i wish i seen this before. i also change ROMs often and this could provide some great use.
Ha ha late reply..... is use it
Sent from my HTC HD2 using XDA App
jM2.me said:
Hello,
I am a software/web developer. Lately I had an idea to make an interface for easy CWM Rom Modifications. Basically like online rom editor.
The program flow is simple.
1. You upload zip rom from your computer, link or choose one from server.
2. You modify basic rom features. Possible functions (some):
add/remove/replace apps
custom launchers
build.prop editor
add/remove/replace fixes/updates
3. Once done you can download, get qr code, share, upload to rapidshare,megaupload,etc
I can make such thing in a week and ready to use. Questions is, would anyone use it?
Personally I can find it useful for me because i switch roms daily and i prefer launcherpro instead of stock, custom wallapepers, etc etc. So instead of installing each rom and modifying it locally you could do it with few clicks from your browser, even possibly from phone itself.
But once again, does that sound something that you would find useful?
Click to expand...
Click to collapse
It's a great idea dude! I'm a web designer/dev too. Anyway love the idea, this will open up the possibilities of trying new roms every time.
I'd too use it.
It's the idea, I was dreaming of.
Best of luck !
HECK YES
oh boy yes totally yes.
this type of app would help immensly to any1 who wishes to barebone there favourite rom.
help us in keeping our cwm smaller ie 5/150/10 etc.
mod roms to our taste.
cut out fonts we dont want.
apps we dont want or use.
ringtones, alarm sounds, notifications, system sounds etc we dont want or need.
insert our own apps.
hell yes brilliant idea hope that you do create and bring this project to fruition.
A++++++++++++ on idea and creation.
jM2.me said:
Hello,
I am a software/web developer. Lately I had an idea to make an interface for easy CWM Rom Modifications. Basically like online rom editor.
The program flow is simple.
1. You upload zip rom from your computer, link or choose one from server.
2. You modify basic rom features. Possible functions (some):
add/remove/replace apps
custom launchers
build.prop editor
add/remove/replace fixes/updates
3. Once done you can download, get qr code, share, upload to rapidshare,megaupload,etc
I can make such thing in a week and ready to use. Questions is, would anyone use it?
Personally I can find it useful for me because i switch roms daily and i prefer launcherpro instead of stock, custom wallapepers, etc etc. So instead of installing each rom and modifying it locally you could do it with few clicks from your browser, even possibly from phone itself.
But once again, does that sound something that you would find useful?
Click to expand...
Click to collapse
I like the idea, however, with ROM dev's in mind, i would not make it so one can share the ROM they uploaded. I would make it so the person who uploaded the ROM they can then download it after their modifications were made. I just know that some ROM devs wouldnt appreciate their work being passed on and shared without their approval, a lot of devs dont like mirrors being created and even though the user modifies the ROM, its still not their work since the code is the developers. But yes i would like something like this. i already have a batch file set up that just adds the things i want.

FroyoBread F.A.Q.

Greetings. The following thread is related to FroyoBread ROM. I'm opening this thread since doixanh suggested it could come in handy. This is supposed to be helpful to all the people who don't know something or can't make something work. If you have issues - read the first post, if there is no answer - ask a question. Never the other way around. If you have a new (sensible) question I will add it to the first post along with a solution (by me or by anyone who can give it - by posting solutions you agree to my puting it into the first post).
This thread will be divided into three parts:
why this ROM?
installation instructions, tricks and issues
F.A.Q.
But first we need to make some things clear. These are as follows:
If you cannot comprehend what is written here - it's your problem, not mine. You can relate to THIS or THIS thread for information regarding things such as rooting, xrecovery and other stuff. Or learn English. I will not put things into plainer words, nor will I explain terms that are general, not ROM-related. "Hard" words will be marked in orange and google is your friend.
If you consider this guide useless - don't write in it.
This is a place for noobs. If you're an advanced user go straight to FroyoBread thread. Use this for questions, not for bug reports. Remember, doixanh is by no means obliged to visit this thread.
Ok, let's get down to business.
1. Why this ROM?
There are several reasons why you should go for this ROM, not for any else:
It's android 2.2 Froyo, which, while bootloader is still locked, runs smooth, and android 2.3 is buggy (mostly camera issues, but not only)
It's fast and contains very few bugs, which means it's good for daily use
It has lovely android 2.3 GingerBread features, such as crt animation, edge glow, and some more useful, like precise text markers. See for yourself
It's under constant development - new versions come even in three days distance
From v013 on you can use a wide variety of themes for CM7 devices!
Hope that it's enough to get your attention
2.1 Installation instructions and tricks
To properly install FroyoBread you need to have files which come with stock ROM build 2.1.1.A.0.6 or higher. You also need baseband ending with 015. You will require xRecovery to for installation. Clockworkmod recovery, for now, does not allow to install FroyoBread!
Do you have all that's needed? Good, let's get started!
Put a downloaded FroyoBread zip in the root of your SD card
Go into xRecovery
Make a backup of your current ROM in case you want to go back!
After backing up choose "install custom zip" -> "choose custom zip from sdcard" -> choose your froyobread zip file and install it. It will take a short while.
NOTE: Every FroyoBread installation file will wipe your cache partition, you don't have to do it manually. All the versions except for RC0 will preserve your data partition, so if you are updating your FroyoBread you will not loose your contacts, apps and so on.
If you are coming from any version of android that is not 2.2 - make a full wipe (factory reset). This step is not necessary for ROMs such as Floyo, Elelinux or miniCM, but it is generally good to get rid of other ROM's data before proceeding.
You may want to go to "advanced option" and wipe battery stats to get more precise readings, but it is entirely optional.
Reboot!
Now, there are some additional files you may want to install. These are themes and fixes. They are installed the very same way the ROM is, but they do not wipe anything, nor do they need you to perform any action apart from choosing them for installation and then rebooting. The list of themes and fixes can be found in FroyoBread thread.
2.2 Installation issues
Something went wrong? Phone doesn't turn on? No worries
Issue: my phone shows only the "Sony Ericsson" logo and doesn't move on!
Solution: take out your battery, put it back and get into xRecovery once more, perform full wipe. You may also want to reinstall the FroyoBread zip. If something weird happens during the installation (for example the progress bar goes only half way) redownload the ROM, go into "partition options" of xRecovery and mount USB to replace the zip, then install it again. If anything else fails, you can always restore your previously done backup of the old ROM. You made it, didn't you?
Issue: I cannot see anything on my notification bar!
Solution: Reboot your device and check settings->CM settings -> user interface -> tweak extras -> select a theme. You should have STOCK_Black enabled by default.
Issue: I instaleld a theme and <something> is not working!
Solution: Do you really need that thing that has been broken? If so, reinstall your current version of the ROM, or perform an advanced restore of your system (if you have a proper backup of course)
Issue: my GPS/radio/data/whatever is not working!
Solution: GPS works. If you have issues - full wipe. Some apps may not be compatible with FroyoBread - in this case report a bug Radio has been fixed in v007, but due to some major changes it could be broken in further versions. I have never checked it. Some themes may also cause radio to break. Data traffic, yes... it has been reported that sometimes it simply breaks and there is nothing to be done, only wifi works. Bug reported, be patient. Anything else is not working? Post a question and we will try to help
F.A.Q.
Q: Is this ROM better than others?
A: In some respects it is. See section one of this guide, or try the ROM yourself
Q: What is baseband/build/xrecovery/etc?
A: At the very beginning I put two reference links to hub threads which will direct you to the knowledge you desire
Q: How to install this?
A: You didn't read the installation instruction, did you?
Q: I have v013 beta(2), why doesn't my notification bar change when I switch themes?
A: doixanh is working on separating notification bar from the system, but in this version of ROM it doesn't work. Wait patiently
Q: Is wifi-N enabled in this ROM?
A: It was up to v012. In v013 doixanh disabled it due to stability issues. Refer to changelog for further versions.
Q: Why are CM settings in English?
A: CM6 settings were never truly translated. Maybe doixanh will include CM7 translations in further releases, but for now you need to wait or translate the xml files yourself (if you know how to extract them from .apk - knowledge is here, on XDA )
Q: Is "beta" unstable?
A: Beta version of v013 is stable enough for daily use. It has been called so due to major changes and for fear of many bugs to come. doixanh simply didn't want people to complain that the "stable" build is unstable.
Q: Can this brick my device?
A: If you do something wrong you may, of course, crash your system. There is, however, now way to brick it permanently, since bootloader is locked. For unbricking see my other guide HERE.
Q: I did all the steps from installation part, I have a proper build and baseband and yet my phone is stuck on boot with SE logo. What's wrong?
A: Did you do a full wipe? If so, then there is something wrong with you file system. Reflash the phone with 2.1.1 tft file from THIS guide, make sure you have 015 baseband and then reinstall FroyoBread. Make sure to backup your data!
Q: I cannot use SE backup and restore app!
A: Well, that's most probably because doixanh named the brand Sh!t Ericsson instead of Sony Ericsson. Change this value in build.prop and try to install again. build.prop may be found in /system and /system/bin, you need to change both, then reboot. If all else fails you may always use MyBackup and Titanium Backup from the market
Q: What modules are included?
A: By default we have x8uv, x8mddi and x8gesture in system/lib/modules. If you want x8oc simply put the .ko file in the directory and reboot, FroyoBread is designed to load this module without any further modifications in config.sh.
Q: How do I add more themes to theme chooser?
A: Go to THIS thread and choose to your liking. Some themes are available through market, some need to be downloaded from XDA and installed through file managers.
This list is to be expanded by your further questions!
Mod Edit: Ok, just deleted the quote.
Omg! That's best thread I ever see! But anyway I'm not noob I know everything what's here but its very good for noobs! Well Done! BTW I'm using froyobread v013 and its very stable
Sent from my X8 using Tapatalk
Actually I have some question how to put some new themes to theme chooser? Because there is only 3... now I'm using blue framework for this Rom and its beautiful
Sent from my X8 using Tapatalk
proadi96 said:
Actually I have some question how to put some new themes to theme chooser? Because there is only 3... now I'm using blue framework for this Rom and its beautiful
Sent from my X8 using Tapatalk
Click to expand...
Click to collapse
You either download some CM7 themes from the market or from XDA. The list is here: http://forum.xda-developers.com/showthread.php?t=1056292
Gonna add this to the FAQ in the first post
Graveir said:
You either download some CM7 themes from the market or from XDA. The list is here: http://forum.xda-developers.com/showthread.php?t=1056292
Gonna add this to the FAQ in the first post
Click to expand...
Click to collapse
Ok i will try it thanks dzięki ziom xD
Sent from my X8 using Tapatalk
What themes do you recommend?
Wysłałem z mojej zajebistej x8 za użyciem tapatalk! ROM froyobread v013 !
I haven't tried any of those yet, but I intend to use Sith with all addons as soon as I have time to theme my GO launcher Ex properly
Graveir said:
I haven't tried any of those yet, but I intend to use Sith with all addons as soon as I have time to theme my GO launcher Ex properly
Click to expand...
Click to collapse
All right i will try it thanks man
Wysłałem z mojej zajebistej x8 za użyciem tapatalk! ROM froyobread v013 !
hello guys..
really happy to see this thread here.. thanks to dx n all devs supporting here...
im using this, frm v6 n i really love it... v14 is stable for me... awesome performance..
how do i change the power icon in notification bar, i wud like to have GB default instead of cirlce ... sorry for my request.. pls do consider n help me,...
once again thanks to dx for this wonderful rom.. n also Achep for his theme...
you want x8oc simply put the .ko file in the directory and reboot
I can't find this file...on v14.
Since you made the F.A.Q. I'll ask you the same question I've asked on the dev thread. Is Bluetooth working for you ? Because I can only use it with a 3rd party app from the market, and is annoying as hell.
hey i just got this problem.. im unable to update google maps, downloads completely but after dat installation fails.. pop up displays update package failure.... flashed v12 freshly same error occured again.. pls help me..
n i also noticed that there are no events in notification dropdown menu while der is a download running frm market, it only appears during installation....
Yeeei, i overclocked my Xperia X8, thanks for your guide.
sathish087 said:
hello guys..
really happy to see this thread here.. thanks to dx n all devs supporting here...
im using this, frm v6 n i really love it... v14 is stable for me... awesome performance..
how do i change the power icon in notification bar, i wud like to have GB default instead of cirlce ... sorry for my request.. pls do consider n help me,...
once again thanks to dx for this wonderful rom.. n also Achep for his theme...
Click to expand...
Click to collapse
You can either change it in framework-res.apk (you'll need default icons and xmls for that, for more see the general theming section of XDA) or use another CM7 theme (in v014 you will experience issues such as battery indicator flipping from stock to themed randomly - wait for more updates for a fix )
Since it is not an easy thing to fix I will not put in into a F.A.Q. this time
CaptainZap said:
Since you made the F.A.Q. I'll ask you the same question I've asked on the dev thread. Is Bluetooth working for you ? Because I can only use it with a 3rd party app from the market, and is annoying as hell.
Click to expand...
Click to collapse
Well, last time I used bluetooth it was on v013b. Both astro bluetooth and bluetooth file manager DIDN'T work for me, I had to send a file (mp3) through default android service actually. I will check it on v014 in the morning and write something more
sathish087 said:
hey i just got this problem.. im unable to update google maps, downloads completely but after dat installation fails.. pop up displays update package failure.... flashed v12 freshly same error occured again.. pls help me..
n i also noticed that there are no events in notification dropdown menu while der is a download running frm market, it only appears during installation....
Click to expand...
Click to collapse
The solution's been found by one of the users. Here - PM this person for more information. If you repost it here I will gladly put in into F.A.Q. I cannot help you since I do not use Maps
As for download event not showing - it is a bug that has been already reported We may only hope that it will be fixed in v015
LegoGabi said:
Yeeei, i overclocked my Xperia X8, thanks for your guide.
Click to expand...
Click to collapse
I will disregard your previous post then Have fun
Dx is using this version of map. This version enables navigation in countrys that don't have it original. You can not update it in market.You need to completly uninstall maps and then install from market, if you want the newest version. Thanks for your FAQ post Gravier
hi, i've been asking this question since v12.
is there anyway to incude tun module in the release? if yes? how can i insert it manually?
i've tried copying the tun module from minicm6-1.0.2 to froyobread but it doesnt work.
thanks
\
question: always come across "FC" term, what does it stand for? eg.
"Fixed black screen bugs and FCs in YouTube, Video Recorder and Video Player...."
wantutri said:
hi, i've been asking this question since v12.
is there anyway to incude tun module in the release? if yes? how can i insert it manually?
i've tried copying the tun module from minicm6-1.0.2 to froyobread but it doesnt work.
thanks
\
Click to expand...
Click to collapse
Could you please attach this module to the post or upload it to mediafire? I'll try to find the solution for you And tell me what is it supposed to do, otherwise I may not know if it's working for me or not
yinhaoliew said:
question: always come across "FC" term, what does it stand for? eg.
"Fixed black screen bugs and FCs in YouTube, Video Recorder and Video Player...."
Click to expand...
Click to collapse
Force Close.
Got X8 few days ago, and installed froyobread. My X8 runs surprisingly smooth, with few glitches:
1. Video recording isnt working, is there any chance of enabling it? (when i press record it shuts down app)
2. Sluggish keyboard
3. auto brightness bugs - First its ok, than it ajusts brigness after 5 seconds or so, than refuses to enlight screen
1. It should be ok in v015. If it isn't - try full wipe. If it doesn't help - report bug in doixanh's thread.
2. Which one are you referring to? As far as I remember we have HTCime mod and stock android keyboard. If both don't suit you - try some keyboards from the market
3. Well, autobrightness is still enlisted as a persisting bug in doixanh's thread, so I'd suggest you disabling it. If you'd like to keep some controll over brightness you may set a drop-down widget in CM settings

[Q] Best way to get Kindle to show up as something else for Market apps?

Hello. I have had a Kindle fire since Jan of this year. It has been my first tablet/android device. I've had a great time playing with it, learning about rooting, bricking and unbricking thanx to this awesome forum and really want to express my gratitude for all the help provided by this site.
I am a medical student and I bought the device specifically for an app for my licensing exam. I feel like I have one last hurdle to overcome in understanding how to manipulate this device, that being a method of altering the way that the market apps recognizes the kindle. I have seen various mods that cause the device to show up differently.
My question is: what is the best mod to facilitate this and only this?
-I have everything as I like it so I prefer one that changes only this aspect.
Thanks a thousand times in advance.
Edit the build.prop file if you know how to, just change the model name to another device like the Galaxy Tab or something and you'll have a bunch more apps in the market.
Just use the modified build.prop from THIS thread and you will be all set.
thanks guys. I've read about build.prop. Gonna check out this link
I read through that link. It only supports CM7. I have had both CM7 and CM9 and prefer stock + go launcher. Do you know of any preset build.prop's that support stock?
edit: Obviously didnt read far enough, here it is: http://forum.xda-developers.com/showthread.php?t=1439916
I will test it out then update. Thanks again!
edit2: Modaco Gr6 is the mod to flash for those seeking to run stock vs. CM7/CM9. I got access to the file I needed and many other apps. I dont think i am seeing the entire android market though.

Android Wear 2.0 Beta APK won´t start

Hi,
I installed Android Wear 2.0 beta apk from apkmirror, because my Huawei Watch told me on latest 2.0 dev preview, that it setup has to be continoued on smartphone, but my Android Wear 1.5 app told me, it has to update, even on latest update already installed..
So I downloaded the 2.0 beta apk and now this one can´t start, because it tells me:
"This phone has been flashed with an unsupported configuration for companion.
You must re-flash it as either signed/user or unsigned/userdebug."
I´m on latest cm14 build for OnePlus 3, but also found users, that get this error on official Android.
So whats to do, to get it working? Is it, because I´m not in beta-program for Android Wear APK, just use Dev Preview on my Watch?
If so, how can I participate to APK´s beta program?
EDIT: Finally found way to participate beta program, but app doesn´t work even now.. reinstalled already 3 times
I'm having the same issue with CyanogenMod on my HTC one m8 (w/ LG watch urbane 2)... I did the app the 'right' way... Was about to try apkmirror version but now I see u have the same problem with that...
The answer is in this thread here
http://forum.xda-developers.com/showpost.php?p=68924594&postcount=285
Edit the build.prop
edit -this is the direct link to the post. Now that I can search and copy urls, I think the first link was wrong thread.
In case anyone else sees this as the answer... be careful when doing that edit.... I did on my HTC One m8 (running cm nightlies).... killed my phone and can't get into recovery to try and revert the change.
Edit: Finally fixed my m8... Moral of the story is: Don't blindly edit the build.prop file... That simple change can, at least in certain cases, cause the phone to not boot.
That solution does not work for me (I'm on cm13 klte snapshot).
Does anyone have another suggestion?
VollNoob said:
That solution does not work for me (I'm on cm13 klte snapshot).
Does anyone have another suggestion?
Click to expand...
Click to collapse
Make the change, then reboot. Didn't work for me before rebooting, but worked after.
Pkt_Lnt said:
The answer is in this thread here
http://forum.xda-developers.com/showpost.php?p=68924594&postcount=285
Edit the build.prop
edit -this is the direct link to the post. Now that I can search and copy urls, I think the first link was wrong thread.
Click to expand...
Click to collapse
where to find the build.prop?? thank you
Synthi said:
where to find the build.prop?? thank you
Click to expand...
Click to collapse
In your phone /system folder. Edit with a root enabled file manager.

Categories

Resources