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 <[email protected]> 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to