06-05-2012 06:28 AM
I'm trying to do bbm integration with the alternative dependency checker, but not getting anywhere near the expected results..
As simulator i am using the torch and the bold from this url
http://us.blackberry.com/developers/blackberrymess
And I'm following the getting started and development guidelines from her http://docs.blackberry.com/en/developers/subcatego
If i try to run the app in the 9800 torch bbm enabled simulator it says wrong jvm but keeps running, when i run the app the getinstance always returns null like it fails to add the persistent object (no exception is thrown though).
In the 9900 bold simulator it looks like its running smoothly, I get a dialog asking me if i want to connect the app to bbm. If I choose to connect it then it wants to verify my app.
After several minutes it fails and I see the following error message in the out´put console:
[128.656] BbiAuth:ERR:net.rim.device.api.crypto.bbiauth.BbiA
Note: My app only needs to set the profile personal message and not interact between 2 contacts, therefore I am running the simulator from eclipse with the custom commandline mentioned in the getting started guideline.
06-05-2012 07:46 AM
Does it work if you use the Simulators supplied with BBM?
06-05-2012 07:48 AM
Ok so i found out that the problem must be with the internet connection through the MDS simulator
The 9800 bbm enabled simulator has internet just fine through the MDS sim.
In the getting started guide there is a custom commandline for the 9800 which i copied and edited for the 9900
So my guess is that this custom commandline is wrong.
The commandline i put for the 9900 is:
"C:\Program Files (x86)\Research In Motion\BlackBerry Smartphone Simulators 7.0.0\7.0.0.236 (9900)\fledge.exe" /handheld=9900 /app-param=JvmAlxConfigFile:9900.xml /pin=0x2100000A /data-port=0x4d44 /data-port=0x4d4e /session=9900 /app="C:\Program Files (x86)\Research In Motion\BlackBerry Smartphone Simulators 7.0.0\7.0.0.236 (9900)\Jvm.dll" /app=Jvm.dll /handheld=9900 /session=Sim1 /app-param=JvmAlxConfigFile:9900.xml /data-port=0x4d44 /data-port=0x4d4e /pin=0x2100000A /app-param=regVersion=3 /app-param=regDestIP=127.0.0.1 /app-param=regDestPort=19781 /app-param=regSrcPort=19780 /app-param=DisableSyncServiceRecord /title="BlackBerry 9900-1 Simulator"
06-05-2012 07:49 AM
06-05-2012 09:43 AM
ok so i think im one step closer to figuring out what is wrong with mds
apparently the version of the mds simulator shipping with the eclipse plugin doesn't work with OS 7.x?
can anyone point me to a download of a version that does?