BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 04-14-2009, 06:01 AM   #1
misty83
Thumbs Must Hurt
 
Join Date: Jan 2009
Model: 7100T
PIN: N/A
Carrier: -
Posts: 73
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
hrbuckley
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
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
misty83
Thumbs Must Hurt
 
Join Date: Jan 2009
Model: 7100T
PIN: N/A
Carrier: -
Posts: 73
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
hrbuckley
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
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
hippocamp software
Thumbs Must Hurt
 
Join Date: Feb 2009
Model: 9000
PIN: N/A
Carrier: T-Mobile
Posts: 67
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
hrbuckley
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Default

Thanks hippocamp.
Offline  
Old 04-16-2009, 12:39 AM   #7
misty83
Thumbs Must Hurt
 
Join Date: Jan 2009
Model: 7100T
PIN: N/A
Carrier: -
Posts: 73
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
hippocamp software
Thumbs Must Hurt
 
Join Date: Feb 2009
Model: 9000
PIN: N/A
Carrier: T-Mobile
Posts: 67
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
hrbuckley
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
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
misty83
Thumbs Must Hurt
 
Join Date: Jan 2009
Model: 7100T
PIN: N/A
Carrier: -
Posts: 73
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
genvej
Thumbs Must Hurt
 
Join Date: Jul 2007
Model: 8800
PIN: N/A
Carrier: TDC
Posts: 115
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



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


Trenton 92-506313-XXX W/ 2x Intel Xeon Processors & 4GB DDR2 RAM picture

Trenton 92-506313-XXX W/ 2x Intel Xeon Processors & 4GB DDR2 RAM

$439.99



NETWORK INSTRUMENT GIGASTOR- 2U (2X) XEON E5-2630- 64 GB PC3 RAM picture

NETWORK INSTRUMENT GIGASTOR- 2U (2X) XEON E5-2630- 64 GB PC3 RAM

$356.99



Siemens Simatic Box PC IPC627D Xeon E3-1268Lv3 16GB RAM 250 GB HDD *Read Listing picture

Siemens Simatic Box PC IPC627D Xeon E3-1268Lv3 16GB RAM 250 GB HDD *Read Listing

$449.99



Super-Micro P4DC6+ Motherboard with 2 Xeon i processors with SCSI RAID picture

Super-Micro P4DC6+ Motherboard with 2 Xeon i processors with SCSI RAID

$200.00



POSEIDON XEON D-1500 PRODRIVE TECH BOX picture

POSEIDON XEON D-1500 PRODRIVE TECH BOX

$500.00



X8DTN+dual channel Xeon 1366 server motherboard supports 5600CPU multiple PCI-X picture

X8DTN+dual channel Xeon 1366 server motherboard supports 5600CPU multiple PCI-X

$558.73







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