Using API in an Android mobile app

  • You may use in-app browser to utilize our JavaScript API. For example you can use WebView in Android and call the API in a simple page (perhaps with a nice animation) inside your application. You can then save the test result into a database (by calling a web service) or pass the test result to the app to be taken care of. So, there are two approaches:
    1. Showing a simple page inside the app that measures the user speed and send the result directly to your web service/api
    2. Showing a simple page inside the app that can communicate and be controlled by the app. In this case the app can start the test the get the results directly (Recommended)
    3. Please see: "Binding JavaScript code to Android code" in the following page: http://developer.android.com/guide/webapps/webview.html
Have more questions? Submit a request

0 Comments

Article is closed for comments.