views:

146

answers:

2

I have a database of size 20MB that I would like to build into COD. Its a mandated requirement.

How can I get the rapc to build 20MB

When I build the app I am getting the compiler error: java.lang.NullPointerException at net.rim.tools.compiler.d.af.bb(Unknown Source) at net.rim.tools.compiler.d.af.null(Unknown Source) at net.rim.tools.compiler.d.k.for(Unknown Source) at net.rim.tools.compiler.d.aa.p(Unknown Source) at net.rim.tools.compiler.d.aa.a(Unknown Source) at net.rim.tools.compiler.Compiler.if(Unknown Source) at net.rim.tools.compiler.Compiler.k(Unknown Source) at net.rim.tools.compiler.Compiler.a(Unknown Source) at net.rim.tools.compiler.Compiler.compile(Unknown Source) at net.rim.tools.compiler.Compiler.main(Unknown Source) Fatal Internal error: java.lang.NullPointerException

Any help is greatly appreciated

+3  A: 

You may need to have that requirement re-examined. 20MB is larger than available program store (where all installed COD files must reside) on many Blackberries.

Richard
Agreed. Remember that your device in normal use cases is connected. It would make more sense to host this remotely.
Fostah
A: 

Another possibility is to use the FileConnection API, and store the file(s) on an SDCard in the device. You'll have to come up with a solution for initially loading the data (have your app download it, or manually install via USB), but it may be your best option.

octo