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





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