Hi all, I am trying to do the following:
1. Present the user an Activity with a WebView to our website. 2. Have the user submit a form on the website. 3. Have the website redirect the user to a uri that will open a different activity in the app with data in the querystring. >From the documentation, and many, many similar questions I've seen on the web it appears that it should be simple: just adding the following intent-filter to my Activity in the android manifest should do it: <intent-filter> <action android:name="android.intent.action.VIEW"/> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:scheme="myapp-scheme" android:host="android" /> </intent-filter> With the redirect going to myapp-scheme://android?returnedparams In fact this was working for me for a little while on one machine (not on the other) until I had to delete my virtual device because it refused to boot up anymore. Now it doesn't work on either of my machines. The browser now just puts up a "web page not available" page. When I switch the scheme to http and the host to companydomain.com my activity is correctly triggered (with an unacceptable popup that asks the user if they want to use my app or the browser to view the site), but it doesn't work with a fake host like android.companydomain.com, nor with my own scheme. I am targeting api level 7 and I have tested this under virtual devices running v2.1 and v2.2. So kind, generous, intelligent people of the internet, can you please tell me why using my own scheme doesn't work? Or if there is any way to inspect the package manager to make sure that my intent-filter is correctly registered, and some way to intercept whatever the browser does to query the package manager to see why it isn't matching my filter. Thanks, --Ben -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en