Code is an export of Android Studio projet