BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/index.php)
-   BES Admin Corner (http://www.blackberryforums.com/forumdisplay.php?f=21)
-   -   How to control location-based services (GPS) on the BlackBerry smartphone (http://www.blackberryforums.com/showthread.php?t=103726)

hdawg 11-07-2007 02:17 PM

How to control location-based services (GPS) on the BlackBerry smartphone
 
We're still a few months out for 4.1.5 ... but with 4.3 just coming out we're part way there with this one.
==================

How to control location-based services on the BlackBerry smartphone
Doc ID : KB14430
Last Modified : 2007-11-07
Document Type : How To

Environment

* BlackBerry® Enterprise Server software version 4.1 Service Pack 5
* BlackBerry® Device Software 4.3 or later



Procedure

Third-party applications and preloaded BlackBerry smartphone applications on BlackBerry smartphones that support the GPS feature can use the GPS feature by default. For example, BlackBerry® Maps is a preloaded application that uses the GPS feature on the BlackBerry smartphone to allow BlackBerry smartphone users to locate the global positions of their BlackBerry smartphones. The BlackBerry Enterprise Server includes options to allow the BlackBerry Enterprise Server administrator to control the GPS feature and the location-based services on supported BlackBerry smartphones that use the feature.

Note: The BlackBerry® Infrastructure does not store the locations of BlackBerry smartphones. When the BlackBerry smartphone sends the identity of the wireless service provider with which it is registered to the BlackBerry Infrastructure, the BlackBerry Infrastructure retrieves the ephemeris data for each GPS satellite signal on the wireless network and sends it to the BlackBerry smartphone. The GPS receiver on the BlackBerry smartphone then knows the location of each GPS satellite in the wireless coverage area. The BlackBerry smartphone uses this data to calculate its own location, but the BlackBerry smartphone does not report its location to the BlackBerry Infrastructure.
Resolution

Disable the GPS feature on the BlackBerry smartphone

The following measures prevent third-party applications and preloaded BlackBerry applications from accessing the global position of the BlackBerry smartphone:

* The BlackBerry Enterprise Server administrator can set the BlackBerry smartphone GPS application control policy rule to Not Permitted in the default application control policy to prevent all third-party applications from using the GPS feature.
* Using BlackBerry Enterprise Server software version 4.1 Service Pack 5, the BlackBerry Enterprise Server administrator will be able to set the Disable GPS IT policy rule to True to prevent BlackBerry smartphones that are running BlackBerry Device Software 4.3 or later from permitting third-party applications and preloaded BlackBerry applications from accessing the GPS feature.

Control use of the GPS feature by specific third-party applications on the BlackBerry smartphone

The BlackBerry Enterprise Server administrator can set the BlackBerry smartphone GPS application control policy rule to Not Permitted in a specific application control policy to prevent specific third-party applications from using the GPS feature.

Prevent the BlackBerry smartphone from reporting its location to the BlackBerry Enterprise Server

By default, the Enable Enterprise Location Tracking IT policy rule is set to False to prevent the BlackBerry smartphone from using the GPS feature to report its location to the BlackBerry Enterprise Server at regular intervals. The BlackBerry Enterprise Server administrator can turn on Enterprise Location Tracking, specify a message that the BlackBerry smartphone displays to notify the BlackBerry smartphone user when Enterprise Location Tracking is enabled, and configure the interval after which a BlackBerry smartphone reports its location to the BlackBerry Enterprise Server.

Disable the BlackBerry Maps application on the BlackBerry smartphone

The BlackBerry Enterprise Server administrator can use the Disable BlackBerry Maps IT policy rule to specify whether the BlackBerry Maps application is disabled on the BlackBerry smartphone.

audit 11-07-2007 02:24 PM

I've always been curious as to what good the Enterprise Location Tracking is for. So it sends your GPS cords back to the server, is there some app out for us admin's that we can view where the BB's are at based on the location tracking?

hdawg 11-07-2007 05:08 PM

I don't know what as of yet ... I need to play more with GPSs to see, but I figure the log data from the coordinates could easily be manipulated with MS LogParser to make pretty much any mapping software work well with it.

Anyone else have insight on this?

mahoward 11-08-2007 09:53 AM

Here is where the GPS coordinates are stored in the SQL db when tracking is enabled:

Table: SyncLBS
Columns:
Id
UserConfigId
RecordType
RecordTimestamp
ServerTime
Latitude
Longitude
Altitude
DeviceStatus
Data

I haven't gotten around to testing this yet to confirm this is working under device OS 4.2.2 or higher as stated in the IT policy.

pierrebnh 11-08-2007 11:57 AM

I've enabled it on mine, but have not received the notification that it's enabled on the device, nor are there any records in the table mentioned.

hayabusa 11-14-2007 09:20 AM

When I try to open up that table to view the contents I seem to be getting a permissions error. Is anyone else getting this. I am the dbo.owner so not sure why I would be getting a permissions error on it

Domel 04-21-2008 02:46 AM

Quote:

Originally Posted by hdawg (Post 731644)
We're still a few months out for 4.1.5 ... but with 4.3 just coming out we're part way there with this one.
==================

How to control location-based services on the BlackBerry smartphone

I have changed such IT Policies:
1.Location Based Services > Disable BB Maps > True
2.Location Based Services > Enable Location Tracking > True
3.Location Based Services > Enterprise Location Tracking User Promprt Msg > ...
4.Location Based Services > Ennt. Location Tracking Interval > 15
5.Security Policy Group > Disable GPS > True
And in Software Config Policies:
1.Device GPS > Not Permitted

Everything like in THIS article.
And I still have not latitude and longitude in my SyncLBS table on BES.
Is there anything else to be done?
Tested devices are new 8310 with GPS.

hdawg 04-21-2008 06:18 AM

Quote:

Originally Posted by Domel (Post 902531)
I have changed such IT Policies:
1.Location Based Services > Disable BB Maps > True
2.Location Based Services > Enable Location Tracking > True
3.Location Based Services > Enterprise Location Tracking User Promprt Msg > ...
4.Location Based Services > Ennt. Location Tracking Interval > 15
5.Security Policy Group > Disable GPS > True
And in Software Config Policies:
1.Device GPS > Not Permitted

Everything like in THIS article.
And I still have not latitude and longitude in my SyncLBS table on BES.
Is there anything else to be done?
Tested devices are new 8310 with GPS.

What HH OS do you have on the 8310?

Domel 04-21-2008 07:35 AM

Quote:

Originally Posted by hdawg (Post 902597)
What HH OS do you have on the 8310?

Platform 2.5.0.34
BB Version 4.2.2.176

hdawg 04-21-2008 07:42 AM

Quote:

Originally Posted by Domel (Post 902646)
Platform 2.5.0.34
BB Version 4.2.2.176

Ok ... so that's not 4.3 or later as required ...

Domel 04-21-2008 07:54 AM

Quote:

Originally Posted by hdawg (Post 902653)
Ok ... so that's not 4.3 or later as required ...

Aaaa, you are right.
My mistake ;)

hdawg 04-21-2008 08:04 AM

Quote:

Originally Posted by Domel (Post 902662)
Aaaa, you are right.
My mistake ;)

