开发者

database connection

开发者 https://www.devze.com 2023-02-11 16:20 出处:网络
I created an interface a.xml that contains 2 EditText and a file code.java(containing the java code).

I created an interface a.xml that contains 2 EditText and a file code.java (containing the java code). I want to link my code and the interface with a SQLite Database

The database contains a single table th开发者_运维百科e table contains 2 columns

how to make the connection to the database and execute a SQL query (Select) (the contents of DBHelper?)


Take a look at the basics here: http://developer.android.com/guide/topics/data/data-storage.html#db

Also see the linked demo: http://developer.android.com/resources/samples/NotePad/index.html

0

精彩评论

暂无评论...
验证码 换一张
取 消