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?
Asked
Active
Viewed 1,066 times
0
-
yeah its possible you need to add multiple launchers/intent-filter at manifest for multiple activities – Ankush Bist Jul 05 '16 at 04:18
-
@AnkushBist thanks for immediate response, kindly provide bit more details or any link if available . – arvindwill Jul 05 '16 at 04:22
-
have you just started in android or have enough knowledge to develop an android application? – Ankush Bist Jul 05 '16 at 04:37
2 Answers
1
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,
- Mobile and Tablet (Supporting multiple screens)
- Hardware features
- API Levels
- GL Textures
- CPU Architecture
For more information please check out: https://developer.android.com/google/play/publishing/multiple-apks.html
Thank You :)

AndiGeeky
- 11,266
- 6
- 50
- 66
0
<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

Community
- 1
- 1

Ankush Bist
- 1,862
- 1
- 15
- 32