Blackberry Application Development - blackberry

i am developing an app for blackberry and i am using blackberry maps in it. but when i am invoking the maps, getting an exception suspended (EOF exception). and on console
NO DENTRY KEY FOUND (0xeeeeeeee)!!

I got it working in the latest 9800 simulator I was able to download from RIM: 6.0.0.534
In the 9800 simulator that was bundled with the OS6 eclipse plugin, I got the exact same error as mentioned above (NO DENTRY KEY FOUND (0xeeeeeeee)).
Good luck!

Related

Error APPNAME module attempts to access a secure API when trying to start BlackBerry app on some devices

Our client is reporting when they try to start the app on their testing devices, the following error message appears:
I searched for the error, found this and this and it's mentioned this is caused when the code sign process is faulty.
From what I understand, if the code signing process fails, then the app shouldn't be able to run on any device, but the ones we have have no problem running the app at all.
The app is built with BlackBerry SDK 6.0 and we have tested on both a BlackBerry 9360 with OS version 7.1 Bundle 2102 (v.7.1.0.746, Platform 9.6.0.112) and a BlackBerry 9800 with OS 6.0 Bundle 1907 (v6.0.0.448, Platform 6.4.0.210). Both devices can run the app. The client is testing on another BlackBerry 9360 but I don't have the OS specifications at the moment, but already requested them.
I have installed the app through the BlackBerry Desktop Software, Eclipse's Debug As BlackBerry Device option and Eclipse's Load Project(s) on Device option.
The client uses BlackBerry Desktop Software to install the app on their testing device.
What can cause for the app to run fine on our devices but not on the ones the client uses?
Is the problem related to the code signing keys?
EDIT
The client shared with us the following device information:
BlackBerry 9900 7.1 bundle 1909 v7.1.0.658 platform 5.1.0.485
Are there any issues for this device with this specific or similar bundle setting?
Also another strange thing the client reported when we were talking to them was that when they went to the route in Options -> Device -> Application Manager, when accesing the app details and then Edit Permissions, they reported although permissions were present, no modules for the app were shown, I double checked on my side and when I install the app from Eclipse (either through the Debug As... option or the Load Project(s) on Device option) the app shows the modules but when installed through the BlackBerry Desktop Software the modules appear hidden, in both cases I can run the app on both devices we own. Is this normal? Can this affect certain devices and make them not run the app?
EDIT 2
I ran the signature tool by executing the jar and it shows the code signing process to be completed with no failed required or failed optional signatures. I attach the image displaying this:

Instrumented Worklight 6.1.0.1 hybrid app crashes on recording start with MTWW 8.5.1.2

Worklight v6.1.0.1
MTWW v8.5.1.2
I'm able to record tests for the App on both Android emulator and Android Device successfully.
However the instrumented app crashes on both iOS simulator and iOS device. Tried with different versions of iOS, there is no change in this behavior. On hitting the record button for the app, the splash screen is shown and then immediately the app crashes.
We tried with iOS 6, 6.1, 7.0 on simulators and devices. In the Device console I get "Handler error" and the next line is "App terminated".
I'm able to record tests for the same app when instrumented using IBM Worklight 6.0
Has anyone faced similar issue?
There is a known issue with MTWW 8.5.1.2 and Worklight v 6.1.0.1 that could be the one you are describing.
In order to be sure, if you use the 6.0 or 6.1 simulator, could you type the following command line before launching the recording ?
tail -f /var/log/system.log
Then launch a recording, and copy/paste the terminal log please.
A testfix has already been produced and a hotfix for this issue will be released.
An APAR has been created for this issue, APAR PI20298. (For worklight version 6.1 and workbench version 8.5.1.2) But IBM has informed that this issue cannot be fixed in test workbench 8.5.1.2 but has been fixed in 8.5.1.3, but validation on 8.5.1.3 is still in progress.
I hope this helps.

How can I fix these problems with a BlackBerry PhoneGap project and the simulator?

Based on the instructions here, I started a PhoneGap project in Eclipse that targets BlackBerry. However, I'm running into two problems with this project:
If the simulator is not open, it will open but the application will not be installed properly.
If the simulator is already open, a message will appear with the text: The emulator is loading, please wait..., but nothing will happen.
What could be causing this, and how can I get my PhoneGap project working correctly with the simulator?
i found that the problem in java-version
i used java7 - and it cause this problem
i tried java 6 update 25 and it works fine
thanks

Could not load BlackBerry webwork+PhoneGap application in BlackBerry 6.0 simulator

I have my application ready on BlackBerry webwork and PhoneGap.
I successfully run it using eclipse plug-in for BB 5.0 and BB 6.0.
But when I tried to wipe user data from BB 6.0 and tried to directly load .cod file from StandardInstall directory, application does not open. It just display splash screen.
I get error like
"ApplicationRegistry.wait For (0x3bc6259193b4b87c) timeout"
I am wondering that is it a simulator bug or something?
Notes:
I tested both singed and unsigned application.
Above mentioned method works on any simulator for BB 5.0
I also created normal BlackBerry application (without phoneGap and webwork) and I was able to load .cod file in BB 6.0.
I'd also like to present my question regarding difference between OTAInstall and StandardInstall. Check here.
Simulator information: Torch 9800 (6.0.0.227)
There was a simulator cleaning up issue.
I was using Reset option to clean simulator. But this will not work.
You need to run clean.bat file from simpack directory.
My path was:
D:\Eclipse\plugins\net.rim.browser.tools.wcpc_2.0.0.201103231828-18\wcpc\simpack\6.0.0.227
Use a Blackberry specific phonegap.js file. This will clear all the popup related issues.

MDS is not working

I am facing problem with MDS-CS simulator coming with JDE 4.7.0 , i am not able to connect to internet . I went in edit->preferences->simulator tab ->general tab -> ticked Launch MDS-CS with simulator check box. when i debug application i got the error, Here is following link which states the error.
http://www.freeimagehosting.net/image.php?3e41fce0ee.jpg
2) I have experience in symbian development , am new to Blackberry. In symbian there is called RDA (remote device access) which gives device kind of environment if we don't have device. Is same kind of concept available in blackberry as i don't have touch screen device
to test application.
Seems like wrong path to MDS, or antivirus/firewall activity.
Try download standalone MDS simulator, install it and run before run device simulator.
If you have antivirus/firewall installed, check it's logs.
EDIT Also see Support - BlackBerry MDS Simulator does not launch
AFAIK, RIM has no RDA like service..

Resources