BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 08-10-2007, 07:36 PM   #1 (permalink)
New Member
 
Join Date: Aug 2007
Model: 8830
PIN: N/A
Carrier: Verizon
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Red face platformRequest not bringing up browser?

Please Login to Remove!

Hi -

Does anyone know what could stop the J2ME platformRequest from starting the browser or calling a number? The same code works on a RAZR and others, but not on my 7105 or 8830 BBs.

if (shell.platformRequest("tel: 6507732590")) // aslo tried... "http://www.myvello.com/a/t.html"
{
shell.displayAlert("starting brwsr... ", "shutting down app first!");
shell.destroyApp(true);
}

The url is correct, and pointing to a very simple html page (or tel #). I've tried wml pages, but nothing's working. It gets to the call then just acts as if it's returning TRUE, which is supposed to indicate the need to shut the app down before the browser will start. I do that and the app shuts down, but the browser doesn't show up. There is an indicator that shows some incoming traffic, as if it's requesting and receiving html from the server.

Is the ASM (is that right?) recognizing how to open the html and/or wml? And why would the J2ME app need to be shut down anyway? I've tried putting the call in the very front of the app, but it still doesn't work.

Any help is greatly appreciated. I'm out of ideas. Thanks!

Last edited by Jarisha : 08-10-2007 at 07:40 PM.
Offline  
Old 08-19-2007, 06:27 PM   #2 (permalink)
Talking BlackBerry Encyclopedia
 
Skipper_Joe's Avatar
 
Join Date: Jan 2007
Location: Kharkov, Ukraine
Model: 8300
Carrier: N/A
Posts: 237
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I did small sample with MIDlet.platformRequest() and feed it with tel:<number> format string - it works on 4.0.2 and 4.2.0 simulators - as required by javadoc.

Maybe you trying to do not from UI-event thread?
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

25pc CATV amplifier module UXO127 40 to 450 MHz 24V 27dB Gain
$9.95
25pc CATV amplifier module UXO127 40 to 450 MHz 24V 27dB Gain  picture25pc CATV amplifier module UXO128 40 to 625 MHz 24V 18dB Gain
$9.95
25pc CATV amplifier module UXO128 40 to 625 MHz 24V 18dB Gain  pictureCATV amplifier module UXO210 Up to 1000MHz 24V 18.2dB Gain 25pc Power Amplifier
$9.95
CATV amplifier module UXO210 Up to 1000MHz 24V 18.2dB Gain 25pc Power Amplifier picture25pc CATV amplifier module UXO105A 40 to 650 MHz 24V 17dB Gain
$9.95
25pc CATV amplifier module UXO105A 40 to 650 MHz 24V 17dB Gain  picture25pc CATV amplifier module UXO142 40 to 500 MHz 24V 26dB Gain
$9.95
25pc CATV amplifier module UXO142 40 to 500 MHz 24V 26dB Gain  picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.