Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- MySQL
- junit
- JSON
- 와일드카드
- javascript
- 리눅스
- File
- error
- php
- Linux
- ajax
- jquery
- 안드로이드
- html
- larravel
- laravel
- CentOS
- 톰캣
- input
- Android
- NetBeans
- DB
- Spring
- properties
- 이클립스
- curl
- tomcat
- 정규식
- java
- SeLinux
Archives
- Today
- Total
합쭈기 programming
sqlite 기본 본문
//init databases private SQLiteDatabase mDb = null; public BaseDAO(Context context) { super(context); mDb = this.getWritableDatabase(); } //dml sample public ArrayListselContactSearch(Bundle item) { Cursor cursor = null; cursor = mDb.rawQuery("select * from dual", null); ArrayList arList= getBundleList(cursor); return arList; } public void insContact(Bundle item) { mDb.execSQL("insert into t_contact (contact_name, contact_tel) " + "values (?,?)", new Object[]{item.getString("name"),item.getString("tel")}); }
'Java > Android' 카테고리의 다른 글
webview input file tag 동작 문제 (0) | 2015.06.02 |
---|---|
스크롤 안에 리스트 (0) | 2015.04.13 |
SharedPreferences (0) | 2015.04.13 |
http connect - json (0) | 2015.04.13 |
http connect - 파일 업로드 (0) | 2015.04.13 |