- 出處:Saving Data in SQL Databases
- 官方demo code:Searchable Dictionary (需要Android關於Thread的知識:Processes and Threads)
- 稍微研究了一下官方的demo code,在Android裡Thread的概念滿重要的,更改目標先學習Thread
Thread
- [Android] 多執行緒-Handler和Thread的關係
- [Android] 多執行緒-Handler和Thread的關係 (2) (滿清楚的)
- 清楚了解 android.os 源碼中的Looper,Handler,Message,MessageQueue
- [Android]使用Handler搭配Thread
- 圖解Android Handler Thread Message 線程消息機制
- AsyncTask - Thread 外的另一選擇
- Processes and Threads
- Sending Operations to Multiple Threads
- Connecting to the Network
小筆記
- new Runnable 所做的事與 class implement Runnable 是一樣的
-----------------------------------------------------------------------------------------------------------------------------
android.database.sqlite
package.
Define a Schema and Contract
- The schema is reflected in the SQL statements that you use to create your database.
- You may find it helpful to create a companion class, known as a contract class, which explicitly specifies the layout of your schema in a systematic and self-documenting way.
- A contract class
- is a container for constants that define names for URIs, tables, and columns.
- allows you to use the same constants across all the other classes in the same package.
- This lets you change a column name in one place and have it propagate throughout your code.
沒有留言:
張貼留言