This repository contains a simple sample application demonstrating the usage of the CronetEngine in an Android app.
Cronet is the Chromium network stack used by Google Chrome. It provides a fast and reliable networking library for Android apps. This sample demonstrates how to integrate and use CronetEngine to perform network requests in your Android application.
- Perform HTTP/HTTPS requests using CronetEngine.
- Handle response data and errors.
- Display response data in the app UI.
Before running the sample, ensure you have the following:
- Android Studio installed on your development machine.
- Android device or emulator running Android API level 21 (Lollipop) or higher.
- Clone this repository to your local machine.
- Open the project in Android Studio.
- Build and run the app on your device or emulator.
- Change url in MainActivity with your desired one.
- Launch the app on your device or emulator.
- View the response data and status in the app UI.
- Add different HTTP requests like post, put, delete etc
- UI work
- Expect code updates as wild as a llama on a skateboard! 🦙🛹
Contributions to this sample project are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
This project is licensed under the Apache License 2.0. See the LICENSE file for details.
- The Cronet team for providing a powerful networking library.
- Google Chrome team for their ongoing work on Chromium.