Download presentation
Presentation is loading. Please wait.
Published bySvend Mølgaard Modified over 5 years ago
1
Mobile Computing Lecture Materials By Bintang Eka Putera
2
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.
3
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.
4
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
5
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
6
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
7
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
8
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
9
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
10
SDK Platforms
11
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.
12
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.
13
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)
14
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
15
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: Programming Language: Java, Kotlin ( / / ) NDK/Native Development Kit (C/C++)
16
Integrated Development Environments
Android-IDE (AIDE) ( 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.
17
Kotlin Source: https://play.kotlinlang.org/byExample
Configurations:
18
Kotlin: Hello World
19
Kotlin: Functions
20
Kotlin: Functions
21
Kotlin: Infix Functions
22
Kotlin: Functions
23
Kotlin: Functions with vararg parameters
24
Kotlin: Variables
25
Kotlin: Variables
26
Kotlin: Null Safety
27
Kotlin: Working with NULLs
28
Kotlin: Classes
29
Kotlin: Generics (Classes and Functions)
30
Kotlin: Generics (Classes and Functions)
31
Kotlin: Inheritance
32
Kotlin: Inheriting Without Default Constructor
33
Kotlin: Bypass Constructor Arguments
34
Kotlin: Control Flow
35
Kotlin: Control Flow
36
Kotlin: Control Flow
37
Kotlin: Control Flow
38
Kotlin: Control Flow
39
Kotlin: Control Flow
40
Thank you
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.