- Android
- Training (僅只閱讀,尚未到實作)
- Saving Data
- Saving Key-Value Sets ( 研究了一下,儲存Key值用,HashMap會用到,目前暫時用不到 )
- Saving Data in SQL Databases
- Using Database
- 參考:Android中SQLite應用詳解
- 小紀錄:開啟Android sample code的方法
- 儲存Key-values與Fragement有關
- Java static,final 基本概念
- Note: Because they can be long-running, be sure that you call
getWritableDatabase()
orgetReadableDatabase()
in a background thread, such as withAsyncTask
orIntentService
. - public int update (String table, ContentValues values, String whereClause, String[] whereArgs)
- whereClause the optional WHERE clause to apply when updating. Passing null will update all rows.
- whereArgs You may include ?s in the where clause, which will be replaced by the values from whereArgs. The values will be bound as Strings.
沒有留言:
張貼留言