Steps to implement google sign-in option in android apps and steps to authenticate with server.
Android provides sync adapter framework which enables apps to create components to sync data between web server and device in the back ground.
If your app functionality needs to access protected online services or resources of users in order to provide certain features in your app, your app can do so by getting auth token of user account from account manager and using it.
To eliminate the need for apps to prompt users for login into online accounts every time apps need to access online services, android system provided account manager. This post helps you understand concepts and components involved in creating your own account type managed by android system account manager.
Certain types of applications need to save data in files on device internal or external storage. You can read from and write to files in android file system using Files API.
SharedPreferences API provides framework to read and write key value pairs in Android. SharedPreferences API stores data in a file on the device.
If your app has long running tasks, you may need to consider implementing services to run those log running operations in the background.
Android bound service is a service component which allows clients-server communication. Depending on how bound service is implemented, inter process communication is possible between clients and bound service.
Android service is a component like activity but runs in the background. Android service by default runs in the main thread. Android service is used to perform tasks in the background without user interaction.
If your app needs to download large files which take time, the best option to perform long running downloads is to use android system provided DownloadManager.
Using any HTTP client, android apps can get data from and post data to server. Using simple http client library in your app requires you to write a lot of code to handle http connections, concurrent requests, threads, pooling, data cache, request prioritization and cancelling requests.
Android provides storage access framework (SAF) using which an app can provide options such as browse, read and write files. Storage access framework consists of document providers, client app and picker.