Home > Mobile >  How Android open function code is used to implement the app double
How Android open function code is used to implement the app double

Time:10-14

How Android code is used to implement the app double open (thinking can also be), which includes knowledge,

CodePudding user response:

There is no the same APP double drive, two must ensure that the APP is not the same as the package name, it means that the two APP (two function exactly the same APP you can change the package name),
If the same APP, for the same package name can't exist APP double open, thought also have no, android is not allowed,

CodePudding user response:

Think of so many, the double open

CodePudding user response:

Millet MIUI8 can double open the APP

CodePudding user response:

Double open? The tiger is frightened and flies the sight of this two word

CodePudding user response:

Only have different package name,
Even application content is the same, but the actual sense, is a different application,

CodePudding user response:

Will the Launcher activity a copy in the AndroidManifest. XML defined in both the Launcher activity, specify different android: process attribute, can?

CodePudding user response:

Or just a LauncherActivity in which judge whether need to start the application in a new task,

CodePudding user response:

Technology of iteration, the elder brothers

CodePudding user response:

It is as you say, Android some phone support [two] now? How can an app double open, package name the same app on a mobile phone allows only one,

CodePudding user response:

Application in double open can consider implementing, stack does not maintain two different tasks, two copies of all pages have a typical example is the browser, can open a lot of tabs,
Desktop icon can be used a the elder brothers put forward the idea of above, define multiple launcher, corresponding to different application stack, data independence between the two stacks need yourself to maintain,

CodePudding user response:

This is not a line 2 line, to solve the reference of making project at https://github.com/asLody/VirtualApp
  • Related