09-09-2008 08:09 AM
Hello All,
i am developing an applicaiton that uses the phone api and messaging api. and before putting it on device i want to
test it on simulator ... so can i simulate phone call on simulator (incoming call) and a incoming message..
right now am using the 4.2.0.... Please guide me is this possible and if yes how to ?
Regards,
xtpl
Solved! Go to Solution.
09-09-2008 09:28 AM
09-09-2008 09:50 AM
thanks simon..
i checked the phone call simulation.. it is great...i was naive enough to ignore that...
but for the messages, i was asking about sms messages..
i should have specified the "sms" ... ![]()
so is it possible that simulator can have an incoming SMS.. ?
Regards,
xtpl
01-18-2009 08:52 AM
Anyone knows how to simulate new SMSs in the simulator ??
Thx in advance!
01-19-2009 03:49 AM
01-19-2009 09:32 AM
Here is how you can simulate incoming SMS messages in the BlackBerry Simulator:
1. Launch the BlackBerry simulator, noting the values specified on the command-line for /sms-source-port and /sms-destination-port
2. While that simulator is still running, launch another one from the command line but switching the SMS source and destination ports
3. The 2nd simulator will report port conflicts; continue but note that you will not be able to connect the debugger, MDS Simulator or Email Server Simulator to the second simulator instance.
4. Send SMS messages from the 2nd simulator. They should show up in the inbox of the 1st simulator. Note that these received SMS messages may be incorrectly marked as “read” or “important”.
04-24-2009 09:58 PM
You can avoid needing to run two copies of the simulator by just setting the send and recieve ports to the SAME value (I picked 1212). Now any time you send an SMS in the simulator, you will recieve that same SMS instantly.
To set the ports in the JDE, go into Edit-Prefs-Simulator->Network. You might need to create a new profile since the default one does not seem to let you update these vaules.
-josh