| Author |
Message |
szeldon Freshman
Joined: 14 Feb 2008 Posts: 3
|
Posted: Sun May 18, 2008 11:04 pm Post subject: |
|
|
I'm not completly sure, but I think that you should close your cursor after using it. _________________ szeldon.com |
|
| Back to top |
|
 |
nithin.warier Developer
Joined: 28 Feb 2008 Posts: 36
|
Posted: Wed May 28, 2008 1:58 pm Post subject: |
|
|
Hi plusminus,
how we can get the maximum value of an attribute in a table, in terminal , i checked and its working,
the query is -> select max(key) from Testing;
but how we can do this in Android.
please reply immediately
Thanks
Nithin |
|
| Back to top |
|
 |
nithin.warier Developer
Joined: 28 Feb 2008 Posts: 36
|
Posted: Wed May 28, 2008 2:59 pm Post subject: |
|
|
Here, the return value is an integer, but for Sqlitedatabase.query() its returning cursor, so how can we get the integer value.
thanks
Nithin |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
© 2007, Android Development Community
All rights reserved.
Powered by phpBB.
|