Web Services and Sqlite

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

Web Services and Sqlite

Postby bonny » Sat Nov 29, 2008 2:35 pm

Hello guys!I have a question for you. I have to parse a xml from a web service and then add the parsed data to an sqlite database. If the selected data is already in database I don't have to add anything. The problem is, how can I check if a tag is already in the database? I tried to query on database, and it returns me a cursor, but every condition I try with this cursor it gives me negative results. How can I check if the query returned me a valid result or null?
Sorry for my bad english.
Thank you.

Luca
bonny
Junior Developer
Junior Developer
 
Posts: 19
Joined: Fri Apr 11, 2008 2:08 pm

Top

Return to Networking & Database Problems

Who is online

Users browsing this forum: Exabot [Bot] and 4 guests