- 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:
- Showing a simple page inside the app that measures the user speed and send the result directly to your web service/api
- 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)
- Please see: "Binding JavaScript code to Android code" in the following page: http://developer.android.com/guide/webapps/webview.html
Using API in an Android mobile app
Have more questions? Submit a request
Article is closed for comments.
0 Comments