Skip to main content
Legend
July 30, 2012
Answered

Where's my app? Android disappears (but is still installed) after setting intent.

Hi,

I've compiled an app for iOS and Android using a custom url scheme.

The scheme works a dream, but...

Since adding in my intent filter for Android, I've found the app doesn't show in "Applications" view, so I can't drag it onto the desktop / page (whatever the correct terminology is). I know my app is both installed and working as I can launch it from a browser using my custom url scheme, it is just utterly impossible to find / launch / uninstall as it doesn't appear anywhere...

I've pasted my intent XML below, please can anyone who understands these things take a look and let me know if I've done something stupid, such as block out the default behaviour or something?

Many thanks,

Gaius



<application android:enabled="true">



<activity android:excludeFromRecents="false">





<intent-filter>







<action android:name="android.intent.action.MAIN" />



<category android:name="android.intent.category.LAUNCHER" />






<action android:name="android.intent.action.VIEW"/>



<category android:name="android.intent.category.BROWSABLE"/>


<category android:name="android.intent.category.DEFAULT"/>


<data android:scheme="acustomurlschemevalue"/>


</intent-filter>


</activity>


</application>
This topic is closed to new replies. Start a new post to keep the conversation going.
Gaius CoffeyCorrect answer
Legend
July 30, 2012

Sorted.

I needed to list intents separately:

<application android:enabled="true">

                    <activity android:excludeFromRecents="false">

                        <intent-filter>

                           

                            <action android:name="android.intent.action.MAIN" />

                            <category android:name="android.intent.category.LAUNCHER" />

                         </intent-filter>

                        <intent-filter>

                            <action android:name="android.intent.action.VIEW"/>

                            <category android:name="android.intent.category.BROWSABLE"/>

                             <category android:name="android.intent.category.DEFAULT"/>

                            <data android:scheme="tiddlypompomppom"/>

                        </intent-filter>

                    </activity>

                </application>

1 reply

Gaius CoffeyAuthorCorrect answer
Legend
July 30, 2012

Sorted.

I needed to list intents separately:

<application android:enabled="true">

                    <activity android:excludeFromRecents="false">

                        <intent-filter>

                           

                            <action android:name="android.intent.action.MAIN" />

                            <category android:name="android.intent.category.LAUNCHER" />

                         </intent-filter>

                        <intent-filter>

                            <action android:name="android.intent.action.VIEW"/>

                            <category android:name="android.intent.category.BROWSABLE"/>

                             <category android:name="android.intent.category.DEFAULT"/>

                            <data android:scheme="tiddlypompomppom"/>

                        </intent-filter>

                    </activity>

                </application>

Translate