Mobile Computing Lecture Materials By Bintang Eka Putera
Android OS WHAT IS ANDROID? Android is an open source and Linux-based operating system for mobile devices such as smartphones and tablet computers Android was developed by the Open Handset Alliance, led by Google, and other companies.
Why Android Android offers a unified approach to application development for mobile devices which means developers need only develop for Android, and their applications should be able to run on different devices powered by Android.
Features of Android Beautiful UI Multi-tasking Connectivity Resizable widgets Storage Multi-Language Media support Google Cloud Messaging (GCM) Messaging Wi-Fi Direct Web browser Android Beam Multi-touch
What is API level? API Level is an integer value that uniquely identifies the framework API revision offered by a version of the Android platform. Android Base 1.0 Android Base 1.1
What is API level? Platform Version API Level VERSION_CODE < next > ??? Android 9.0 28 Pie Android 8.1.0 27 Oreo Android 8.0.0 26 Android 7.1 25 Nougat Android 7.0 24
KitKat for Wearables Only What is API level? Platform Version API Level VERSION_CODE Android 6.0 23 Marshmallow Android 5.1 22 Lollipop_mr1 Android 5.0 21 Lollipop Android 4.4W KitKat for Wearables Only 20 Kitkat_watch Android 4.4 19 Kitkat
What is API level? Platform Version API Level VERSION_CODE Android 4.3 18 Jelly_bean_mr2 Android 4.2, 4.2.2 17 Jelly_bean_mr1 Android 4.1, 4.1.1 16 Jelly_bean Android 4.0.3, 4.0.4 15 Ice_cream_sandwich_mr1 Android 4.0, 4.0.1, 4.0.2 14 Ice_cream_sandwich Android 3.0.x 11-13 Honeycomb Android 2.3.3 - Android 2.3.4 10 Gingerbread_mr1 Android 2.3 - Android 2.3.2 9, NDK 5 Gingerbread
What is API level? Platform Version API Level VERSION_CODE Android 2.1 Android 2.2.x 8 Froyo Android 2.1 7 Eclair Android 2.0.1 6 Android 2.0 5 Android 1.6 4 Donut Android 1.5 3 Cupcake Android 1.1 2 Base_1_1 Android 1.0 1 Base
SDK Platforms
Android Application Developments Run apps on the Android Emulator The Android Emulator simulates Android devices on your computer so that you can test your application on a variety of devices and Android API levels without needing to have each physical device.
Android Application Developments Run apps on the Android Emulator cont. The emulator provides almost all of the capabilities of a real Android device. You can simulate incoming phone calls and text messages, specify the location of the device, simulate different network speeds, simulate rotation and other hardware sensors, access the Google Play Store, and much more.
Android Application Developments Run apps on the Android Emulator cont. Android Studio’s Emulator (free) ARChon (free) Bliss (free) Bluestacks (free/paid) Droid4X (free) Genymotion (free/paid)
Android Application Developments Run apps on the Android Emulator cont. KoPlayer (free) MEmu (free) Nox (free) Remix OS Player (free) Xamarin (free/varies) YouWave (free) … or build your own emulator https://youtu.be/EoqGsqe6vrY
Integrated Development Environments Android Studio Provides the fastest tools for building apps on every type of Android device. Built on JetBrains' IntelliJ IDEA software and designed specifically for Android development Available for Windows, macOS and Linux based operating systems. Download: https://developer.android.com/studio/ Programming Language: Java, Kotlin (https://developer.android.com/studio/projects/add-kotlin / http://kotlinlang.org/docs/reference / https://play.kotlinlang.org/byExample/overview ) NDK/Native Development Kit (C/C++)
Integrated Development Environments Android-IDE (AIDE) (http://www.android-ide.com) Android Apps (Java) PhoneGap Apps (Java/XML) Android NDK (C/C++) IntelliJ IDEA NetBeans IDE Xamarin.Android cross-platform mobile applications for Android, iOS and Windows Mobile and use only one codebase JetBrains Rider cross platform JetBrains GO (GoLand) Kotlin Komodo IDE Eclipse Che Java, Javascript, C++, PHP, C# Eclipse + Android Development Tools plugin RAD studio Currently featuring iOS, Android and windows cross compiler.
Kotlin Source: https://play.kotlinlang.org/byExample Configurations: http://kotlinlang.org/docs/tutorials/kotlin-android.html
Kotlin: Hello World
Kotlin: Functions
Kotlin: Functions
Kotlin: Infix Functions
Kotlin: Functions
Kotlin: Functions with vararg parameters
Kotlin: Variables
Kotlin: Variables
Kotlin: Null Safety
Kotlin: Working with NULLs
Kotlin: Classes
Kotlin: Generics (Classes and Functions)
Kotlin: Generics (Classes and Functions)
Kotlin: Inheritance
Kotlin: Inheriting Without Default Constructor
Kotlin: Bypass Constructor Arguments
Kotlin: Control Flow
Kotlin: Control Flow
Kotlin: Control Flow
Kotlin: Control Flow
Kotlin: Control Flow
Kotlin: Control Flow
Thank you