Welcome to the Official BlackBerry® Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Web and WebWorks Development

Reply
New Member
iva_ianakieva
Posts: 1
Registered: 09-13-2010

Widget with Google Gears: db.open() throws net.rim.vm.MissingNativeError

Hi, I am running a blackbery widget on OS version 5.0.0.841 platform 4.2.0.323, Blackberry 9520

 

I have the following code:

 

 var db = google.gears.factory.create('beta.database');

db.open('MyDB');

 

The second line throws an error: "net.rim.vm.MissingNativeError"

 

The db file is created in the phone memory, my widget is unable to open it. I have set all the permissions to "Allow", the phone has an SD card as well as built in memory card.

 

Thanks in advance!

Iva

 

Please use plain text.
Developer
filmaj
Posts: 18
Registered: 09-02-2009

Re: Widget with Google Gears: db.open() throws net.rim.vm.MissingNativeError

Hey Iva,

 

I was getting an exception when calling .open() on device and not having an SD card in the device. Once I popped one in the exception went away. Give that a shot?

Please use plain text.