BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 08-09-2007, 10:18 AM   #1
batrad
Knows Where the Search Button Is
 
Join Date: Sep 2005
Location: Princeton, NJ
Model: 9800
OS: Windows 7
Carrier: AT&T/Cingular
Posts: 48
Default Force use of Intranet Browser

Please Login to Remove!

With the help of folks on this forum, I had compiled a little app that launches a web page on our Intranet. This ususally works if the default MDS Browser selection on the Blackberry device is set to Blackberry Browser.

If the MDS Browser is set to Internet Browser, the code fails and we get a page not found error.

Appreciate if someone can help me with my code so that the Blackberry Intranet browser is always used to launch the URL

int numRecords = records.length;
for( int i = 0; i < numRecords; i++ )
{
ServiceRecord myRecord = records[i];
if (myRecord == null)
{
continue;
}
String description = myRecord.getDescription();
if( myRecord.isValid() && !myRecord.isDisabled() )
{
String[] keywords = StringUtilities.stringToKeywords(description);
if (keywords != null)
{
for(int j=0; j < keywords.length; j++)
{
if(keywords[j].equalsIgnoreCase("Blackberry"))
{
_wapBrowser = true;
uid = myRecord.getUid();
}
}
}
}
if(_wapBrowser)
break;
}
Offline  
Old 08-09-2007, 12:16 PM   #2
CPO
New Member
 
Join Date: Apr 2007
Location: Ottawa
Model: 8100
PIN: N/A
Carrier: Rogers
Posts: 14
Default

Have you tried appending ";deviceside=false" to the end of the web URL you are trying to launch?

What class are you using to launch the web page?
Offline  
Old 08-20-2007, 12:28 PM   #3
batrad
Knows Where the Search Button Is
 
Join Date: Sep 2005
Location: Princeton, NJ
Model: 9800
OS: Windows 7
Carrier: AT&T/Cingular
Posts: 48
Default

Quote:
Originally Posted by CPO View Post
Have you tried appending ";deviceside=false" to the end of the web URL you are trying to launch?

What class are you using to launch the web page?

CPO,
did that, did not help

added

visit.displaypage("http://www.yahoo.com;deviceside=false;");

I'm using the net.rim.api.blackberry.browser & net.rim.blackberry.api.BrowserSession class files

Appreciate any assistance you can provide
Offline  
Old 08-28-2007, 03:24 PM   #4
batrad
Knows Where the Search Button Is
 
Join Date: Sep 2005
Location: Princeton, NJ
Model: 9800
OS: Windows 7
Carrier: AT&T/Cingular
Posts: 48
Default

fixed it by searching for the Mobile instead of Blackberry
Offline  
Closed Thread



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Single To 3 Phase 7.5KW 10HP 220V Variable Frequency Drive Inverter CNC VFD VSD picture

Single To 3 Phase 7.5KW 10HP 220V Variable Frequency Drive Inverter CNC VFD VSD

$169.90



VEVOR 7.5KW 10HP Variable Frequency Drive Inverter Convert 1 To 3 Phase VFD 220V picture

VEVOR 7.5KW 10HP Variable Frequency Drive Inverter Convert 1 To 3 Phase VFD 220V

$162.99



VEVOR 3HP 2.2KW 10A Variable Frequency Drive VFD for 3-Phase Motor Speed Control picture

VEVOR 3HP 2.2KW 10A Variable Frequency Drive VFD for 3-Phase Motor Speed Control

$70.99



7.5KW 220V 10HP Variable Frequency Drive Converter VFD Inverter 1 To 3 Phase CE picture

7.5KW 220V 10HP Variable Frequency Drive Converter VFD Inverter 1 To 3 Phase CE

$169.90



VEVOR 1.5KW 2HP Variable Frequency Drive Inverter 1 to 3 Phase VSD VFD 7A 220V picture

VEVOR 1.5KW 2HP Variable Frequency Drive Inverter 1 to 3 Phase VSD VFD 7A 220V

$59.99



VEVOR 4KW 220V 5HP Variable Frequency Drive Converter VFD Inverter 1 To 3 Phase picture

VEVOR 4KW 220V 5HP Variable Frequency Drive Converter VFD Inverter 1 To 3 Phase

$102.99







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