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
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... ""
shell.displayAlert("starting brwsr... ", "shutting down app first!");

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.
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

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?

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