a month ago, i have a change to held a one day workshop about Android development at Phetchaburi Rajabhat University, Thailand. The workshop is attended by students and lecturers. it is a pleasure to me to see many people that excited to learn android development.
This is a presentation slide of my presentation. in this presentation you will learn about how to build create a simple to do list app from scratch.
content of the presentation slide:
- Introduction: what Android is?
- Android development tools
- Creating Android Project
- Understanding the Project Structure
- Creating Android Emulator
- Running Android Project on Emulator
- Running Android Project on Device
- Creating User Interface
- Manipulating Widget
- Creating To Do List App
- Integrating SQLite Database to Android Project
1 of 78
Downloaded 359 times
More Related Content
Android Development: Build Android App from Scratch
1. Android Development:
Build Android App from Scratch
Taufan Er?yanto, ST.
A one day workshop of Android Development at Phetchaburi Rajabhat University, Thailand.
In collaboration with Gunadarma University and Phetchaburi Rajabhat University.
2. Founder of pongodev.com,
mobile application developer
and the man who responsible
to deliver the app with
beautiful user interface and
insure that it generates many
download with marketing
strategy.
About
taufan@pongodev.com
twitter.com/taufan20
linkedin.com/in/taufan20
4. Crowdfunding mobile-
based application that
allows users raise funds
for humanity and
environmental activities.
Donation can be done via
smartphone credit and
transfer.
http://donasia.org
37. 1. On Android device, select Settings >
Developer Options. Enable USB Debugging.
Note: Android 4.2 and newer go to Settings > About
phone and tap Build number seven times.
42. 1. Open your xml layout ?le in layout
directory.
43. 2. Drag widget on Palette section to
device screen on the right side.
44. 3. Con?gure widget properties via properties
window on the right bottom corner of the window.
Note: important properties are id, layout_width, and
layout_height.
60. 1. Create new directory under app/src/main
directory via window explorer. name it as assets.
61. 2. Create database to store data inside
assets directory using sqlitebrowser.
Note: database of to do list app can be download at bit.ly/dbTodo
and sqlitebrowser can be download at bit.ly/sqliteAndroid.
62. 3. Create new java ?le inside app/java/
package.name.
63. 4. Name it as DBHelper.
Note: Download DBHelper.java ?le at bit.ly/DBHelper
and copy the code to your DBHelper.java.
64. 5. De?ne database path, database name,
table name and ?elds.
Note: SQLiteOpenHelper is used for creating, opening, and upgrading
database. SQLiteDatabase is used for communicating data of database.
65. 6. Create object of DBHelper class and
ArrayList variable in Activity ?le.
66. 7. Connect dbhelper object with it class and call
createDataBase() and openDataBase() method.
67. 8. Create displayData() method before closing
bracket to display data from database with
getAllNotes() method.
68. 9. And call displayData() method after
openDataBase() method.
69. 10. Call addNote() and displayData() method
inside button event handling to add data to
databse and display them after added.