Mark:

If I build my own app I definitely have access to Android ID,  but my
main question was if I did not use any app and went to www.cnn.com is
there a way to pass ANDROID_ID to cnn.com?
Basically all the apps even though they have their own sandboxes etc
have the ability to log a unique device id common across all of them.
The only exception is browser. Browser cannot get the device id. If
there is a way then there is parity across all the apps and browser.
Browser is also one kind of content App if you generalize it.

Thanks,
Ravi.
On Aug 13, 5:27 pm, Mark Murphy <[email protected]> wrote:
> rch wrote:
> > Is there a way to access System.ANDROID_ID on webkit browser on
> > Android phone G1?
>
> Build your own app, embedding the WebView browser widget, and you can
> expose that information via addJavascriptInterface()...to any Web page
> on the planet that chooses to look that you bring up in the app.
>
> This would be considered a privacy issue.
>
> AFAIK, the Browser application does not expose that sort of identifying
> information, for that very reason.
>
> > If not, is there a way we can reliably connect the System.ANDROID_ID
> > with some cookie on the mobile web browser?
>
> Again, if you build your own app embedding WebView, yes. Using a cookie
> instead of addJavascriptInterface() would at least limit the exposure of
> the information.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> Warescription: Three Android Books, Plus Updates, $35/Year
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to