Hello Mark,

I am facing problem for Uri scheme to launch application from browser.

I have created a html page with the below link:
<a 
href="intent:#Intent;action=com.test.myapp.AUTO_ENROLL_ACTION;package=com.test.myapp;end">click
 
to load</a>

and in the application Menifest file I have added Intent-filter for an 
Activity like:
<intent-filter>
   <action android:name="com.test.myapp.AUTO_ENROLL_ACTION" />
   <category android:name="android.intent.category.DEFAULT" />
   <category android:name="android.intent.category.BROWSABLE" />
</intent-filter>

My application package name is: com.test.myapp

But My Application is not launching when I am clicking the above link 
mentioned in Html page.


Please suggest what is wrong I am doing or required more steps to perform 
the app launch.


Thanks !!




On Wednesday, 17 August 2011 15:57:11 UTC+5:30, Mark Murphy wrote:
>
> On Tue, Aug 16, 2011 at 4:56 PM, ___ <[email protected] <javascript:>> 
> wrote:
> > (using a custom android:scheme works in both but does not achieve the
> > same direct Activity triggering for a custom action)
>
> I do not understand this statement. Set up your <intent-filter> to
> watch for http://yourorganization.com/some/path, and use that URL in
> the hyperlinks. Bonus points for putting a page on your Web site at
> that URL, so people who don't have your app installed get a real page
> rather than a 404.
>
> -- 
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> _The Busy Coder's Guide to *Advanced* Android Development_ Version 2.0
> Available!
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to