I want to draw a line on map using accelerometer which tracks location continuously. It should work indoor also where there is no GPS location. Is it possible?
Asked
Active
Viewed 1,132 times
0
-
1Accelerometer does not track location. – Igor Ralic Dec 09 '13 at 12:08
-
i know that accelerometer doesn't track location. i want to draw line on map using it. – madhu kumar Dec 09 '13 at 12:36
-
no , use a geoposition sensor instead. It would work – A.K. Dec 09 '13 at 13:00
-
@Amu : geoposition works only when there is GPS signal. I want it to work if there is no GPS signal in indoor location. – madhu kumar Dec 09 '13 at 13:37
-
well points on the maps gets plotted with the help of their geoCoordinate Values, how would you get GeoCoordinates using Accelerometer? – A.K. Dec 09 '13 at 14:05
1 Answers
0
I think the real question here is "Can I draw a line on the map control in wp8?"
Yes you can, here's a great tutorial on the Nokia developer wiki: http://developer.nokia.com/Community/Wiki/index.php?title=Drawing_shapes_with_Windows_Phone_maps_API&diff=179775&oldid=178118

robwirving
- 1,790
- 12
- 17
-
I know what i've asked. I completed the project which draws a line on the map using GeoCoordinates. But my problem is when there is no GPS working, it should draw a line on the map. So the better option for me is using accelerometer. So if there is no signal, it should skip to accelerometer. – madhu kumar Dec 09 '13 at 13:34
-
In that case I'd point you to this stackoverflow post regarding an Android app that wants to track indoor position: http://stackoverflow.com/questions/7499959/indoor-positioning-system-based-on-gyroscope-and-accelerometer – robwirving Dec 09 '13 at 13:42