• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps How to Combine 2 Android Apps

Experts,


I am having the source code of 2 android apps which have been separately developed. I need to combine both of them as a single application so the output would be a single apk file. Let me more specific.

  1. App 1: Shop list app -
  2. App 2 Calculator app.
using a button click in the App 1 I would want to call the second app Calculator. I have researched on Internet and I am seeing some suggestions like library project etc.
Anyone who has some idea on the feasiblity, please throw some ideas on the same.


Thanks,

Harry
 
one of the worst forums I have ever been a member...130 members viewed and not one person could reply...this seems to be really useless forum
 
There's really no point in replying if all 130 viewed did not know the answer. Would you rather have 130 responses of "I dont know" to a cleaner thread which is still waiting for an answer. Its not called useless. Its just that we dont know how to do what you want.
 
This is not exactly a "techie" forum (unless you post in the development thread), also try the XDA forum.
 
It would also help if the question being asked had some clarification. As it is currently stated there are many many possibilities on how to address it.

Why wouldn't you leave it as two apps that "talk" to each other?

... Thom
 
Replying for @amalkronz's benefit since the OP is long since gone (2011):

1. Itemize your list of classes and resources in your app so you don't forget anything

2. Create a skeleton of your new app

3. Copy/paste the items / components from your other two apps into the new one; it might be advisable to copy to a text file first and then paste into the new shell of the new component--I find (in Eclipse) that I'll get errors because of references that get copied when you do the copy/paste in Eclipse without using the text file as the third party; resolving those errors is frustrating and time-consuming (you will get errors / issues are you do this process at least until you get all of the referenced resources/components built and resolved in your new app)

4. Pick which Activity class from the original two you're going to make your main app and update the AndroidManifest.xml file accordingly (you'll likely be having to update that file anyway with any specific references from the original two apps)

5. From your new "main" Activity, insert/create a new button on your main screen with an associated onClickListener and have it do the startActivity for the "other" Activity (i.e., the main activity for your second app).

Test/debug/fix/repeat...

Sorry I can't give you specifics (I'm away from my development machine at the moment, too), but your efforts will certainly all depend on the content and behavior of the two apps you're trying to combine.

Best of luck and hope that helps!

:)
 
Back
Top Bottom