Launch view using different app launchers


#1

I have designed an app using ionic 1.x/cordova for android. I want multiple launchers that show different views of the ionic app. I have created launchers using AndroidManifest.xml and creating two activities

<activity android:label="Main" android:launchMode="singleTask" android:name="MainActivity" >
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>

<activity android:label="Books" android:launchMode="singleTask" android:name=".book" android:taskAffinity=".book">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>

I have two icons which is what I want. Problem is, how to I get the second icon to launch the specific view I want in a separate instance of the same app? Thanks!


#2

Hello gently1 please are you have a solution of your problem?? please can you help me ?