Korea Software HRD Center

Slides:



Advertisements
Similar presentations
Programming Mobile Applications with Android
Advertisements

Joemarie Comeros Amparo Android Development Orientation for Starters.
Application Fundamentals. See: developer.android.com/guide/developing/building/index.html.
Filip Debelić What is it? Android is a mobile operating system (OS) based on the Linux kernel and currently developed by Google Android,
User Interface Android Applications. Activities An activity presents a visual user interface. Each activity is given a default window to draw in. The.
ANDROID PROGRAMMING MODULE 1 – GETTING STARTED
App Development on Android. Contents  First Milestone  Second Milestone  Third Milestone  Last Milestone 
INTERNATIONAL SUMMER ACADEMIC COURSE UNIVESITY OF NIS ISAC – Android programming.
Emerging Platform#4: Android Bina Ramamurthy.  Android is an Operating system.  Android is an emerging platform for mobile devices.  Initially developed.
Android Application Development 2013 PClassic Chris Murphy 1.
Android Fragments A very brief introduction Android Fragments1.
Chien-Chung Shen Manifest and Activity Chien-Chung Shen
Chapter 1: Voilà! Meet the Android. Smartphones –Can browse the Web –Allow you to play games –Use business applications –Check –Play music –Record.
Mobile Programming Lecture 1 Getting Started. Today's Agenda About the Eclipse IDE Hello, World! Project Android Project Structure Intro to Activities,
Android Boot Camp for Developers Using Java, Comprehensive: A Guide to Creating Your First Android Apps Chapter 9: Customize! Navigating with a Master/Detail.
CS5103 Software Engineering Lecture 08 Android Development II.
CE Applied Communications Technology Android lecture 2 - Structures Android File structure Resources Drawables Layout Values R Class Manifest Running.
© 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Android Boot Camp.
Presented By: Muhammad Tariq Software Engineer Android Training course.
INTRODUCTION TO ANDROID. Slide 2 Application Components An Android application is made of up one or more of the following components Activities We will.
Resources. Application Resources Resources are strings, images, and other pieces of application information that are stored and maintained (externalized)
Configuring Android Development Environment Nilesh Singh.
Liang, Introduction to Java Programming, Eighth Edition, (c) 2011 Pearson Education, Inc. All rights reserved Introduction to Android (Part.
Creating an Example Android App in Android Studio Activity lifecycle & UI Resources.
First Venture into the Android World Chapter 1 Part 2.
Introduction to Android
1 Android Introduction Platform Overview. 2 What is Android?  Android is a software stack for mobile devices that includes an operating system, middleware.
© 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Android Boot Camp.
INTRODUCTION TO ANDROID. Slide 2 Introduction I take a top-down approach to describing an application’s anatomy.
CHAPTER 1 part 1 Introduction. Chapter objectives: Understand Android Learn the differences between Java and Android Java Examine the Android project.
Android Programming.
Lab7 – Appendix.
Android Mobile Application Development
Lecture 3 Zablon Ochomo Android Layouts Lecture 3 Zablon Ochomo
Android Introduction Hello World
Instructor: Mazhar Hussain
Android Moving to a second Activity
Mobile Application Development Chapter 3 [Using Eclipse Android Studio for Android Development] IT448-Fall 2017 IT448- Fall2017.
Market Share. Market Share Market Share Android Dev Basics Android apps are developed in Java and XML. The hardest part of Android dev is coming up.
Android Introduction Hello World.
Android.
Development-Introduction
Creation of an Android App By Keith Lynn
Mobile Application Development BSCS-7 Lecture # 3
CA16R405 - Mobile Application Development (Theory)
CMPE419 Mobile Application Development
Anatomy of an Android Application
Android SDK & App Development
Depreciation App: Demo of tabs
CS5103 Software Engineering
Abstract Acknowledgments References
CA16R405 - Mobile Application Development (Theory)
Building User Interfaces Basic Applications
Abstract Acknowledgments References
Android Developer Fundamentals V2 Lesson 1
CA16R405 - Mobile Application Development (Theory)
CHAPTER 1 Introduction Chapter objectives: Understand what Android is
Korea Software HRD Center
Emerging Platform#3 Android & Programming an App
Android Project Structure, App Resources and Event Handling
Korea Software HRD Center
Korea Software HRD Center
Korea Software HRD Center
Korea Software HRD Center
Korea Software HRD Center
CMPE419 Mobile Application Development
Korea Software HRD Center
Korea Software HRD Center
Korea Software HRD Center
CA16R405 - Mobile Application Development (Theory)
Presentation transcript:

Korea Software HRD Center វគ្គសិក្សា Android ជាភាសាខ្មែរ រៀបរៀងដោយ ៖ កុ្រម Android រក្សាសិទ្ធ ៖ Korea Software HRD Center Korea Software HRD Center

Korea Software HRD Center មាតិកា ១. អ្វីទៅជា Activity? ​​​ ១.១ យល់ដឹងអំពី Activity Lifecycle ២. យល់ដឹងអំពី Layout និងការប្រើប្រាស់ ៣​​​​​. អ្វីទៅជា App Resources? ៣​​​​​.១ Providing Resources ៣​​​​​.១ Accessing Resources ៣​​​​​.១ String Resources Korea Software HRD Center

៣. App Resources អ្វីទៅជា Resources? ក្នុង Android Application មួយគឺត្រូវបានបង្កើតឡើងដោយ code និង resource Resource គឺជា file ដែលមានដូចជា bitmap, user interface (GUI), String, Animation… សំរាប់បន្ថែមទៅក្នុង application របស់យើងអោយមានភាពទាក់ទាញ និង ស្រស់ស្អាត

៣. App Resources Providing Resources ការបែងចែកនូវ resource ទៅតាមប្រភេទនៃ device configuration ផ្សេងៗគ្នា ដើម្បីផ្តល់នូវ Alternative resources នៅក្នុង Project អ្នកគួរតែធ្វើការបែងចែកនូវ Application Resources ​ទាំងឡាយដូចជា រូប ភាព និង Strings ចេញពីក្នុង Code​ ដើម្បីផ្តល់នូវភាពងាយស្រួលក្នុងការកែប្រែ នៅក្នុងពេល Runtime, Android នឹងប្រើប្រាស់ Resource អាស្រ័យទៅតាម Device configurations

៣. App Resources Providing Resources Smart phone resource នៅពេលដែលយើងបានផ្តល់នូវAlternative Resource ពេលនោះវានឹងប្តូរទៅតាម Device Configuration Tablet resource

៣. App Resources​ (បន្ត…) Accessing Resources ពេលដែលអ្នក provide resource នៅក្នុង Application, អ្នកអាចយកវាមកប្រើតាមរយៈ resource ID Resources ID ទាំងអស់ត្រូវបានកំណត់ឡើងនៅក្នុង Project’s R Class ដែលវាត្រូវបាន បង្កើតឡើង automatically ដោយ Android Asset Packaging Tool (aapt) ដោយសារ Resource មានច្រើនប្រភេទ ហេតុនេះប្រភេទនីមួយៗ ជា subclass របស់ R class។ ឧទាហរណ៏ R.drawable សម្រាប់ Resource ទាំងឡាយរបស់ Drawable, R.strings សម្រាប់ Resource ទាំងឡាយដែលជាប្រភេទ String ។

៣. App Resources​ (បន្ត…) Accessing Resources R Class (R.java) XML file Java file Button Id=btn_submit findViewById (R.id.btn_submit) TextView Id=tv_fname findViewById (R.id.tv_fname)

៣. App Resources​ (បន្ត…) String Resources String resource ផ្តល់នូវ Text string សម្រាប់ Application String XML resource ដែលផ្តល់នូវ single string String Array XML resource ដែលផ្តល់នូវ Array of string

៣. App Resources​ (បន្ត…) String អាចយកទៅប្រើប្រាស់បាននៅក្នុង resource ផ្សេងទៀតដូចជា XML Layout, Java file Location res/values/strings.xml Resource Reference ក្នុង Java: R.string.string_name ក្នុង XML: @string/string_name <?xml version="1.0" encoding="utf-8"?> <resources> <string name=“string_name">Text String</string> </resources>

៣. App Resources​ (បន្ត…) String-Array ជាប្រភេទ Array of String ដែលត្រូវបានប្រកាសឡើងនៅក្នុង XML file ដែលអាចយក ទៅប្រើក្នុង Java File Location res/values/strings.xml Resource Reference ក្នុង Java: R.array.string_array_name <?xml version="1.0" encoding="utf-8"?> <resources> <string-array name=“string_array_name"> <item>text_string</item> </string-array> </resources>

សមាជិក ក្រុមអ្នកស្រាវជ្រាវ ក្រុមផលិតវីដេអូ Mr. Chang Pumeoung chang.pumeoung@gmail.com Mr. Menh Sowattana menhsowattana168@gmail.com Mr. Choeung Bunna bunnach@gmail.com Ms. Pen Voneat penvoneat@gmail.com Lee Koui Pheng lee.pheng.galaxy@gmail.com Mr. Horn Daneth horndaneth3@gmail.com Mr. Nguon Youty nguonyouty@gmail.com Chheng Kaoly chhengkaoly@gmail.com Mr. Khov Ea Hang Khov.eahang@gmail.com Mr. Sous Veasna veasnasous@yahoo.com

Thank You Video បន្ទាប់ ពួកយើងនឹងណែនាំអំពី User Interface និង Controls ផ្សេងៗ Thank You