BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 08-16-2007, 10:51 PM   #1 (permalink)
New Member
 
Join Date: May 2007
Model: 7290
PIN: N/A
Carrier: None
Posts: 7
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem connecting in 4.2 (same code works fine in 4.1)

Please Login to Remove!

Hey guys,

I have an application that works just fine on devices running 4.1. I am able to make http connections without a problem. Now, when a user using a new device that runs 4.2 tries to run an application, he gets a Java Exception - SecurityException. This happens with more then one user and in different carriers. Doing some research I found it to be related to permission to access the network. I went over all the security options with the user to make sure the application had the proper permissions but we are still having problems. The pop-up that asks the user if he wants to allow the application to make the connection does not even show up. Any ideas?

Thank you,
Guga
Offline  
Old 08-28-2007, 03:49 PM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Sep 2005
Location: Princeton, NJ
Model: 9800
OS: Windows 7
Carrier: AT&T/Cingular
Posts: 48
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

is this your problem ?
Livelink - Redirection

The work around is to append the following line after

visit.displayPage("url");

visit.showBrowser();
Offline  
Old 08-28-2007, 05:10 PM   #3 (permalink)
New Member
 
Join Date: May 2007
Model: 7290
PIN: N/A
Carrier: None
Posts: 7
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem solved

Hi,

I finally put my hands on a device with version 4.2. The problem was that the HTTP in the connection string was upper case and it will not work if you are in version 4.2. Not sure why. In the emulator it works fine.

Thank you for all the help.
Guga
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

Dell Inspiron N5040 OEM LCD Front Cover Bezel 0mr95c
$17.0
Dell Inspiron N5040 OEM LCD Front Cover Bezel 0mr95c pictureDell 1720 MW558 High Capacity Toner Cartridge -OEM Sealed (CC-EB13)
$79.99
Dell 1720 MW558 High Capacity Toner Cartridge -OEM Sealed (CC-EB13) pictureEE12: Genuine OEM DELL 0RC343 RC343 AC ADAPTER POWER CHARGER
$11.04
EE12:  Genuine OEM DELL 0RC343 RC343 AC ADAPTER POWER CHARGER pictureOEM Dell Alienware M17X M18X AMD Video Graphics Card HD4870
$70.0
OEM Dell Alienware M17X  M18X AMD Video Graphics Card HD4870  pictureOEM Dell Alienware M17X M18X AMD Video Graphics Card HD4870
$80.0
OEM Dell Alienware M17X  M18X AMD Video Graphics Card HD4870  picture






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