This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Is it possible to install multiple android applications in one APK file?
Actually I have 2 applications
1. Main application (contains many activities)
2. Additional application (contains one widjet)
My goal is to avoid 2 apk files and deploy 2 applications using only one apk file.
Please suggest how to implement this
What you want is not supported. Put them in a single application. You do not need separate applications here, and there is but one application per APK file.
Related
This question already has an answer here:
Android: app licensing, copy protection
(1 answer)
Closed 9 years ago.
I want to prevent my app from copying from device, ie that would be impossible to pull apk from file system.
Any ideas?
It is not possible. Users with their phones rooted will have the access to your app and they can do what they want with it - you must store your secret data on external servers and use other ways to access it - i.e. require user to log in.
This question already has answers here:
Content Provider Example using two android applications
(2 answers)
Closed 9 years ago.
If this has been answered already, kindly redirect me to the correct post.
Here is the problem:
I have 2 android apps which are under development. I have a requirement where one App (App A) will update a certain field in SQLite DB> Table 'A' and the other App (App B) has to read this entry. The DB will be created and maintained thru App B and not App A.
Is this possible? If so, how?
If more information is required, kindly let me know.
Thanks in advance
Ram
if you share the apps' user id you will be able to use the same database in both apps: sharedUserId
If you want your app data to be shared across all other apps then it will be better option to go for content providers instead of using sqlite.
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Perform a task on uninstall in android
My android app creates some folders on sd card when it is installed on device.
Now If user uninstall the application, I would like to clean up these folders created at the time of creation...so is it possible to implement it in the android OS?
You can not manage the things when your application gets uninstalled from the device. still if you want to delete your folders there is one way(NOT RECOMMENDED), you can make one other application that will watch on your application so when your application gets uninstalled, that app will delete your folders that were created by your app. But it is not the way to achieve this. there are unfortunately no other way to handle things at the time of uninstalling the application.
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Create Free/Paid versions of Application from same code
Im trying to make a donate version of my app on Google Play, but when I go to upload it, it gives me an error that there is already an application with the package name. Is there an easy way to make a duplicate of the app and have a different package name? Thanks.
Another way to handle this, that I've been seeing more and more of, just create a simple app that costs whatever your donation amount is, and link your users to it. It will be something simple, like a thank you card, or even no activity at all. Just remind your users to keep it for more than 20 minutes before deleting it, or it will be refunded.
Google Play uses package names to identify different applications, so you would need to change the package name. If you use Eclipse, it is quite simple to refactor the package name (e.g. if your package name is com.example.test, change it to com.example.test.donate), and then build it again.
This question already has answers here:
Can I use the same keystore file to sign two different applications?
(7 answers)
Closed 6 years ago.
I have 15 android apps to build and host (and update in the future).
Each app has a unique package name.
5 apps will be hosted on one google play account.
the other 10 will be on 10 individual customer accounts.
I dont want a link between the apps, and want to be able to update them seperately in the future.
Question: Can I use 1 Keystore for all? Or will I need a unique keystore for each app? Will this effect the update process in the future? Or do I just need to keep packagename the same to make sure of a successful update?
In theory, you can use the same keystore to sign all the applications. In practice, however, it would be good to use individual keystores per developer accounts. The reason being, they belong to different customers and in future, if somebody else have to update the apps (not you), then you will have to either supply the keystore to the customer or update the application by signing with a different keystore. Both of these can be problematic.