20.11.2016 Views

Android App Development ฉบับสมบูรณ์

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

้<br />

ผลลัพธ์เมื่อจัดรูปแบบของโค้ดด้วยคาสั่ง Format<br />

ทดสอบการทำงานของแอพพลิเคชันผ่านโทรศัพท์<br />

จำลอง (Emulator)<br />

หลังจากการพัฒนาโปรแกรมเสร็จสิ้น ขั้นตอนต่อไปคือ การคอมไพล์และรันแอพพลิเคชัน ทั้งนี<br />

เนื่องจากแอพพลิเคชันจะทดสอบการทำงานผ่าน Emulator ดังนั้น เมื่อผู้อ่านพัฒนาแอพพลิเคชันเสร็จแล้วก็<br />

สามารถทดสอบแอพพลิเคชันได้หลายวิธี ซึ่งวิธีที่ผู้เขียนแนะนำมีขั้นตอนดังนี้<br />

1. คลิกขวาที่โปรเจ็กต์ แล้วเลือกคำสั่ง Run As > <strong>Android</strong> <strong>App</strong>lication<br />

1.1<br />

คลิกขวา<br />

1.2<br />

เลือก<br />

60<br />

<strong>Android</strong> <strong>App</strong> <strong>Development</strong> <strong>ฉบับสมบูรณ์</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!