Differences between this.createDatabase and myDB.create

Put your problem here if it does not fit any of the other categories.

Differences between this.createDatabase and myDB.create

Postby kbkbkb » Tue Mar 25, 2008 11:24 am

i tried to open a data produced by another application

so i did it this way

myDB.create(path, 1, null);

myDB.open(path, null);

but the results was NullPointerException

what should i do ?

i know this.createDatabase(MY_DATABASE_NAME, 1, MODE_PRIVATE, null);

myDB = this.openDatabase(MY_DATABASE_NAME, null);

could work

why ?

what's difference?

tell me plz

Recards , kbkbkb
kbkbkb
Freshman
Freshman
 
Posts: 6
Joined: Tue Jan 22, 2008 2:17 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 20 guests