Data from DB without using a Cursor?

Problems with WiFi, SQLite ,Bluetooth, WiMax, Proxies, etc...

Data from DB without using a Cursor?

Postby method1545 » Mon Oct 19, 2009 1:33 pm

Hey,

i thought my issue is quite simple but i am not getting it going.
What i want is to load all Data from a Table named Person. There are attributes like name and first name.
Is this possible without using the Cursor? Or gives me the cursor the possibility to handle this data in my java code without binding it to a ListActivity for example. I want to have the data in my java code to be able to modify it.

thanks for all ideas.
method1545
Freshman
Freshman
 
Posts: 5
Joined: Mon Oct 19, 2009 1:24 pm

Top

Postby nmc » Mon Oct 19, 2009 6:55 pm

You need to use a cursor object to access database records, but you dont need to bind the cursor to anything, just use it "standalone" to retrieve the data.
nmc
Senior Developer
Senior Developer
 
Posts: 154
Joined: Thu Nov 27, 2008 8:30 pm
Location: Germany

Top

Return to Networking & Database Problems

Who is online

Users browsing this forum: No registered users and 3 guests