BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 08-10-2007, 08: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 08:40 PM.
Offline  
Old 08-19-2007, 07: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





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