Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Highlighted
Developer
Posts: 551
Registered: ‎10-31-2009
My Device: Torch 9800, Bold 9700
My Carrier: Movistar, Telenor

simulator replaces "+" with "011"

When running on simulator  5.0  Blackberry JDE  I pickup the number the user is calling in PhoneListener, CallInitiated.

 

if I dial an iternational number with the shortform "+" for country code prefix  the "+" is changed to

"011" when I pick it up in PhoneListener.

 

+8122222222  is changed to 01181222222222

That is also the number shown in the dialog box that opens when making a call

 

Question: Is this "by design" or an error?

 

If it is by design, what is the meaning of it?

 

Is a real phone doing it too?

If everything seems to be under control, you're just not driving fast enough
-Mario Andretti-
Developer
Posts: 2,268
Registered: ‎07-08-2009
My Device: various
My Carrier: various

Re: simulator replaces "+" with "011"

011 is just the USA prefix for international dialing.  Your simulator thinks it is in the USA.  This might change if you adjust your regional settings (then you will use other country's international dialing prefix).

----------------------------------------------------------
please click 'Accept Solution' on posts that provide the solution to the question you've posted. Don't say "Thanks", press 'Like' button instead!
Developer
Posts: 551
Registered: ‎10-31-2009
My Device: Torch 9800, Bold 9700
My Carrier: Movistar, Telenor

Re: simulator replaces "+" with "011"

Interesting.

 

is that something that all kind of mobile phones does or is it just Blackberry? I was under the impression that the phone actually sent the "+" and that the carrier took care of the translation to numericals. If the phone is responsible for that translation there must be a way to query the carrier since the telephone takes care of it when I travel. I have all my numbers with "+" and dont have to change anything when travelling

If everything seems to be under control, you're just not driving fast enough
-Mario Andretti-