Is it possible to run two instances of the same app? - Android Q&A, Help & Troubleshooting

I've been using a GTD app to keep track of things. My business partner will be joining me soon with an android device. I'm wondering if it is possible to run two instances of this GTD app so that I can have one for personal and one for business. The business one would be so that he can also run the app and we can sync our schedules.
Thanks,
PEZ

for schedule, you can make another one Gmail account for it. Both phone sign in with this account will receive the same schedule
Accidentally sent from my Google Nexus S using XDA Premium

Yeah but I don't want to use google and I want to run two instances of my GTD APP

As far as I know its impossible because every app has its own name its known by to the system, eg testapp.com, so what happens is when you click an app to try running a second copy it naturally just resumes it instead because your asking it to run an app you already paused.
Dave
Sent from my LG P920 using Tapatalk

It would be possible if you were to decompile the .apk , edit the manifest file to rename the app to something else so the system thinks its a different apk, then compile, sign it, and install to phone, hassle free.
Not too hard

gr4ndm4st3r_bl4ck said:
It would be possible if you were to decompile the .apk , edit the manifest file to rename the app to something else so the system thinks its a different apk, then compile, sign it, and install to phone, hassle free.
Not too hard
Click to expand...
Click to collapse
i like your algorithm. maybe this could be made into an app

I'd like to know as well
I use the logitech alert security system at multiple locations and it's a pain to keep logging out and logging on with another account

I use "Parallel Spaces", but have a lot advertisment and run not so god ...
https://play.google.com/store/apps/details?id=com.lbe.parallel.intl&hl=es_419

In case anyone is still looking for a solution: there an app in the Google Play Store called "App Cloner" that works really well for my purposes.

Related

[Q] What does 'freezing' an app exactly mean?

