Diese Präsentation wurde erfolgreich gemeldet.
Die SlideShare-Präsentation wird heruntergeladen. ×

[PBO] Pertemuan 12 - Pemrograman Android

Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Anzeige
Wird geladen in …3
×

Hier ansehen

1 von 31 Anzeige

[PBO] Pertemuan 12 - Pemrograman Android

Herunterladen, um offline zu lesen

Materi yang ada pada slide ini berisi :

Android version
Platform architecture
App Component
Kotlin
Struktur Project
Activity Lifecycle
Melempar Nilai
Layouting LinearLayout
Layouting RelativeLayout
Look And Feel
Custom Buttom

----------------------------------------------------------------------
Keep in touch with me in :
Email : rizkiadamunikom@gmail.com

Materi yang ada pada slide ini berisi :

Android version
Platform architecture
App Component
Kotlin
Struktur Project
Activity Lifecycle
Melempar Nilai
Layouting LinearLayout
Layouting RelativeLayout
Look And Feel
Custom Buttom

----------------------------------------------------------------------
Keep in touch with me in :
Email : rizkiadamunikom@gmail.com

Anzeige
Anzeige

Weitere Verwandte Inhalte

Ähnlich wie [PBO] Pertemuan 12 - Pemrograman Android (20)

Anzeige

Weitere von rizki adam kurniawan (20)

Aktuellste (20)

Anzeige

