workshop 2 mobile application development · 2018-01-19 · mobile application development with...
TRANSCRIPT
![Page 1: Workshop 2 Mobile Application Development · 2018-01-19 · Mobile Application Development with Eclipse and blackberry by Anantakul Intarapadung Ph.D. Knowing Blackberry BlackBerry](https://reader034.vdocuments.us/reader034/viewer/2022042914/5f4ca47309b5fa18f7092f3a/html5/thumbnails/1.jpg)
Workshop 2nd
Mobile Application Development with
Eclipse and blackberry
by Anantakul Intarapadung Ph.D.
![Page 2: Workshop 2 Mobile Application Development · 2018-01-19 · Mobile Application Development with Eclipse and blackberry by Anantakul Intarapadung Ph.D. Knowing Blackberry BlackBerry](https://reader034.vdocuments.us/reader034/viewer/2022042914/5f4ca47309b5fa18f7092f3a/html5/thumbnails/2.jpg)
Knowing Blackberry
BlackBerry (แบล็กแบรรี่ คําอานในประเทศไทยวา แบล็กเบอรรี่) เปนสมารตโฟนและโทรศัพทมือถือจากประเทศแคนาดาโดยบริษัทรีเสิรชอินโมชัน (Research In Motion - RIM) โดยไลนการผลิตนั้นเริ่มตนในป พ.ศ. 2542 โดยเครื่องแรกมีลักษณะเปนเพจเจอรสองทาง และตอมาในป 2545 ไดมีการผลิตในรูปแบบของสมารตโฟนเหมือนในปจจุบัน
![Page 3: Workshop 2 Mobile Application Development · 2018-01-19 · Mobile Application Development with Eclipse and blackberry by Anantakul Intarapadung Ph.D. Knowing Blackberry BlackBerry](https://reader034.vdocuments.us/reader034/viewer/2022042914/5f4ca47309b5fa18f7092f3a/html5/thumbnails/3.jpg)
BlackBerry Version
![Page 4: Workshop 2 Mobile Application Development · 2018-01-19 · Mobile Application Development with Eclipse and blackberry by Anantakul Intarapadung Ph.D. Knowing Blackberry BlackBerry](https://reader034.vdocuments.us/reader034/viewer/2022042914/5f4ca47309b5fa18f7092f3a/html5/thumbnails/4.jpg)
The BlackBerry Architecture
![Page 5: Workshop 2 Mobile Application Development · 2018-01-19 · Mobile Application Development with Eclipse and blackberry by Anantakul Intarapadung Ph.D. Knowing Blackberry BlackBerry](https://reader034.vdocuments.us/reader034/viewer/2022042914/5f4ca47309b5fa18f7092f3a/html5/thumbnails/5.jpg)
Project Structure with Eclipse
src (Source Code) เปนที่จัดเก็บ ซอรสโคดภาษาจาวา ที่ประกอบไปดวย class ,attribute และ
method ตางๆ
![Page 6: Workshop 2 Mobile Application Development · 2018-01-19 · Mobile Application Development with Eclipse and blackberry by Anantakul Intarapadung Ph.D. Knowing Blackberry BlackBerry](https://reader034.vdocuments.us/reader034/viewer/2022042914/5f4ca47309b5fa18f7092f3a/html5/thumbnails/6.jpg)
Research In Motion - RIM
RIM กอตั้งขึ้นเมื่อป 2527 และมีฐานการดําเนินธุรกิจในเมืองวอเตอรลู รัฐออนแทรีโอ ประเทศแคนาดา ปจจุบันมีสํานักงานปฏิบัติการอยูในอเมริกาเหนือ ยุโรป และเอเชียแปซิฟก RIM เปนบริษัทที่ จดทะเบียนในตลาดหลักทรัพย Nasdaq (Nasdaq:RIMM) และในตลาดหลักทรัพยของToronto(TSX: RIM) สามารถคนหาขอมูลเพิ่มเติมเกี่ยวกับบริษัทฯ ไดที่ http://www.rim.com/หรือ http://www.blackberry.com/
![Page 7: Workshop 2 Mobile Application Development · 2018-01-19 · Mobile Application Development with Eclipse and blackberry by Anantakul Intarapadung Ph.D. Knowing Blackberry BlackBerry](https://reader034.vdocuments.us/reader034/viewer/2022042914/5f4ca47309b5fa18f7092f3a/html5/thumbnails/7.jpg)
Hierarchy Class BlackBerry JDE 7.0
![Page 8: Workshop 2 Mobile Application Development · 2018-01-19 · Mobile Application Development with Eclipse and blackberry by Anantakul Intarapadung Ph.D. Knowing Blackberry BlackBerry](https://reader034.vdocuments.us/reader034/viewer/2022042914/5f4ca47309b5fa18f7092f3a/html5/thumbnails/8.jpg)
BlackBerry Application Lifecycle
![Page 9: Workshop 2 Mobile Application Development · 2018-01-19 · Mobile Application Development with Eclipse and blackberry by Anantakul Intarapadung Ph.D. Knowing Blackberry BlackBerry](https://reader034.vdocuments.us/reader034/viewer/2022042914/5f4ca47309b5fa18f7092f3a/html5/thumbnails/9.jpg)
การสราง Application on Blackberry1. เลือกเมนู File -> New Project ->BlackBerry Project
![Page 10: Workshop 2 Mobile Application Development · 2018-01-19 · Mobile Application Development with Eclipse and blackberry by Anantakul Intarapadung Ph.D. Knowing Blackberry BlackBerry](https://reader034.vdocuments.us/reader034/viewer/2022042914/5f4ca47309b5fa18f7092f3a/html5/thumbnails/10.jpg)
2. ใหกําหนด Project Name = MoblieApp2
การสราง Application on Blackberry
![Page 11: Workshop 2 Mobile Application Development · 2018-01-19 · Mobile Application Development with Eclipse and blackberry by Anantakul Intarapadung Ph.D. Knowing Blackberry BlackBerry](https://reader034.vdocuments.us/reader034/viewer/2022042914/5f4ca47309b5fa18f7092f3a/html5/thumbnails/11.jpg)
3. Click Next
การสราง Application on Blackberry
![Page 12: Workshop 2 Mobile Application Development · 2018-01-19 · Mobile Application Development with Eclipse and blackberry by Anantakul Intarapadung Ph.D. Knowing Blackberry BlackBerry](https://reader034.vdocuments.us/reader034/viewer/2022042914/5f4ca47309b5fa18f7092f3a/html5/thumbnails/12.jpg)
4. Select Template
การสราง Application on Blackberry
![Page 13: Workshop 2 Mobile Application Development · 2018-01-19 · Mobile Application Development with Eclipse and blackberry by Anantakul Intarapadung Ph.D. Knowing Blackberry BlackBerry](https://reader034.vdocuments.us/reader034/viewer/2022042914/5f4ca47309b5fa18f7092f3a/html5/thumbnails/13.jpg)
5. Create Package
การสราง Application on Blackberry
![Page 14: Workshop 2 Mobile Application Development · 2018-01-19 · Mobile Application Development with Eclipse and blackberry by Anantakul Intarapadung Ph.D. Knowing Blackberry BlackBerry](https://reader034.vdocuments.us/reader034/viewer/2022042914/5f4ca47309b5fa18f7092f3a/html5/thumbnails/14.jpg)
การสราง Application on Blackberry5. Create code follow in Workshop 2
![Page 15: Workshop 2 Mobile Application Development · 2018-01-19 · Mobile Application Development with Eclipse and blackberry by Anantakul Intarapadung Ph.D. Knowing Blackberry BlackBerry](https://reader034.vdocuments.us/reader034/viewer/2022042914/5f4ca47309b5fa18f7092f3a/html5/thumbnails/15.jpg)
7. ทําการทดสอบ เลือก Run As -> BlakBerry Simulator
การสราง Application on Blackberry
![Page 16: Workshop 2 Mobile Application Development · 2018-01-19 · Mobile Application Development with Eclipse and blackberry by Anantakul Intarapadung Ph.D. Knowing Blackberry BlackBerry](https://reader034.vdocuments.us/reader034/viewer/2022042914/5f4ca47309b5fa18f7092f3a/html5/thumbnails/16.jpg)
7.2 เลือกที่ โลโก BlackBerry -> MoblieApp2
การสราง Application on Blackberry
![Page 17: Workshop 2 Mobile Application Development · 2018-01-19 · Mobile Application Development with Eclipse and blackberry by Anantakul Intarapadung Ph.D. Knowing Blackberry BlackBerry](https://reader034.vdocuments.us/reader034/viewer/2022042914/5f4ca47309b5fa18f7092f3a/html5/thumbnails/17.jpg)