author | tasneems@symbian.org |
Tue, 09 Feb 2010 17:49:53 -0800 | |
changeset 125 | 1255cf160e6b |
parent 37 | 641b65b14318 |
child 210 | 0f7abfd6ae62 |
permissions | -rw-r--r-- |
37
641b65b14318
Added WRT previewer, Mozilla Xulrunner, and Mozilla XP Com. Integrated Xulrunner browser into WRT Previewer.
tasneems@symbian.org
parents:
diff
changeset
|
1 |
/** |
641b65b14318
Added WRT previewer, Mozilla Xulrunner, and Mozilla XP Com. Integrated Xulrunner browser into WRT Previewer.
tasneems@symbian.org
parents:
diff
changeset
|
2 |
* SAPI Sample Data - Location |
641b65b14318
Added WRT previewer, Mozilla Xulrunner, and Mozilla XP Com. Integrated Xulrunner browser into WRT Previewer.
tasneems@symbian.org
parents:
diff
changeset
|
3 |
*/ |
641b65b14318
Added WRT previewer, Mozilla Xulrunner, and Mozilla XP Com. Integrated Xulrunner browser into WRT Previewer.
tasneems@symbian.org
parents:
diff
changeset
|
4 |
|
641b65b14318
Added WRT previewer, Mozilla Xulrunner, and Mozilla XP Com. Integrated Xulrunner browser into WRT Previewer.
tasneems@symbian.org
parents:
diff
changeset
|
5 |
(function(){ |
641b65b14318
Added WRT previewer, Mozilla Xulrunner, and Mozilla XP Com. Integrated Xulrunner browser into WRT Previewer.
tasneems@symbian.org
parents:
diff
changeset
|
6 |
|
641b65b14318
Added WRT previewer, Mozilla Xulrunner, and Mozilla XP Com. Integrated Xulrunner browser into WRT Previewer.
tasneems@symbian.org
parents:
diff
changeset
|
7 |
|
641b65b14318
Added WRT previewer, Mozilla Xulrunner, and Mozilla XP Com. Integrated Xulrunner browser into WRT Previewer.
tasneems@symbian.org
parents:
diff
changeset
|
8 |
var data_basicLocationInformation = { |
641b65b14318
Added WRT previewer, Mozilla Xulrunner, and Mozilla XP Com. Integrated Xulrunner browser into WRT Previewer.
tasneems@symbian.org
parents:
diff
changeset
|
9 |
"Longitude":77.694589331833, |
641b65b14318
Added WRT previewer, Mozilla Xulrunner, and Mozilla XP Com. Integrated Xulrunner browser into WRT Previewer.
tasneems@symbian.org
parents:
diff
changeset
|
10 |
"Latitude":12.942209068513, |
641b65b14318
Added WRT previewer, Mozilla Xulrunner, and Mozilla XP Com. Integrated Xulrunner browser into WRT Previewer.
tasneems@symbian.org
parents:
diff
changeset
|
11 |
"Altitude":836.5 |
641b65b14318
Added WRT previewer, Mozilla Xulrunner, and Mozilla XP Com. Integrated Xulrunner browser into WRT Previewer.
tasneems@symbian.org
parents:
diff
changeset
|
12 |
} |
641b65b14318
Added WRT previewer, Mozilla Xulrunner, and Mozilla XP Com. Integrated Xulrunner browser into WRT Previewer.
tasneems@symbian.org
parents:
diff
changeset
|
13 |
|
641b65b14318
Added WRT previewer, Mozilla Xulrunner, and Mozilla XP Com. Integrated Xulrunner browser into WRT Previewer.
tasneems@symbian.org
parents:
diff
changeset
|
14 |
var data_genericLocationInfo = { |
641b65b14318
Added WRT previewer, Mozilla Xulrunner, and Mozilla XP Com. Integrated Xulrunner browser into WRT Previewer.
tasneems@symbian.org
parents:
diff
changeset
|
15 |
"Longitude":77.694546416505, |
641b65b14318
Added WRT previewer, Mozilla Xulrunner, and Mozilla XP Com. Integrated Xulrunner browser into WRT Previewer.
tasneems@symbian.org
parents:
diff
changeset
|
16 |
"Latitude":12.942233711299, |
641b65b14318
Added WRT previewer, Mozilla Xulrunner, and Mozilla XP Com. Integrated Xulrunner browser into WRT Previewer.
tasneems@symbian.org
parents:
diff
changeset
|
17 |
"Altitude":836, |
641b65b14318
Added WRT previewer, Mozilla Xulrunner, and Mozilla XP Com. Integrated Xulrunner browser into WRT Previewer.
tasneems@symbian.org
parents:
diff
changeset
|
18 |
"HorizontalSpeed":0.05999999865889549, |
641b65b14318
Added WRT previewer, Mozilla Xulrunner, and Mozilla XP Com. Integrated Xulrunner browser into WRT Previewer.
tasneems@symbian.org
parents:
diff
changeset
|
19 |
"HorizontalSpeedError":1.0199999809265137, |
641b65b14318
Added WRT previewer, Mozilla Xulrunner, and Mozilla XP Com. Integrated Xulrunner browser into WRT Previewer.
tasneems@symbian.org
parents:
diff
changeset
|
20 |
"SatelliteNumView":11, |
641b65b14318
Added WRT previewer, Mozilla Xulrunner, and Mozilla XP Com. Integrated Xulrunner browser into WRT Previewer.
tasneems@symbian.org
parents:
diff
changeset
|
21 |
"SatelliteNumViewUsed":7, |
641b65b14318
Added WRT previewer, Mozilla Xulrunner, and Mozilla XP Com. Integrated Xulrunner browser into WRT Previewer.
tasneems@symbian.org
parents:
diff
changeset
|
22 |
"Heading":203.89999389648438, |
641b65b14318
Added WRT previewer, Mozilla Xulrunner, and Mozilla XP Com. Integrated Xulrunner browser into WRT Previewer.
tasneems@symbian.org
parents:
diff
changeset
|
23 |
"HeadingError":2.89898989898232, |
641b65b14318
Added WRT previewer, Mozilla Xulrunner, and Mozilla XP Com. Integrated Xulrunner browser into WRT Previewer.
tasneems@symbian.org
parents:
diff
changeset
|
24 |
"MagneticCourse":205.89999389600000, |
641b65b14318
Added WRT previewer, Mozilla Xulrunner, and Mozilla XP Com. Integrated Xulrunner browser into WRT Previewer.
tasneems@symbian.org
parents:
diff
changeset
|
25 |
"MagneticCourseError":1.09090389600000, |
641b65b14318
Added WRT previewer, Mozilla Xulrunner, and Mozilla XP Com. Integrated Xulrunner browser into WRT Previewer.
tasneems@symbian.org
parents:
diff
changeset
|
26 |
"TrueCourse":203.89999389648438, |
641b65b14318
Added WRT previewer, Mozilla Xulrunner, and Mozilla XP Com. Integrated Xulrunner browser into WRT Previewer.
tasneems@symbian.org
parents:
diff
changeset
|
27 |
"TrueCourseError":2.89898989898232, |
641b65b14318
Added WRT previewer, Mozilla Xulrunner, and Mozilla XP Com. Integrated Xulrunner browser into WRT Previewer.
tasneems@symbian.org
parents:
diff
changeset
|
28 |
"MagneticHeading":205.89999389600000, |
641b65b14318
Added WRT previewer, Mozilla Xulrunner, and Mozilla XP Com. Integrated Xulrunner browser into WRT Previewer.
tasneems@symbian.org
parents:
diff
changeset
|
29 |
"MagneticHeadingError":1.09090389600000 |
641b65b14318
Added WRT previewer, Mozilla Xulrunner, and Mozilla XP Com. Integrated Xulrunner browser into WRT Previewer.
tasneems@symbian.org
parents:
diff
changeset
|
30 |
}; |
641b65b14318
Added WRT previewer, Mozilla Xulrunner, and Mozilla XP Com. Integrated Xulrunner browser into WRT Previewer.
tasneems@symbian.org
parents:
diff
changeset
|
31 |
|
641b65b14318
Added WRT previewer, Mozilla Xulrunner, and Mozilla XP Com. Integrated Xulrunner browser into WRT Previewer.
tasneems@symbian.org
parents:
diff
changeset
|
32 |
/** |
641b65b14318
Added WRT previewer, Mozilla Xulrunner, and Mozilla XP Com. Integrated Xulrunner browser into WRT Previewer.
tasneems@symbian.org
parents:
diff
changeset
|
33 |
* register data! |
641b65b14318
Added WRT previewer, Mozilla Xulrunner, and Mozilla XP Com. Integrated Xulrunner browser into WRT Previewer.
tasneems@symbian.org
parents:
diff
changeset
|
34 |
*/ |
641b65b14318
Added WRT previewer, Mozilla Xulrunner, and Mozilla XP Com. Integrated Xulrunner browser into WRT Previewer.
tasneems@symbian.org
parents:
diff
changeset
|
35 |
device.implementation.loadData('Service.Location', 'BasicLocationInformation', data_basicLocationInformation); |
641b65b14318
Added WRT previewer, Mozilla Xulrunner, and Mozilla XP Com. Integrated Xulrunner browser into WRT Previewer.
tasneems@symbian.org
parents:
diff
changeset
|
36 |
device.implementation.loadData('Service.Location', 'GenericLocationInfo', data_genericLocationInfo); |
641b65b14318
Added WRT previewer, Mozilla Xulrunner, and Mozilla XP Com. Integrated Xulrunner browser into WRT Previewer.
tasneems@symbian.org
parents:
diff
changeset
|
37 |
|
641b65b14318
Added WRT previewer, Mozilla Xulrunner, and Mozilla XP Com. Integrated Xulrunner browser into WRT Previewer.
tasneems@symbian.org
parents:
diff
changeset
|
38 |
})() |
641b65b14318
Added WRT previewer, Mozilla Xulrunner, and Mozilla XP Com. Integrated Xulrunner browser into WRT Previewer.
tasneems@symbian.org
parents:
diff
changeset
|
39 |