Geolocation
Directory actions
More options
Directory actions
More options
Geolocation
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
Geolocation - Display current location data
========================================================================
Sample Description:
The Geolocation sample is an application that demonstrates how to retrieve
geolocation specific information, such as the latitude, longitude, altitude,
and bearing of the device.
When you run the application, geolocation data is displayed in a dialog.
Feature summary
- Handling a geolocation response
- Initializing the screen to set the window group Id
- Requesting dialog events
- Requesting geolocation events
========================================================================
Requirements:
- BlackBerry® 10 Native SDK
- One of the following:
- BlackBerry® 10 device
- BlackBerry® 10 simulator
========================================================================
Importing a project into the Native SDK:
1. From the the Sample apps page, download and extract the sample application.
2. Launch the Native SDK.
3. On the File menu, click Import.
4. Expand General, and select Existing Projects into Workspace. Click Next.
5. Browse to the location where you extracted the sample app, and click OK.
The sample project should display in the the Projects section.
6. Click Finish to import the project into your workspace.