Re: [android-developers] how to fetch datas from database like mysql/sqlite
hi try out these simple line of code QLiteDatabase 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 siva80san...@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+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
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 saifyzeenw...@gmail.comwrote: hi try out these simple line of code QLiteDatabase 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 siva80san...@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+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@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+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] how to fetch datas from database like mysql/sqlite
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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en