Introduction
Code repository
The code for the Android SDK is located on Github: https://github.com/pexip/pexip-android-sdk
Tutorial
During this tutorial we will create three fragments using the ViewModel architecture and LiveData which allow us to divide our application in three sections: View, UI controller and ViewModel.
For navigating between fragments we will use a Navigation Graph and pass the information between fragments through SafeArgs.
Finally, we will need some knowledge about Kotlin Coroutines, for running asynchronous code, and Android Services, for running long-running applications in the background.
However, during the tutorials we will try to keep the code simple enough, so anybody could understand it independently of his Android knowledge level. If you have just started programming Android apps, you should be able to follow this tutorial.
If you are new on Android development, we highly encourage you to take at least the Android basic tutorial.
Android prerequisites
Before starting the tutorial you should fulfill the following requirements:
- Basic Kotlin knowledge.
- Basic Android development knowledge.
- Have any computer with Windows, Linux or Mac OS.
- Have Android Studio IDE application installed.
One interesting thing, is that to develop this application, you don't need an Android device. You can use the Android emulator for testing.
Documentation and links
If you want to learn more about the Android SDK, we encourage you to take a look to our documentation: