开发者

Bundling multiple apps I have created into one .apk file

开发者 https://www.devze.com 2023-03-17 01:46 出处:网络
Is it possible to bundle 开发者_开发问答an app and the app settings into one apk file? so I can change the app settings from the \"App settings\"

Is it possible to bundle 开发者_开发问答an app and the app settings into one apk file? so I can change the app settings from the "App settings"

Thanks


If these two apps have no overlaps, you only need to merge the AndroidManifest.xml, res and src folders.

Keep two activities with the following intent filter:

<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>

will make you have two launch entrances in Launcher.

In fact, it's one app with one apk. But since have two launchable activities, user will feel like they have installed two apps with one apk.

Found answer on another question

0

精彩评论

暂无评论...
验证码 换一张
取 消