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