BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 09-27-2010, 07:02 AM   #1 (permalink)
New Member
 
Join Date: Sep 2010
Model: 9000T
PIN: N/A
Carrier: Mobile Developer
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default HttpConnection!!!

Please Login to Remove!

Hi,
In HttpConnection, whenever application try connect to the url, a window pop-up asking for connection.
What if i do not want that window. Is there some parameter or something which i have to change....Please Help.
Offline  
Old 09-27-2010, 08:54 AM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

If you sign the application, you will only see this once (if at all).
Offline  
Old 09-28-2010, 01:29 AM   #3 (permalink)
New Member
 
Join Date: Sep 2010
Model: 9000T
PIN: N/A
Carrier: Mobile Developer
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for reply.
But i don't want anytime. I download some application and found that there are some applications in which it never ask about permission.
Offline  
Old 09-28-2010, 08:23 AM   #4 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

First, Sign the application.

Second, your customer can set the application permissions any way he wants, including restricting your access to HTTP altogether. If the permissions is set to "Ask" in the device options, then the OS will ask, period. If your app is signed, the user will get the option of "don't ask me this again".

Another thing you can do is use the ApplicationPermissionsManager to request the correct permissons be set on startup (when the app is first installed). Your user will get a dialog asking him to review/approve the requested permissions.
Offline  
Old 09-29-2010, 03:57 AM   #5 (permalink)
New Member
 
Join Date: Sep 2010
Model: 9000T
PIN: N/A
Carrier: Mobile Developer
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

signing the application doesn't change anything........:(
Offline  
Old 09-29-2010, 08:52 AM   #6 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

Then the device has your ApplicationPermissions set to "ask". See my earlier post about using ApplicationPermissionsManager to request the appropriate permissions.

Do you have access to the device? If so, make sure that all *your* app's permissions are set to "Allow".
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

Siemens 6ES7312-1AE13-0AB0 6ES7 312-1AE13-0AB0 SIMATIC S7-300 CPU 312
$225.0
Siemens 6ES7312-1AE13-0AB0 6ES7 312-1AE13-0AB0 SIMATIC S7-300 CPU 312  pictureSiemens 6ES7214-1AC01-0XB0, Siemens 6ES7 214-1AC01-0XB0, CPU 214
$96.12
Siemens 6ES7214-1AC01-0XB0, Siemens 6ES7 214-1AC01-0XB0, CPU 214 picture5pcs 40x27x8mm High Quality Aluminum Heat Sink + adhesive tape for CPU Cooling
$5.93
5pcs 40x27x8mm High Quality Aluminum Heat Sink + adhesive tape for CPU Cooling pictureToshiba Strata CTX100 CHSUB112A W/ ACTU2A V.1 Processor BSIS1A V.1 AMDS1A RC0S3
$399.0
Toshiba Strata CTX100 CHSUB112A W/ ACTU2A V.1 Processor BSIS1A V.1 AMDS1A RC0S3 pictureAXIOMTEK SBC86836 Industrial ITX motherboard N270 processor Dual network Tested
$150.69
AXIOMTEK SBC86836  Industrial ITX motherboard N270 processor Dual network Tested picture






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