Android register url intent

Android-register-url-intent-featured.jpg

I am trying to allow a URI to be registered to open up with my app. Like the PatternRepository on the Blackberry and the CFBundleURLName/CFBundleURLSchemes on the iPhone. How do I achieve the same results on the Android?

The system will be sending emails with the following link: . The idea is that the user should be able to click on the link to open up the customer activity in the application.

I’ve tried numerous suggestions from other SO posts but I cannot get the OS to recognize the pattern and open my app.

myapp.mycompany.com/index/customerId/12345 portion of the link and it opens it in a browser. The myapp:// part is not linkified.

The standard mail application treats the entire link as plain text.

What am I missing here?

PS: I’ve already looked at How to implement my very own URI schema on Android and How to register some URL namespace (myapp://app.start/) for accessing your program by calling a URL in browser in Android OS?

The Manifest:

xmlns:android=”http://schemas.android.com/apk/res/android”
android:versionCode=”2″
android:versionName=”0.0.8″
package=”com.mycompany.myapp.client.android”>

android:minSdkVersion=”7″
android:targetSdkVersion=”7″/>



android:label=”@string/app_name”
android:name=”myappApplication”
android:icon=”@drawable/ic_icon_myapp”
android:debuggable=”true”>

android:label=”My App”
android:name=”.gui.activity.LoginActivity”
label=”@string/app_name”>




Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>