Reputation: 1992
Recently installed Google Dialer App from Play store. One interesting thing noticed is after Dialer App install it doesnt created as separate App, instead new tab in Google Hangout was created. As developer, How it is possible do that? Is there way to divide a single one to multiple APK and publish in Play store as different App?
Upvotes: 0
Views: 1072
Reputation: 11474
Yes.Google provides support for Multiple APK.
There can be multiple use cases where we can just divide our APK to one or two.
Use Cases:
Different APK for,
For more information please check out: https://developer.android.com/google/play/publishing/multiple-apks.html
Thank You :)
Upvotes: 1
Reputation: 1892
<application android:allowBackup="true"
android:icon="@drawable/main_icon"
android:label="@string/main_name"
android:theme="@style/AppTheme" >
<activity android:name="com.foobar.MyActivity2"
android:taskAffinity="com.foobar.MyActivity2"
android:icon="@drawable/icon1"
android:label="@string/name1" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="com.foobar.MyActivity2"
android:taskAffinity="com.foobar.MyActivity2"
android:icon="@drawable/icon1"
android:label="@string/name2" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
This is here you can create multiple launchers from on application. Each launchers will redirect to the specified activity/screen decided by you at the time of apk compilation.
can find more about this at Multiple launchers from single apk
Upvotes: 0