Hi All, Thanks for all the info. I specified my app's activity to be BROWSABLE in the AndroidManifest file. I tried by using my own URI scheme. (e.g. myownapp://dummy)
Then I wrote a sample html page, and specified a link which upon clicking will start the app. Of course for this to work it must be assumed that the app is already pre-installed in the device. As I am testing with my own app and my own webpage, I think I need not stick to using universal namespace. ( I hope i am correct but this method works!) Thanks and Regards, Perumal On Sun, Mar 27, 2011 at 2:13 AM, Dianne Hackborn <hack...@android.com>wrote: > If you are using WebView, you can do whatever you want by looking for > clicks and using the platform APIs. > > If you are trying to do this from a web page the user is interacting with > in the standard browser, you should use the mechanism I am suggesting. > > > On Sat, Mar 26, 2011 at 9:40 AM, Lutz Bendlin <l...@pocketgpsworld.com>wrote: > >> I didn't mean "access", it was more about being able to launch the other >> activity. Surely you could craft a webpage with callbacks to your code that >> would then start the launcher intents ? >> >> >> >> *From:* Dianne Hackborn [mailto:hack...@android.com] >> *Sent:* Friday, March 25, 2011 10:02 PM >> *To:* android-developers@googlegroups.com >> *Cc:* Lutz Bendlin; perumal316 >> *Subject:* Re: [android-developers] Re: Starting An Android App From An >> Url >> >> >> >> Yes it does. The application uses the tags I showed to indicate it can >> handle a particular (or set of) http: URIs. >> >> >> >> Nothing gives you direct access to any application on the phone. The >> application must at least opt in to being launched from the browser by >> supporting the BROWSABLE category for the activities it will allow to be >> launched. >> >> On Fri, Mar 25, 2011 at 5:37 PM, lbendlin <l...@bendlin.us> wrote: >> >> but http:// doesn't give you access to the local applications on the >> phone. That was the OP's question (as I understand it). Do you need to do a >> binding from the webview back to the activity, and then a local translator >> to start the intent? >> >> >> >> >> -- >> Dianne Hackborn >> Android framework engineer >> hack...@android.com >> >> Note: please don't send private questions to me, as I don't have time to >> provide private support, and so won't reply to such e-mails. All such >> questions should be posted on public forums, where I and others can see and >> answer them. >> > > > > -- > Dianne Hackborn > Android framework engineer > hack...@android.com > > Note: please don't send private questions to me, as I don't have time to > provide private support, and so won't reply to such e-mails. All such > questions should be posted on public forums, where I and others can see and > answer them. > > -- 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