Features and Permissions in Android

Features and Permissions A permission is something an app is allowed to do 🙂 E.g. using the camera, reading location or accessing your contacts. <uses-permission android:name=”android.permission.CAMERA” /> <uses-feature android:name=”android.hardware.camera” android:required=”true” /> Internet Access If your app uses e.g. web-APIs you need internet access. This can be achieved by adding android.permission.INTERNET to your manifest. In this…

Learning Kotlin – Part 2 – Arrays

In Learning Kotlin – Part 1 we looked at some basic concepts like type inference and string handling. In this part we deal with arrays: You can easily create an array with the arrayOf function var myArray = arrayOf(1, 1.23, “Jörn”) Element access You can access arrays directly with the [] operator println(myArray[2]) myArray[1] =…