[PBO] Pertemuan 12 - Pemrograman Android

  1. 1. Android is the world's most popular mobile operating system, powering billions of devices ranging from phones to watches, tablets, TVs, and more.
  2. 2. September 23, 2008 April 27, 2009 September 15, 2009. October 26, 2009 May 20, 2010 December 6, 2010 February 22, 2011 October 18, 2011 July 9, 2012 October 31, 2013 MATERIAL DESIGN May 2015 August 2016 August 21, 2017 August 6, 2018 November 12, 2014
  3. 3. Melihat Peta di Dalam Ruangan IEEE 802.11mc Wi-Fi protocol Wi-Fi Round-Trip-Time (RTT) Notifikasi MessagingStyle with replies and conversation • INTELLIGENCE (KECERDASAN) • SIMPLICITY (KEMUDAHAN) • DIGITAL WELLBEING (KESEJAHTERAAN DIGITAL).
  4. 4. • Digital wellbeing • App timer • Do not disturb • ImageDecoder for bitmaps and drawables • Data cost sensitivity in JobScheduler • Display cutout APIs • Multi-camera APIs • And many more...
  5. 5. • Android merupakan open source OS dengan Linux-based software • Berikut adalah komponen mayor dari platform android
  6. 6. 1. Activities 1. ActivityCompat : Backward compatible, Runtime Permission, animation transition 2. FragmentActivity : Backward compatible, Support library fragment 3. AppCompatActivity : Material color theme, widget tinting & app bar support 2. Fragment : Standalone implementation framework fragment, gunakan fragmentActivity 3. ContextCompat : Permisiion suppoert, file access & color information 4. IntentCompat : include method select & starting specific activities 5. Loader : Based asyncTaskLoader & CursorLoader 6. Preference : App setting user interface 7. ContentResolverCompat : query() method with support for canceling a query
  7. 7. 1. RecyclerView - Creates a layout for displaying long lists, using a strategy to avoid high memory consumption. 2. ViewPager - Provides a layout that allows the user to flip left and right through pages of data. 3. GridLayout - Provides a layout with its children in a rectangular grid, supporting arbitrary spans of contiguous cells and flexible space distribution. This class provides a backward compatible version of the GridLayout class, introduced in Android 4.0 (API level 14). 4. PercentFrameLayout and PercentRelativeLayout - Provide layouts that support percentage based dimensions and margins for its child views and content.
  8. 8. 1. CardView - A support library custom class for creating Material Design style display cards. This class is based on FrameLayout with rounded corners and a drop shadow. 2. AppCompatDialogFragment - Provides a consistently styled dialogs by extending DialogFragment and using AppCompatDialog. 3. NotificationCompat - Provides support for newer notification styles in a backward compatible way. 4. SearchView - Provides a class for the user to enter a search query and submit a request to a search provider, which is primarily intended for use in an app bar.
  9. 9. 1. CoordinatorLayout - Provides a top-level container for layouts incorporating Material Design components and behavior. This class can also be used as a container for specific interaction with one or more child views. 2. AppBarLayout - Provides an implementation of many of the scrolling features of Material Design's app bar concept. 3. FloatingActionButton - Creates floating button for displaying a special type of promoted action. This Material Design user interface element is shown as a circled icon floating above the app user interface.. 4. DrawerLayout - Creates a navigation drawer—a UI panel that shows your app's main navigation menu. It appears when the user swipes a finger from the left edge of the screen or taps the drawer icon in the app bar. 5. TabLayout - Provides a layout for displaying tabbed pages. This widget is designed for use with the ViewPager class. 6. Snackbar - Provides a widget for displaying lightweight feedback about an operation using the snackbar pop-up.
  10. 10. Develop Android apps with Kotlin • Kotlin merupakan Bahasa Pemrograman modern yang bersifat statically- typed yang dapat di jalankan di atas platform Java Virtual Machine (JVM). • Kotlin juga dapat di kompilasi (compile) ke dalam bentuk JavaScript • Dibuat oleh JetBrains yang juga mengembangkan salah satu tools pemrograman (IDE) yang saat ini di adopsi oleh google untuk di gunakan sebagai tools pengembangan aplikasi di Android (Android Studio).
  11. 11. Develop Android apps with Kotlin 1. Memiliki Ekosistem yang Sudah Matang 2. Terintegrasi dengan Android studio 3. Update Java di Android Relatif Lebih Lambat 4. Aman dari NullPointerException 5. Kotlin Tidak Hanya di Android (iOS - melalui Kotlin Native, JavaScript - melalui Kotlin JS ) 6. Perusahaan Mulai Mengimplementasi Kotlin 7. Tidak Sulit Untuk Dipelajari
  12. 12. https://developer.android.com/studio/ Android Studio is the official Integrated Development Environment (IDE) for Android app development, based on IntelliJ IDEA
  13. 13. All the build files are visible at the top level under Gradle Scripts and each app module contains the following folders: 1. manifests: Contains the AndroidManifest.xml file. 2. java: Contains the Java source code files, including JUnit test code. 3. res: Contains all non-code resources, such as XML layouts, UI strings, and bitmap images
  14. 14. 1. The toolbar : running your app and launching Android tools. 2. The navigation bar helps you navigate through your project and open files for editing. 3. The editor window is where you create and modify code. 4. The tool window bar runs around the outside of the IDE window 5. The tool windows give you access to specific tasks like project management, search, version control, and more. 6. The status bar displays the status of your project and the IDE itself, as well as any warnings or messages.
  15. 15. To navigate transitions between stages of the activity lifecycle, the Activity class provides a core set of six callbacks: 1. onCreate() : fires when the system first creates the activity 2. onStart() : makes the activity visible to the user, as the app prepares for the activity to enter the foreground 3. onResume() : When the activity enters the Resumed state, it comes to the foreground, and then the system invokes the onResume() callback 4. onPause() : handles to sensors (like GPS), or any resources that may affect battery life while your activity is paused and the user does not need them 5. onStop() : When your activity is no longer visible to the user. 6. onDestroy() : is called before the activity is destroyed. The system invokes this callback either because: a) the activity is finishing (due to the user completely dismissing the activity or due to finish() being called on the activity), or b) the system is temporarily destroying the activity due to a configuration change (such as device rotation or multi- window mode)
  16. 16. • Fragmen mewakili perilaku atau sebagian UI pengguna dalam FragmentActivity. Anda dapat menggabungkan beberapa fragmen dalam satu aktivitas untuk membuat UI multi- pane dan menggunakan kembali fragmen dalam beberapa aktivitas • Sebuah fragmen harus selalu di-host dalam suatu activity dan lifecycle fragmen secara langsung dipengaruhi oleh lifecycle activity host.
  17. 17.
  18. 18. •All view groups include a width and height (layout_width and layout_height), and each view is required to define them. •wrap_content tells your view to size itself to the dimensions required by its content. •match_parent tells your view to become as big as its parent view group will allow.
  19. 19. • LinearLayout is a view group that aligns all children in a single direction, vertically or horizontally. You can specify the layout direction with the android:orientation attribute. • A larger weight value allows it to expand to fill any remaining space in the parent view. Child views can specify a weight value, and then any remaining space in the view group is assigned to children in the proportion of their declared weight. Default weight is zero. android:layout_weight
  20. 20. https://developer.android.com/guide/topics/ui/look-and-feel/ 1. Material design 2. style and themes 3. adaptive icon 4. floating button 5. shadow 6. Text 7. Buttons 8. Checkboxes 9. RadioButton 10. Toogle Buttons 11. Spinners 12. Pickers 13. Tooltips

×