1

Can we have an application controlled by another application both working in the same apk ?

closed as off-topic by Andy Yan, xavier_fakerat, iBug, Akhil, bmdixon Mar 20 '18 at 17:04

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions about writing and publishing Android apps, writing custom ROMs, and other topics that are primarily of concern to developers are off-topic. Consider taking advantage of other resources that may be appropriate for your question." – Andy Yan, xavier_fakerat, iBug, Akhil, bmdixon
If this question can be reworded to fit the rules in the help center, please edit the question.

2

One APK is one application. It doesn't make sense to talk about two applications in the same APK: they're the same application. But one application doesn't have to be one entry in the launcher, or one activity. App developers can put as many launcher entries in an application as they like, creating the appearance of multiple apps which are actually just different parts of the same package. Because they're in one package, they share the same private data and the same process, so they can control each other and work together however the app developer likes.

One example is Google Maps. Although it doesn't any more, it used to contain a second launcher entry, 'Navigation', which would launch Maps in the driving navigation mode. It was a second entry point into the same app, and both front-ends used the same data (saved places, route preferences, &c.).

  • Can I use the downloaded apk in another application and launch that application keeping it in the same app. – Ehtizad Zashkiyor Mar 5 '18 at 13:09
  • What downloaded APK? Your question doesn't say anything about downloading. Perhaps you need to edit the question and explain fully what you're trying to achieve. – Dan Hulme Mar 5 '18 at 13:10
  • Let's say I have the fb app apk and I use it in my own application to give it delay to launch . – Ehtizad Zashkiyor Mar 5 '18 at 13:12

Not the answer you're looking for? Browse other questions tagged or ask your own question.