BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 08-07-2012, 12:19 PM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Dec 2008
Model: 8707
PIN: N/A
Carrier: O2
Posts: 47
Post Thanks: 0
Thanked 4 Times in 3 Posts
Default Very specific problem with Google Maps and IT policy/application control policy

Please Login to Remove!

Hi All,

I'm trying to deploy Google Maps 4.5.3 from our BES 5.03 (latest maintenance release) to some 9860 handsets. I've got it to a stage where I can deploy it out to handsets but, when I run it on a handset, it is unable to get my location via GPS.

We have tight security rules and I have spent some time getting the application control policy for Google Maps opened up only as far as is required to run the application. I have the following rules set to allow with everything else disallowed/denied:

Interprocess Communication API
Internal network connections
GPS API
Change device settings
Display info whilst locked
WiFi API

This seems to allow Google Maps to work nicely, except for the GPS. When I ask Google Maps to find my location it gets my cell location* (accurate to a few km) but goes no further.

Sometimes when it gets to the point where it should be improving the accuracy with GPS, it pops up an error saying "The application GoogleMaps has attempted to open an external connection which is not allowed by your IT Policy". I've a nasty feeling that Google Maps, for some bizarre reason, needs to get an external connection in order to use GPS.

Now, the above error is referencing an IT policy item, not an application control policy item - if I enable it then all applications on the handset will be able to use external connections e.g. WAP. This is not an option as we have MDS set up on our BES so that all traffic routes via our IT infrastructure.

The other possibility is that our IT infrastructure (via MDS) is somehow blocking some API or something that Google Maps needs when it uses GPS. This seems unlikely though.

I should mention that Blackberry Maps works fine and is able to get a GPS fix no problem. Any help greatly appreciated!


*This didn't work either, incidentally, until I enabled WiFi API in the application control policy. WiFi is actually disabled on all of our Blackberries, so it seems a bad bit of coding on Google's part that this obsolete setting must be enabled in order for cell location to work.

Last edited by Boo-meringue : 08-07-2012 at 12:23 PM.
Offline  
Old 08-07-2012, 01:32 PM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2007
Model: Z10
OS: 10.1.0.19
Carrier: Fido
Posts: 1,068
Post Thanks: 6
Thanked 30 Times in 29 Posts
Default Re: Very specific problem with Google Maps and IT policy/application control policy

It defaults to external but will fail over to MDS after that and it works, sucks but that's how it is.
Offline  
Old 08-08-2012, 06:58 AM   #3 (permalink)
Knows Where the Search Button Is
 
Join Date: Dec 2008
Model: 8707
PIN: N/A
Carrier: O2
Posts: 47
Post Thanks: 0
Thanked 4 Times in 3 Posts
Default Re: Very specific problem with Google Maps and IT policy/application control policy

But what about the GPS itself? I'd kind of guessed that's what the application was doing, but it doesn't really explain why I can't get a GPS lock.
Offline  
Old 08-09-2012, 10:18 AM   #4 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2007
Model: Z10
OS: 10.1.0.19
Carrier: Fido
Posts: 1,068
Post Thanks: 6
Thanked 30 Times in 29 Posts
Default Re: Very specific problem with Google Maps and IT policy/application control policy

gps in google maps
Offline  
Old 09-28-2012, 12:12 PM   #5 (permalink)
Knows Where the Search Button Is
 
Join Date: Dec 2008
Model: 8707
PIN: N/A
Carrier: O2
Posts: 47
Post Thanks: 0
Thanked 4 Times in 3 Posts
Default Re: Very specific problem with Google Maps and IT policy/application control policy

Turns out it was permissions in the end. Bluetooth was the one I was missing, of all things.

The permissions I had to allow to get the app to work:

Interprocess communication
Internal Network connections
Bluetooth Serial Profile
GPS API

Everything else is locked down. I still get the "GoogleMaps has attempted to open an external connection" message from my first post, but that's just a mild irritation.
Offline  
Old 10-01-2012, 08:34 PM   #6 (permalink)
Thumbs Must Hurt
 
Join Date: Mar 2005
Model: 7520
Carrier: Nextel
Posts: 75
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Very specific problem with Google Maps and IT policy/application control policy

Quote:
Originally Posted by Boo-meringue View Post
Everything else is locked down. I still get the "GoogleMaps has attempted to open an external connection" message from my first post, but that's just a mild irritation.
have you tried changing the googlemaps application options on the handheld itself?

os6: options -> device -> application management -> select google maps
Press Menu & select "Edit Permissions"
Highlight "Connections"
press Menu & select Expand
Server Network: should be set to Prompt or Allow
Internet: set to Deny
Offline  
Old 10-02-2012, 06:30 AM   #7 (permalink)
Knows Where the Search Button Is
 
Join Date: Dec 2008
Model: 8707
PIN: N/A
Carrier: O2
Posts: 47
Post Thanks: 0
Thanked 4 Times in 3 Posts
Default Re: Very specific problem with Google Maps and IT policy/application control policy

Just realised that WiFi API is also allowed on the application control policy.

So:
Interprocess communication
Internal Network connections
Bluetooth Serial Profile
GPS API
WiFi API

The permissions on the handset reflect this as you'd expect. The above are all set to allow and everything else is set to deny (and greyed out). I think the external network connection error is just a bug, tbh.
Offline  
Old 10-04-2012, 01:33 PM   #8 (permalink)
Thumbs Must Hurt
 
Join Date: Mar 2005
Model: 7520
Carrier: Nextel
Posts: 75
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Very specific problem with Google Maps and IT policy/application control policy

As I stated above..did you try telling the app itself not to use the "internet' but only the server network?

Also, if that doesn't work. Do you get he same error if Wifi is turned off on the handset? Maybe it's trying to use assisted gps using locally locatable wifi signals for the initial location.
Offline  
Old 10-08-2012, 06:02 AM   #9 (permalink)
Knows Where the Search Button Is
 
Join Date: Dec 2008
Model: 8707
PIN: N/A
Carrier: O2
Posts: 47
Post Thanks: 0
Thanked 4 Times in 3 Posts
Default Re: Very specific problem with Google Maps and IT policy/application control policy

I'm also seeing the same error on another app: FancyTran.

As I said, the permissions shown on the handset reflect exactly what is set in the BES ACP - "Server Network" is set to Allow and "Internet" is set to Deny. This is the case with both apps I'm seeing this error on.

Wifi is disabled under our IT Policy so is always switched off on handsets.
Offline  
Old 12-09-2012, 01:12 PM   #10 (permalink)
New Member
 
Join Date: Dec 2012
Model: 9350
PIN: N/A
Carrier: sprint
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Very specific problem with Google Maps and IT policy/application control policy

From where can I download it and btw also haveing prob. With app google app for bb


Please help

Last edited by yakovadl : 12-09-2012 at 01:13 PM.
Offline  
Old 12-09-2012, 02:33 PM   #11 (permalink)
BlackBerry Elite
 
knottyrope's Avatar
 
Join Date: Jan 2008
Location: Massachusetts
Model: Passp
OS: 10.2.1
PIN: t of blood has been taken
Carrier: AT&T-US with I dee ten tee errors
Posts: 6,817
Post Thanks: 287
Thanked 305 Times in 287 Posts
Default Re: Very specific problem with Google Maps and IT policy/application control policy

on device goto Google Mobile
__________________
unlock you phone here http://cellunlocker.net/blackberry-unlock.php
I am on http://supportforums.blackberry.com
BES 10 running sweet for my Passport, Z30, Z10 and Q10
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.