Need SQL tutorial

Cableguy

Expert
Licensed User
Longtime User
Any one available?
 
sql sample test

I copied the code into a project added a ref to sql lib and then changed the dir to file.DirAssets but the app is unable to open the db. Does it have to be on the DirDefaultExternal directory?

Trevor
Ballarat
Victoria
Australia
 
Upvote 0
It's Basic4ppc code, is it ok with Basic4Android?
 
Upvote 0
Hi susu,

It is a B4Android code and NOT a B4PPC code ?

Attached a slightly modified version of Erel's code that shows the query in a ListView view rather than in the Log file. I tested it with the emulator.

Best regards.
 

Attachments

Upvote 0
Thanks Klaus for your very useful code :D
 
Upvote 0
Thanks all for the help...second Android project on the comming:sign0060:
 
Upvote 0
sql not playing nice

I am still having an issue getting this sql test to work. I have used the code as is and still get a message that the "unable to open database" message in the sql initialise line. The sql library version I have is dated 31/10/2010. Sorry to be a pest but I use sql a lot.....thanks

Trevor
Ballarat
Victoria
Australia
 
Upvote 0
Steep learning curve

My problem was I had not set up the sd card in the emulator properly...I had not used it before so had not noticed. Sorry to have bothered you...

Trevor
Ballarat
Australia
 
Upvote 0

Similar Threads

Replies
108
Views
102K
  • Locked
  • Article Article
Android Tutorial Android FTP tutorial
Replies
278
Views
247K
  • Locked
  • Article Article
Replies
120
Views
232K
Back
Top