Need assistance with the Android Manifest XML File within my Launcher App -
hoping can point out failure here. ive developed custom launcher app want replace home screen. want activity accessible via custom url "myapp://launcher.android.com."
i'd love explain why, cut long story short, android gods demanded consolidate 2 activities (each working fine) single activity.
can check on manifest file point out errors or fields need fix? or superior alternative?
<activity android:name=".kiosklauncher" android:label="@string/app_name" android:theme="@android:style/theme.devicedefault.noactionbar" > <intent-filter> <action android:name="android.intent.action.main" /> <category android:name="android.intent.category.launcher" /> <category android:name="android.intent.category.home" /> </intent-filter> <intent-filter> <data android:scheme="myapp" android:host="kiosk.androiddev.com" /> <action android:name="android.intent.action.view" /> <category android:name="android.intent.category.default" /> <category android:name="android.intent.category.browsable" /> </intent-filter> </activity>
you need attribute added activity tag. try adding activity tag:
android:launchmode="singletask"
Comments
Post a Comment