(y) ... you're eager ... like the rest of us ... well ... some of us.

eBoyDog 06-05-2008 12:31 PM

I'm confused, per my BES it (4.1.3.18) The location based tracking requires 4.2.1 or later which isn't what the link to RIM states is 4.3 or later ???

portfolio-europe 06-24-2008 08:36 AM

.
 
8310 with 4.5 OS

Location Based tracking enabled and now we can see where all devices are in Google Earth in "realtime" (well 15 minutes until we figure out how to get a higher resolution)

knottyrope 06-24-2008 09:04 AM

Quote:

Originally Posted by portfolio-europe (Post 984669)
8310 with 4.5 OS

Location Based tracking enabled and now we can see where all devices are in Google Earth in "realtime" (well 15 minutes until we figure out how to get a higher resolution)

So can you tell us how you did this?

hayabusa 06-24-2008 09:19 AM

Did you create your own mashup with Google Earth because I thought that this was the only way to perform tracking when using Google. You enable tracking on the devices and then you create your own mashup using Google Maps and code in your devices. Please let us know if you have taken a different approach to this tracking

Domel 07-02-2008 09:22 AM

I have SP5 on my BES, 8310 with 4.5.0.42 and nothing appears in dbo.SyncLBS. There are only 4 records but no latitude and longitude :(
IP Policy for LBS:
BBMaps Disabled - true
Enable Ent. Location Tracking - true
Ent Location tracking user prompt message - filled
Ent location tracking interval - 15

What else ...?

hayabusa 07-02-2008 09:32 AM

I have latitude and longitude numbers but they dont seem to update at all. Do you know if your BB got a message letting the user know that LBT was turned on?

Domel 07-03-2008 03:51 AM

Quote:

Originally Posted by hayabusa (Post 997361)
Do you know if your BB got a message letting the user know that LBT was turned on?

Yes there was information on BB.

There is also way to turn it manually
Options > Advanced Options > GPS > GPS Services: Location ON/OFF

JW021979 07-21-2008 11:27 AM

I have tried this and have got it to work ok on a 4.1.5 BES server and a 8310 running 4.2.2. Same settings as posted above. It has seemed to update ok. Only shows the latest results though. It is not easy to tell which user it is for though as it only shows as as a userconfigid number which doesnt seem to relate to anything else. Tried the coordinates that it gave and they were correct.


All times are GMT -5. The time now is 09:00 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.