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

Comfort Products 60-5800T Commodore II Oversize Leather Chair with Adjustable
$181.29
Comfort Products 60-5800T Commodore II Oversize Leather Chair with Adjustable pictureVM110 VIC-20 Programmers Reference Guide, Commodore Business Machines
$15.99
VM110 VIC-20 Programmers Reference Guide, Commodore Business Machines pictureReconditioned Windsor Commodore 20 Carpet Extractor
$3025.0
Reconditioned Windsor Commodore 20 Carpet Extractor pictureWINDSOR COMMODORE 20 - COMMERCIAL CARPET EXTRACTOR - SAVE HUNDREDS OF $$$
$679.0
WINDSOR COMMODORE 20 - COMMERCIAL CARPET EXTRACTOR - SAVE HUNDREDS OF $$$ pictureDDC IEEE-448 DATA BUS ADAPTER ILC DEVICE DBA-488 HPIB GPIB COMMODORE HP USED
$676.88
DDC IEEE-448 DATA BUS ADAPTER ILC DEVICE DBA-488 HPIB GPIB COMMODORE HP USED picture






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