Skip to content
Thiago Schnell edited this page Nov 2, 2023 · 8 revisions

WebApp Api for Android sponsor-button54 2

WebApp Api is Android extended Webview Client are flexible, safe and easier request your Api and supports for using Cross-Origin Resource Sharing (CORS).

This sample WebApp app uses App Message integration for send and receive messages through broadcasts.

Through the integrated AppMessage allow request Api by activity A and Return the Response to activity B or A.

minimum SDK version: Android 5.1 (API 21) (recommended), but you also can run on Android 4.4 (API 19) and higher.

To run the samples Download Android studio Canary

License

This repository is available under the MIT License.

Developer sources

Android Integrations such as App Message, Webview has also provides demo with detailed usage.

Server Files for this WebApp app sample

Documentation for CORS

User guide

  • user guide page This guide contains examples on how to use WebApp Api in your code

Examples

Single Request

alt_text

On Demand Requests

alt_text

On Demand "Parallel" Requests

alt_text

REQUEST WITH NO INTERNET

webapp-api-example1-connection_error

LOADING WITH NO INTERNET

webappapi-example1-load-error