BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 04-14-2009, 06:01 AM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2009
Model: 7100T
PIN: N/A
Carrier: -
Posts: 73
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default can i disable ITPolicy programatically?

Please Login to Remove!

hi, is there any possibility not to show alerts made by ITPolicy? i've checked api for ITPolicy class, but i did not find anything that will let me not showing these alerts.


kind regards
Offline  
Old 04-14-2009, 07:01 AM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Post Thanks: 20
Thanked 77 Times in 68 Posts
Default

I don't know what you mean by "alerts made by ITPolicy". I have never seen any way to disable the IT policy programatically on the device. In fact the only way to remove an IT policy involves wiping all data.
Offline  
Old 04-15-2009, 03:32 AM   #3 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2009
Model: 7100T
PIN: N/A
Carrier: -
Posts: 73
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

by ITPlolicy i mean alert like, for example when Your application connects to a server->then You get an alert asking about socket connection. or if Your application must receive sms->then You also get an alert asking about 'sms_receive'. what else.. 'ssl-socket', creating a file on BB also makes such an alert.. i must get rid of them somehow..
Offline  
Old 04-15-2009, 08:11 AM   #4 (permalink)
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Post Thanks: 20
Thanked 77 Times in 68 Posts
Default

Not that I have ever been able to find. One of the features of the Blackberry is that applications can't do anything that the user has not approved. Starting in 4.5 (IIRC) there is the concept of "trusted applications" which allows the user to avoid approving every little thing, but it is still under the user control.

I have privately hypothesized that applications pushed from the BES may have a way to avoid this so that corporate applications don't fail because the user withholds a required permission. I have not yet had time to investigate this however.
Offline  
Old 04-15-2009, 08:14 AM   #5 (permalink)
Thumbs Must Hurt
 
Join Date: Feb 2009
Model: 9000
PIN: N/A
Carrier: T-Mobile
Posts: 67
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

if you could override it programmatically what would the point be of it existing? the whole idea is that an app can't help itself to your entire email backlog and address book and upload the contents to some dodgy server.

and yes - the permissions can be set via the bes.
Offline  
Old 04-15-2009, 10:52 AM   #6 (permalink)
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Post Thanks: 20
Thanked 77 Times in 68 Posts
Default

Thanks hippocamp.
Offline  
Old 04-16-2009, 12:39 AM   #7 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2009
Model: 7100T
PIN: N/A
Carrier: -
Posts: 73
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

the reason i'm asking about that is first of all-they are quite annoying. and also-i'm making a background application which starts always with the device. this application is supposed to listen for sms. i cannot imagine a background application that shows alerts asking about sms!! this sucks!!

so what You suggest is that i can ask my BES admin about that?

kind regards
Offline  
Old 04-16-2009, 03:12 AM   #8 (permalink)
Thumbs Must Hurt
 
Join Date: Feb 2009
Model: 9000
PIN: N/A
Carrier: T-Mobile
Posts: 67
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes - you can set the permissions for an application via the BES so any BES users won't see the modal alerts. Most consumer software will be on BIS though so these permissions are something you have to learn to love. I know they're frustrating but they do help user confidence from a security point-of-view.
Offline  
Old 04-16-2009, 07:18 AM   #9 (permalink)
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Post Thanks: 20
Thanked 77 Times in 68 Posts
Default

The user is give the option to answer once and not be asked again, in which case they are only asked the first time the application accesses the protected API after install or upgrade.

If the application you are writing is for deployment to units on a BES then you absolutely should be talking to the BES admin. If nothing else you can off load deployment and upgrading to the BES so you don't have to worry if users are upgrading when they should. And if then know, or can learn, how to set permissions to get rid of the alerts its win win.
Offline  
Old 04-16-2009, 07:33 AM   #10 (permalink)
Thumbs Must Hurt
 
Join Date: Jan 2009
Model: 7100T
PIN: N/A
Carrier: -
Posts: 73
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

ok, it seems that i really cannot do with it nothing programatically..
thx for Your answers and help!

kind regards
Offline  
Old 04-22-2009, 04:25 AM   #11 (permalink)
Thumbs Must Hurt
 
Join Date: Jul 2007
Model: 8800
PIN: N/A
Carrier: TDC
Posts: 115
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by misty83 View Post
ok, it seems that i really cannot do with it nothing programatically..
thx for Your answers and help!

kind regards
Well... it depends a bit on your infrastructure I would say. You could make yourself an application on the BES which alters the ITPolicy. This should be pretty straightforward. You could have that application listen to your devices which on startup would send a ping to your server.
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.