Skip to content

Embedded webview android

Bob Evans edited this page Oct 9, 2013 · 1 revision

The FeedbackActivity currently renders feedback designated by the user in an embedded WebView component.

The activity injects a Javascript interface into the Webview that gives it access to some basic services from the app. This includes the response data for the experiment. An interface to launch the email app to send prompt the user to send an email. And an interface to the db that allows them to store a new response.

The Default Feedback currently uses this by showing the most recent response as well as links to pages on the phone that will generate the appropriate charts for the data type, e.g., line charts for numbers, bar charts for lists, text lists for opentext, maps for geo locations.

New Embedded Webview Rendering of Experiments

This is almost finished and will be discussed more thoroughly shortly.

Clone this wiki locally