Lecture Materials Mobile Computing By Bintang Eka Putera
Lecture Materials Mobile Computing 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 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 Connectivity Storage Media support Messaging Web browser Multi-touch Multi-tasking Resizable widgets Multi-Language Google Cloud Messaging (GCM) Wi-Fi Direct Android Beam
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 Oreo Android 7. 1 25 Nougat Android 7. 0 24 Nougat
What is API level? Platform Version API Level VERSION_CODE Android 6. 0 23 Marshmallow Android 5. 1 22 Lollipop_mr 1 Android 5. 0 21 Lollipop Android 4. 4 W Kit. Kat 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_mr 2 Android 4. 2, 4. 2. 2 17 Jelly_bean_mr 1 Android 4. 1, 4. 1. 1 16 Jelly_bean Android 4. 0. 3, 4. 0. 4 15 Ice_cream_sandwich_ mr 1 Android 4. 0, 4. 0. 1, 4. 0. 2 14 Ice_cream_sandwich Android 3. 0. x 11 -13 Android 2. 3. 3 - Android 2. 3. 4 10 Android 2. 3 - Android 2. 3. 2 9, NDK 5 Honeycomb Gingerbread_mr 1 Gingerbread
What is API level? Platform Version API Level VERSION_CODE Android 2. 2. x 8 Froyo Android 2. 1 7 Eclair Android 2. 0. 1 6 Eclair Android 2. 0 5 Eclair 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) Droid 4 X (free) Genymotion (free/paid)
Android Application Developments * Run apps on the Android Emulator cont. Ko. Player (free) MEmu (free) Nox (free) Remix OS Player (free) Xamarin (free/varies) You. Wave (free) … or build your own emulator https: //youtu. be/Eoq. Gsqe 6 vr. Y
Integrated Development Environments Android Studio Provides the fastest tools for building apps on every type of Android device. Built on Jet. Brains' Intelli. J IDEA software and designed specifically for Android development Available for Windows, mac. OS 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/by. Example/overview ) NDK/Native Development Kit (C/C++)
Integrated Development Environments Android-IDE (AIDE) (http: //www. androidide. com) Android Apps (Java) Phone. Gap Apps (Java/XML) Android NDK (C/C++) Intelli. J IDEA Net. Beans IDE Xamarin. Android cross-platform mobile applications for Android, i. OS and Windows Mobile and use only one codebase Jet. Brains Rider cross platform Jet. Brains GO (Go. Land) Kotlin Komodo IDE Eclipse Che Java, Javascript, C++, PHP, C# Eclipse + Android Development Tools plugin RAD studio Currently featuring i. OS, Android and windows cross compiler.
Kotlin Source: https: //play. kotlinlang. org/by. Example 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
- Slides: 40