Re: [android-developers] how to fetch datas from database like mysql/sqlite
Hi,
Query the database created, which will return a cursor. Use cursor methods to get the required data. Also you can use the below link for further example
http://www.devx.com/wireless/Article/40842
Regards,
Sathya
On Wed, Nov 25, 2009 at 8:38 AM, saify.zeenwala <saifyzeenwala@gmail.com> wrote:
hitry out these simple line of codeQLiteDatabase
m_oSQLiteDatabase;m_oSQLiteDatabase
.query(strTableName, arrColumns, null, null, null, null, null);this will return u cursor object
use get method to retive data from cursor
On Tue, Nov 24, 2009 at 5:38 PM, siva <siva80sankar@gmail.com> wrote:
HI
how to fetch datas from database like mysql / sqlite.can any
one help me in this,i have tried the examples gave in the NOTEPAD
sample.its not working(it dont shows any errors.)
can any one guide me in this ...
Thanks
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home