0

我是android新手,我正在eclipse(android)上构建简单的应用程序,我在android中有两个EditText,我在MySql中有一个表,现在我想在MySQl的表中插入数据后进行自动刷新,如何我可以这样做吗?

4

1 回答 1

0

Your question is a little vague as to what you're trying to do. Are you pulling values from the edittext fields to place into the SQL table?

You can query the database for the most recent row that was entered into the table and then parse your information that way. You can specify something like "DESC _id" and grab the latest row that way.

This may help out with some general SQL questions: http://www.codeproject.com/Articles/119293/Using-SQLite-Database-with-Android

于 2012-07-24T20:27:28.083 回答