Spike
asked on
Sending SMS messages via a Blackberry
I've developed an appplication using Eclipse Helios, with pllugins for  Blackberrys that sends a SMS message. When I run this in a simulator I get the erroor message "JVM Error 104"
"ControlledAccessException ". I'm thinking there's a permssiions set up I haven't done.
Ideas please!
"ControlledAccessException
Ideas please!
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Not quite right as you don't need signing for the simulator- but useful all the same!
Quiet right, I haven't used that API on the emulator in ages, but I recall that you are correct, signing wasn't required for the emulator. I wasn't sure what sort of "simulator" you were using, and wasn't sure if perhaps the latest emulators worked more like real phones now. For that matter, it might be other parts of the API that require signing and not the SMS, because now that I'm recalling the last blackberry SMS app I wrote, I don't think I needed to sign it until I added code to autodetect the phone number of the user. I apologize that I'm out of practice, so may have put some misinformation there, but glad it helps. Cheers.
ASKER
No problem- I'm now running it via a USB cable to a 9800, and I have managed to send a SMS without signing- I don't know if I'll need signing when installed properly yet.
Latest emulators aren't great still!
Cheers
Latest emulators aren't great still!
Cheers
ASKER
You just need to set the correct IT policy!
However, this is useful info for when its run on an actual phone- so I'll accept it as the solution!