1 / 8

บทที่ 20

บทที่ 20. การพัฒนา แอพพลิเค ชัน Android (Android Programming). รู้จักกับ Android. แอนดรอยด์ ( Android) คือ ระบบปฏิบัติการแบบ Open Source

Download Presentation

บทที่ 20

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. บทที่ 20 การพัฒนาแอพพลิเคชัน Android (Android Programming)

  2. รู้จักกับ Android • แอนดรอยด์ (Android) คือ ระบบปฏิบัติการแบบ Open Source • พัฒนาโดยบริษัท Google เป็นระบบปฏิบัติการที่ได้รับความนิยมอย่างสูงในปัจจุบัน เนื่องจากมีความสามารถที่หลากหลายและรองรับการทำงานบนอุปกรณ์ต่างๆ ได้มากมาย เช่น โทรศัพท์มือถือ, แท็บเล็ต (Tablet), ตู้เย็น เป็นต้น • ในการพัฒนาโปรแกรมบนระบบปฏิบัติการแอนดรอยด์ สามารถพัฒนาได้โดยใช้ ชุดโปรแกรม Android SDK ที่ทางบริษัท Google พัฒนาเป็น Application Framework ไว้ให้ใช้งาน ซึ่งทำงานอยู่ภายใต้ Java Virtual Machine • สามารถดาวน์โหลดได้ที่ http://developer.android.com/sdk/index.html

  3. การสร้างโทรศัพท์จำลอง (Emulator) บนเครื่องคอมพิวเตอร์ PC • Emulator ก็คือ โทรศัพท์ที่ใช้บนระบบ ปฏิบัติการ Android จริงๆ ที่ทำงานบนเครื่องคอมพิวเตอร์นั่นเอง • Emulator บน Android จะเรียกว่า AVD (Android Visual Device) • ใช้ทดสอบการทำงานของแอพพลิเคชัน • ขั้นตอนการสร้าง Emulator จะต้อง ดาวน์โหลด Android SDK จากเว็บไซต์ Android Developer

  4. การติดตั้ง AndroidPluginให้กับโปรแกรม NetBeans IDE 7.3.1

  5. เริ่มต้นพัฒนาแอพพลิเคชันบน Android SayHi • String.xml • main.xml • SayHi.java

  6. เริ่มต้นพัฒนาแอพพลิเคชัน Hi บน Android • String.xml • main.xml • Hi.java

  7. เริ่มต้นพัฒนาแอพพลิเคชัน SayHi บน Android • strings.xml • main.xml • SayHi.java

  8. เริ่มต้นพัฒนาแอพพลิเคชัน ExChange บน Android • strings.xml • main.xml • ExChange.java

More Related