Hi,
what does it mean technically if an app is "freezed"? Is the APK moved to another location, or are the unix access rights altered, or is a reference to the app deleted from some kind of "registry" of the Android system, or what else? Can it be done manually by a file manager?
Thanks,
Stefan
It can be done using the purchased version of Titanium Backup and probably a few other apps. It basically renders the app inactive without uninstalling it. Helpful for bloatware that runs in the background but you can't decide if you want to delete it or not.
Thanks, but this was not my question...
lowandbehold said:
It can be done using the purchased version of Titanium Backup and probably a few other apps. It basically renders the app inactive without uninstalling it. Helpful for bloatware that runs in the background but you can't decide if you want to delete it or not.
Click to expand...
Click to collapse
Yes, I know, but what does it do exactly on file system level? Doesn't anybody know?
stbi said:
Yes, I know, but what does it do exactly on file system level? Doesn't anybody know?
Click to expand...
Click to collapse
Most freezing apps simply rename the app to be frozen with an extension, like in the case of Bloat Freezer (IMHO the best one) the frozen app gets a .bzw extension. It remains in place but of course cannot be executed. The nice part is that if you run into an issue you can just rename the app back to what it was (assuming that you have root).
It works!
docfreed said:
Most freezing apps simply rename the app to be frozen with an extension, like in the case of Bloat Freezer (IMHO the best one) the frozen app gets a .bzw extension. It remains in place but of course cannot be executed. The nice part is that if you run into an issue you can just rename the app back to what it was (assuming that you have root).
Click to expand...
Click to collapse
Cool, so simple - thanks! So it can be done with any file manager.
I've just successfully frozen the preinstalled "LGWorld.apk" by renaming it to "LGWorld.apk.bak". As soon as I had done this, a message popped up, saying "Deinstalled", and the icon disappeared from the app drawer, and also the update for "LG World" vanished from the Market app.
Hmm.. freezing doesn't mean rename. It is being remove from system. If.you rename yourself, the apps may failed to work.
Accidentally sent from my Google Nexus S using XDA Premium
Freezing the app works via decreasing the temperature of the app to roughly 50 Kelvin. At this point the the app's molecular structure becomes a super condensed crystal lattice. Due to the nature of the crystal lattice, android treats the super dense app as non existent. Essentially the app is deleted from your system completely. However, think of it not as a permanent deletion but rather a reversible one. Should you chose to 'restore' the app, you can defrost the app. You could defrost the app using a microwave but I for one use TB Pro as it does a far better job.
lambstone said:
Freezing the app works via decreasing the temperature of the app to roughly 50 Kelvin. At this point the the app's molecular structure becomes a super condensed crystal lattice. Due to the nature of the crystal lattice, android treats the super dense app as non existent.
Click to expand...
Click to collapse
Haha smart ass.
lambstone said:
Freezing the app works via decreasing the temperature of the app to roughly 50 Kelvin. At this point the the app's molecular structure becomes a super condensed crystal lattice. Due to the nature of the crystal lattice, android treats the super dense app as non existent. Essentially the app is deleted from your system completely. However, think of it not as a permanent deletion but rather a reversible one. Should you chose to 'restore' the app, you can defrost the app. You could defrost the app using a microwave but I for one use TB Pro as it does a far better job.
Click to expand...
Click to collapse
ha ha ha! that was hilarious man
Press THANKS
stbi said:
Hi,
what does it mean technically if an app is "freezed"? Is the APK moved to another location, or are the unix access rights altered, or is a reference to the app deleted from some kind of "registry" of the Android system, or what else? Can it be done manually by a file manager?
Thanks,
Stefan
Click to expand...
Click to collapse
Press thanks if I helped
Source - How TO Geek
Manufacturers and carriers often load Android phones with their own apps. If you don’t use them, they just clutter your system and sometimes in the background, draining resources. Take control of your device and stop the bloatware.
We’ll be focusing on disabling – also known as “freezing” bloatware here. It’s a safer process than uninstalling the bloatware completely, and is also easier to accomplish with free apps.
Uninstalling vs. Freezing
Uninstalling an app is exactly what it sounds like – the app is entirely removed from your device. Unfortunately, it’s not possible to get many of these preinstalled apps from the Play Store if you ever need them again. Uninstalling some preinstalled apps may result in problems or instability, so you could run into problems.
It’s safer to “freeze” apps instead of uninstalling them. A frozen app is disabled completely – it won’t appear in your app drawer and it won’t automatically start in the background. A frozen app cannot run in any way until you “unfreeze” it. Freezing and unfreezing are instant processes, so it’s easy to undo your changes if you end up freezing a necessary app.
If you really must uninstall apps, you should freeze them first and wait a few days to ensure that your phone or tablet works properly without them.
You can’t uninstall or freeze preinstalled bloatware apps without root access and third-party app managers. Try and you’ll find the options grayed out in the standard Android interface.
klacenas said:
ha ha ha! that was hilarious man
Click to expand...
Click to collapse
I understand and have frozen quite a few apps with TB Pro. My issue is there are shine pre-installed apps that I like to use, but when I run the task killer, they're always running. Is there a way I can fix them where they don't keep starting immediately after killing them, but still having them available when I want to use them?
donnebonn said:
I understand and have frozen quite a few apps with TB Pro. My issue is there are shine pre-installed apps that I like to use, but when I run the task killer, they're always running. Is there a way I can fix them where they don't keep starting immediately after killing them, but still having them available when I want to use them?
Click to expand...
Click to collapse
you can try greenify it will hibernate the apps and hence the app will be available for you any time
donnebonn said:
I understand and have frozen quite a few apps with TB Pro. My issue is there are shine pre-installed apps that I like to use, but when I run the task killer, they're always running. Is there a way I can fix them where they don't keep starting immediately after killing them, but still having them available when I want to use them?
Click to expand...
Click to collapse
Another app called greenify. Or using an autostart manager to prevent them from running without ykur intervention.
sangalaxy said:
you can try greenify it will hibernate the apps and hence the app will be available for you any time
Click to expand...
Click to collapse
Thx a bunch. I dwld and installed the grenify app and disabled them, however, when I run my task killer the gallery app is always running. I wanted to greenify it, but it's not showing up in the greenify app, even when I did a search for it, it just took me to my home screen. I clicked on the app and it just opened but I didn't see any options to greenify it. Any suggestions? Thx for ur help.
so at the end is freezing and renaming the same thing? no one cleared that up, i usually just rename to BAK and thats it, what does TItanium apart from renaming?
ok i answer myself, freezing is the same as going to app manager, and selecting DISABLE
or from a root terminal using:
pm disable {package_name} (e.g. # pm disable com.android.browser)
wich calls:
/system/bin/pm
wich in turn contains:
# Script to start "pm" on the device, which has a very rudimentary
# shell.
#
base=/system
export CLASSPATH=$base/framework/pm.jar
exec app_process $base/bin com.android.commands.pm.Pm "[email protected]"
what it does is set a flag for a component to some of different values:
COMPONENT_ENABLED_STATE_DEFAULT
COMPONENT_ENABLED_STATE_DISABLED
among others. (http://developer.android.com/reference/android/content/pm/PackageManager.html)
where does it store this flag: I DONT KNOW
is this flag a value inside some manifest/ini file? : IDK
is this flag st in the file system? IDK
can someone show me the light?
edit: I DONT KNOW for sure but i think it stores it in : /data/system/packages.xml
that is generated by package manager taking info fro each app manifest. i hope i am right, but dont take my word as absolute truth since it was a quick google research lol
Renaming the apk file can result in unwanted behaviour... I learned by trial&error! I'm running MIUI 6 and wanted Google Play as default app store and not the MI Market. Renaming the apk file for the Mi Market gave me the result I wanted: launching Google Play whenever I clicked a link to a certain app. But that was until I rebooted the phone... it got stuck on the MI startup logo. After renaming the Mi Market apk file in twrp recovery, my phone booted again.
So might try freezing it to see if it will do the job properly.
Freezing Mi Market with AppFreezer worked like a charm!
el_jefe said:
Renaming the apk file can result in unwanted behaviour... I learned by trial&error! I'm running MIUI 6 and wanted Google Play as default app store and not the MI Market. Renaming the apk file for the Mi Market gave me the result I wanted: launching Google Play whenever I clicked a link to a certain app. But that was until I rebooted the phone... it got stuck on the MI startup logo. After renaming the Mi Market apk file in twrp recovery, my phone booted again.
So might try freezing it to see if it will do the job properly.
Click to expand...
Click to collapse
Depends what you mean by "renaming." Changing the extension from .apk to .apkold or .bak or something like that will harmlessly freeze the app since it's no longer seen as an apk by the system. Renaming the app itself is another thing entirely.
I renamed the extension to .noapk and Miui wouldn't boot anymore.
Good stuff

problem with sideloaded app?

Is anybody else having problems with the functionality of sideloaded apps on a non-rooted NT?
I was able to sideload the HomeWork app from the google marketplace (install to phone, titanium backup, uncompress the .apk, push to NT and install). It is a wonderful and simple app my son uses to keep track of his homework (because he won't use a paper planner).
On the surface the app seems to work, but anytime I try to edit the school schedule or add homework assignments the tablet freezes for a few seconds. Once control returns, the app functions normally without the changes having been committed.
This almost feels like a permissions issue where the app doesn't have permissions to save the changes other than the fact that I can import the save file I brought over from his Cruz Reader without problems. This leads me to believe the problem is something else, but I'm not sure what.
Is anybody else encountering similar issues with sideloaded apps? Is there a fix or something I should try? If this has been addressed already, I haven't found it.
AwfulFaded said:
Is anybody else having problems with the functionality of sideloaded apps on a non-rooted NT?
I was able to sideload the HomeWork app from the google marketplace (install to phone, titanium backup, uncompress the .apk, push to NT and install). It is a wonderful and simple app my son uses to keep track of his homework (because he won't use a paper planner).
On the surface the app seems to work, but anytime I try to edit the school schedule or add homework assignments the tablet freezes for a few seconds. Once control returns, the app functions normally without the changes having been committed.
This almost feels like a permissions issue where the app doesn't have permissions to save the changes other than the fact that I can import the save file I brought over from his Cruz Reader without problems. This leads me to believe the problem is something else, but I'm not sure what.
Is anybody else encountering similar issues with sideloaded apps? Is there a fix or something I should try? If this has been addressed already, I haven't found it.
Click to expand...
Click to collapse
If the app needs root access then it won't work. Apps that require root access can sometimes install but will not operate properly. Does the info on the app on the Market mention this? Changing permissions , I seem to recall, is an function requiring superuser. Could be wrong on that though.
It shouldn't require root. I was hoping to avoid rooting the NT (it's primarily for a 12 year old) , but I might need to.
Thanks for the suggestion.
Sent from my A500 using xda premium
AwfulFaded said:
It shouldn't require root. I was hoping to avoid rooting the NT (it's primarily for a 12 year old) , but I might need to.
Thanks for the suggestion.
Sent from my A500 using xda premium
Click to expand...
Click to collapse
My pleasure. You might look around for an app that performs in a similar manner. Most tasks have several options when it comes to apps.

[Q] Exchange Support with Mail App in Rooting Script

Has anyone gotten exchange to work? Not quite the same setup as my phone. Finishes wanting additional security settings. Touchdown worked, but I don’t want to have to buy it.
Thanks
miniblue said:
Has anyone gotten exchange to work? Not quite the same setup as my phone. Finishes wanting additional security settings. Touchdown worked, but I don’t want to have to buy it.
Thanks
Click to expand...
Click to collapse
Did you Googled abot how to set it up in android
Sent from my LG GT540 Swift using XDA App
I have set it up many times on my Droid. The NT shoves fewer screens. I kind of wonder what will happen if I copy the backup files and do a titanium restore.
miniblue said:
I have set it up many times on my Droid. The NT shoves fewer screens. I kind of wonder what will happen if I copy the backup files and do a titanium restore.
Click to expand...
Click to collapse
I sent you a pm
I tried the titanium backup restore route and got further. It's still looking for updating security settings and then force closes. I'm really looking for how to get THIS app to work. B&N states their email app doesn't support exchange and to use touchdown. Touchdown does work and works well. I just don't like paying for something if I already have something that should function. I have 29 days left on my touchdown demo to get the native google app running.
Working with Address Book
Using shafty023's modified Email app, which fools exchange I got my company exchange server talking to the Nook Tablet. I found that Go Contacts EX works well for the contact list. Several others I tried force closed.
Thanks, shafty023

[Q] How to transfer an app from one android phone to another? (special case)

Here is the problem;
I have a mobile banking app on my phone. The app is in the store and can be downloaded, but it has to be activated in order to be able to use it. So every time time I change the phone (and I do that once or twice a year), I have to go to the bank to get the code. I understand that this is a security measure. However, I'm so sick of this, that I'd like to try solving it.
Now, I'd like to be able to transfer that app to another phone without going to the bank/getting the new code. Is there a way to do this?
Maybe with Titanium Backup!
No. I tried that some time ago. If I recall correctly, it just creates APK file from installed app, and this file can transfered to another device. There it installs like any other new APK. And in this case, it will ask me for an activation code. At least that's how it was last year when I tried to transfer the same app to my HD2.
So restoring data as well from TB does not work?
I'm thinking if there is any "loose" folder post activation on the sd card that isn't caught by titanium.
Sent from my GT-N7000 using Xparent ICS Tapatalk 2
I just tried. This time I used app+data. And I got behind the activation code point, but I'm stuck on PIN nr. First 2 times it said wrong pin, although I entered the same PIN I'm entering on my old phone. 3rd time it started to show various errors.
I guess it got locked somehow. It does happen if you enter the wrong PIN 3 times.
The interesting thing is that the app is still working on my old phone.
I guess they protected it well.
Just a noob here but maybe transfer the apk and the data file with Bluetooth file transfer I've used it for apks and zip files. hope this helps
Edit : and fix permissions ?
Sent from my SCH-I535 using xda app-developers app
I doubt there would be any difference in sending the files via bluetooth.
In the play store sign-in to the same email that you used. You can find all your apps synchronized and you can re-download and install on the new device.
Not true.
Not every app.
Sent from my GT-I9100 using Tapatalk 2
I don't think it would be possible because it looks that app code is linked with hardware. Whener you are going to change hardware you will need new code.
That's a good security measure, you should be grateful to your bank.
Sent from my LG-P500 using xda
Your app download history is saved to your Gmail account, so when you sync that to your new phone, all the apps will be there.
OR
Store
APK Extractor
Short press
Share
options email/bluetooth

[Q] Modifying Facebook APK to allow contact syncing

I am wondering if there is a way to modify the Facebook APK to get contact sync working without modifying ContactProvider.apk as I am using a non rooted phone and don't want to root just for this. In the past I have used HaxSync but with the latest Facebook APIs that no longer works.
Is it simply a case of adding the WRITE_CONTACTS permission to the Facebook APK and if so is that (easily) possible?
Thanks for any help, if there is a better subforum for this type of thing please let me know also, thanks.
I don't believe it is app specific, it's through their servers, if I understand the problem correctly. The only thing I have seen from the apps that used to work is they say the contact has to grant permission to let them sync the info before it will work. This seems like just modding the app will not be enough to help accomplish what you are trying to do.
es0tericcha0s said:
I don't believe it is app specific, it's through their servers, if I understand the problem correctly. The only thing I have seen from the apps that used to work is they say the contact has to grant permission to let them sync the info before it will work. This seems like just modding the app will not be enough to help accomplish what you are trying to do.
Click to expand...
Click to collapse
For third party apps, (e.g. HaxSync, UberSync etc.) what you're saying is true. These apps no longer function due to server side changes by Facebook in the form of updated APIs (as I mentioned in the OP).
However I am talking about the official Facebook app. With this app, the contact sync still works perfectly, on ROMs where ContactsProvider.apk is modified to explicitly grant permission to the Facebook app (com.facebook.katana) to write contacts, without the app itself requiring the permission that every other app needs. OEMs such as Samsung modify ContactsProvider.apk in this way so as to allow Facebook to sync (by basically adding an exception to the permission check). There are also flashable mods for custom ROMs, as well as an Xposed module which performs this task. Obviously these require unlocked bootloader & custom recovery, or root & Xposed respectively.
However, I believe that if the app itself is modified to require this permission (i.e. android.permission.WRITE_CONTACTS, it should also work, without requiring an exception in ContactsProvider.apk.
The reason modifying ContactsProvider is "preferred" by most is that doing it that way allows the app to be installed from the Play store and thus maintain auto-updates, whereas if you modify the APK you no longer get auto-updates, and would have to manually update. But that's worth it to me to get contact syncing working.
EDIT: On closer inspection, it may be more complicated than I thought. The Facebook app already has this permission, there must be something else preventing it from functioning. I still believe it is possible to get it working simply by modifying the APK, but it is likely beyond my capabilities.
SifJar said:
I am wondering if there is a way to modify the Facebook APK to get contact sync working without modifying ContactProvider.apk as I am using a non rooted phone and don't want to root just for this. In the past I have used HaxSync but with the latest Facebook APIs that no longer works.
Is it simply a case of adding the WRITE_CONTACTS permission to the Facebook APK and if so is that (easily) possible?
Thanks for any help, if there is a better subforum for this type of thing please let me know also, thanks.
Click to expand...
Click to collapse
Actually this fiasco started a couple of years ago. When Facebook & Google had a spat over data sharing. Facebook app has the support to sync contacts. But it is not natively supported. It is just a matter of 0 & 1. But OEM like Samsung, HTC have made contract with Facebook individually, so it is supported on those phones.
For syncing, if you are rooted you can use an Xposed module here in XDA. It's something like Xfbmod. And for the apps, Sync.me still works like a charm. I used it just a while ago.
Dexter_S said:
Actually this fiasco started a couple of years ago. When Facebook & Google had a spat over data sharing. Facebook app has the support to sync contacts. But it is not natively supported. It is just a matter of 0 & 1. But OEM like Samsung, HTC have made contract with Facebook individually, so it is supported on those phones.
For syncing, if you are rooted you can use an Xposed module here in XDA. It's something like Xfbmod. And for the apps, Sync.me still works like a charm. I used it just a while ago.
Click to expand...
Click to collapse
I've seen a few forum posts referencing things along these lines, but I have found absolutely zero concrete evidence of such a "spat". There is nothing in Android to specifically disallow FB syncing, the OEMs that support it have modified the framework to explicitly grant the app permission. For a reference on this, check the CM gerrit issue about this. To quote Steve Klondik (founder of CM) on this:
Yeah, screw Facebook. We should not be hacking up the framework because they won't fix their app.
Click to expand...
Click to collapse
The OEMs have decided to make a workaround, for their users benefit. Not because they have some contract, of which I have seen no evidence. The issue is with Facebook's app and their refusal to fix the issue.
As I mentioned in the OP if you bothered to read it, I am not rooted and do not want to be, and am also fully aware of the Xposed module.
As for Sync.ME, I installed it the other day and it asked straight away to upload all my contact data to their servers. It's not my place to put the details of my friends and family in the hands of some company I'm not particularly familiar with.
Tip: Installing Facebook APK version 28 or lower will give you the ability to sync contacts again. Updating to the latest version will still allow you to sync for a limited amount of time until it re-downloads updated configuration files (I think?). So I think the problem is just some config or database file disabling the feature.
ArmsAsuncion said:
Tip: Installing Facebook APK version 28 or lower will give you the ability to sync contacts again. Updating to the latest version will still allow you to sync for a limited amount of time until it re-downloads updated configuration files (I think?). So I think the problem is just some config or database file disabling the feature.
Click to expand...
Click to collapse
I installed version 28 and got no option to sync. Are you on AOSP or some OEM/custom ROM? Version 28 was released long after sync stopped working on the official FB app for myself and many other people.
SifJar said:
I installed version 28 and got no option to sync. Are you on AOSP or some OEM/custom ROM? Version 28 was released long after sync stopped working on the official FB app for myself and many other people.
Click to expand...
Click to collapse
I'm using Samsung Note 4 official rom. Try older ones? Mine doesn't have sync if I use versions above 28. It stopped working for me around October 1st week (Version 49). So when I want to sync, I have a titanuim backup of my version 24 data and just restore it (without restoring app itself). That way I can sync for a few minutes until the menu disappears again.
Edit: read the whole thread and I see that the problem was on other roms only. But nevertheless, Facebook disabled contacts syncing for all phones now since around version 40+. Only way to make it work is to downgrade or the steps I used above.

Categories

Resources