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

MSA 5 ALTAIR Part # ABL11A0N0110UL00 NEW IN BOX COMPLETE
$1250.0
MSA 5 ALTAIR Part # ABL11A0N0110UL00 NEW IN BOX COMPLETE pictureMSA 10111213 5 BANK Charger for Altair 4X and 5X Multigas Detectors NIB Last 1
$900.0
MSA 10111213  5 BANK Charger for Altair 4X and 5X Multigas Detectors NIB Last 1 pictureused MSA Altair 4x gas detector
$99.99
used MSA Altair 4x gas detector picture* MSA Galaxy GX2 Test Stand+ Cylinder Holder+TWO Charge stands. (altair)
$950.0
* MSA Galaxy GX2  Test Stand+ Cylinder Holder+TWO Charge stands. (altair) pictureMsa Altair Inlet Dust Filters 5 Pack, 808935
$3.49
Msa Altair Inlet Dust Filters 5 Pack, 808935 picture






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