BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 08-16-2007, 10:51 PM   #1
guga123
New Member
 
Join Date: May 2007
Model: 7290
PIN: N/A
Carrier: None
Posts: 7
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
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

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
guga123
New Member
 
Join Date: May 2007
Model: 7290
PIN: N/A
Carrier: None
Posts: 7
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



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


Utility Aluminum Trim Coil 24

Utility Aluminum Trim Coil 24" x 40-45 FT Long with Minor Scratches and Dents

$84.95



D4PE12029AA 6 Volt Ignition Coil Fits Ford/New Holland Tractor 600 700 800 picture

D4PE12029AA 6 Volt Ignition Coil Fits Ford/New Holland Tractor 600 700 800

$26.44



1100-0541 6 Volt Ignition Coil for Ford Tractor 2N 8N 9N Front Mount 9N12024 picture

1100-0541 6 Volt Ignition Coil for Ford Tractor 2N 8N 9N Front Mount 9N12024

$27.36



AIR CONDITIONING CN-PBC402-24V Definite Purpose Contactor 2P 40A 24V Coil picture

AIR CONDITIONING CN-PBC402-24V Definite Purpose Contactor 2P 40A 24V Coil

$16.99



QUICK COIL NETBRAZE SilTron Brazing Wire 3/32 inch rd x 22 ft right handed picture

QUICK COIL NETBRAZE SilTron Brazing Wire 3/32 inch rd x 22 ft right handed

$69.99



Dental Orthodontic Niti Open Coil Spring Spool .008/010/012/014 Inch 914mm picture

Dental Orthodontic Niti Open Coil Spring Spool .008/010/012/014 Inch 914mm

$74.79







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