I have an Android application that needs to incorporate some
JavaScript code that tracks user events inside my application and
submits feedback to an Analytics engine/service.

This code needs to run on first visit of each Activity.

Almost none of these Activities have WebViews.

What would be the best approach to follow to incorporate the JS code?
Should I include an invisible WebView in every page and somehow make
it execute the JavaScript in onCreate()?

Please help.

Thanks.

-- 
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