So, that's the link in the Web page to launch your app? On Sep 12, 6:14 am, Mark Murphy <[email protected]> wrote: > On Sat, Sep 11, 2010 at 9:46 PM, ls02 <[email protected]> wrote: > > I added to the manifest file for the activity to be launched: > > > <intent-filter> > > <action android:name="android.intent.action.VIEW"></action> > > <category android:name="android.intent.category.DEFAULT"></category> > > <category android:name="android.intent.category.BROWSABLE"></category> > > <data android:scheme="my_scheme"/> > > </intent-filter> > > > I load the link in WebView: > > > mWebView.loadData("<a href=\"my_scheme://launch_my_app/refresh_all > > \">Launch App</a>", "text/html", "utf-8"); > > > When I click on the link I get the error -10 "The protocol is not > > supported" in My WebViewClient.OnReceivedError override. > > See this sample project for some ways to launch an activity from a > link in a Web page: > > http://github.com/commonsguy/cw-advandroid/tree/master/Introspection/... > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > Android Training...At Your Office:http://commonsware.com/training- Hide > quoted text - > > - Show quoted text -
-- 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

