Advanced REST API integration with Retrofit2 library in Android Application and Upload image to server.
We took the API key for GET requests from https://cricket.sportmonks.com/api/v2.0/
We took the API key for POST, PUT and PATCH requests from https://app.fakejson.com/ and https://jsonplaceholder.typicode.com/
- uses-permission android:name="android.permission.INTERNET"
- uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"
- uses-permission android:name="android.permission.CAMERA"
- uses-feature android:name="android.hardware.camera"
- uses-feature android:name="android.hardware.camera.autofocus"
- uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
- implementation 'com.google.android.material:material:1.2.1'
- implementation 'com.squareup.retrofit2:retrofit:2.9.0'
- implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
- Built With -
- Android Studio
- Java
- XML
- REST API
- License -
- This project is licensed under the MIT License.