tag:blogger.com,1999:blog-2865777313825124004.post4015139094606396069..comments2024-03-12T14:37:46.024-07:00Comments on Android Coding: Easy drawing current location and compass on the MapView, using MyLocationOverlay.Erikhttp://www.blogger.com/profile/04983894331825656853noreply@blogger.comBlogger10125tag:blogger.com,1999:blog-2865777313825124004.post-50160286289138504762012-09-03T22:58:17.246-07:002012-09-03T22:58:17.246-07:00Thank you!!Thank you!!Anonymoushttps://www.blogger.com/profile/05355863883000288222noreply@blogger.comtag:blogger.com,1999:blog-2865777313825124004.post-48559857371518630672012-08-30T08:23:43.124-07:002012-08-30T08:23:43.124-07:00Hello,
Thanks for your fast reply but if I do di...Hello, <br /><br />Thanks for your fast reply but if I do disableCompass I won't be able to use getOrientation() - Still i will check the post you recommend me, i think i addresses my problem!Javohttps://www.blogger.com/profile/12030323314374103500noreply@blogger.comtag:blogger.com,1999:blog-2865777313825124004.post-38209793813254136312012-08-28T14:49:23.431-07:002012-08-28T14:49:23.431-07:00To disable the compass, simple call myLocationOver...To disable the compass, simple call myLocationOverlay.disableCompass().<br /><br />The compass described here is for display on MapView only. If you want to get the bearing, read <a href="http://android-coding.blogspot.com/2012/03/create-our-android-compass.html" rel="nofollow">Create our Android Compass</a>.And.codinghttps://www.blogger.com/profile/01269407937760285746noreply@blogger.comtag:blogger.com,1999:blog-2865777313825124004.post-30349205419926204892012-08-28T13:05:43.128-07:002012-08-28T13:05:43.128-07:00How can you hide the compass after enable it? I wa...How can you hide the compass after enable it? I want to take the bearing of the compass but without displaying the canvas on the screen (because I will be displaying something else instead based on the bearing) <br /><br />I tried to do so without enabling the compass but it's not possible... any ideas?Javohttps://www.blogger.com/profile/12030323314374103500noreply@blogger.comtag:blogger.com,1999:blog-2865777313825124004.post-91795063201234535152012-08-06T02:34:34.710-07:002012-08-06T02:34:34.710-07:00Hey can anyone please tell me how to fence a regio...Hey can anyone please tell me how to fence a region in android.......maheedharhttps://www.blogger.com/profile/14809972369934977511noreply@blogger.comtag:blogger.com,1999:blog-2865777313825124004.post-87698787578976532082012-06-26T02:14:16.607-07:002012-06-26T02:14:16.607-07:00Make sure you have add "android.permission.AC...Make sure you have add "android.permission.ACCESS_FINE_LOCATION". And enableMyLocation() and/or enableCompass() in onResume().And.codinghttps://www.blogger.com/profile/01269407937760285746noreply@blogger.comtag:blogger.com,1999:blog-2865777313825124004.post-34232575104868604892012-06-13T17:31:07.186-07:002012-06-13T17:31:07.186-07:00I try to run with your code but compass don't ...I try to run with your code but compass don't appear. ณ thing may be missing something. Who will give me some advice. :DElk Clonerhttps://www.blogger.com/profile/15711952263481680292noreply@blogger.comtag:blogger.com,1999:blog-2865777313825124004.post-43971103375136561682012-03-14T17:04:11.191-07:002012-03-14T17:04:11.191-07:00^ Scratch my earlier question. I found this soluti...^ Scratch my earlier question. I found this solution from stackoverflow that answers the above:<br /><br />locationOverlay.runOnFirstFix(new Runnable() {<br />@Override<br />public void run() {<br />// TODO Auto-generated method stub mapController.animateTo(locationOverlay.getMyLocation());<br />}<br />});Angelohttps://www.blogger.com/profile/08383171907528987185noreply@blogger.comtag:blogger.com,1999:blog-2865777313825124004.post-85420824441036690352012-02-29T17:17:20.229-08:002012-02-29T17:17:20.229-08:00Wow this is exactly what I'm looking for. Than...Wow this is exactly what I'm looking for. Thanks for this neat piece of code!<br /><br />One thing though, how do I actually "animateTo()" to my current location?<br /><br />animateTo takes a GeoPoint as an argument, however nowhere in your code specifies the current location as a GeoPoint, or any variable for that matter. <br /><br />How do i go about implementing that?Angelohttps://www.blogger.com/profile/08383171907528987185noreply@blogger.comtag:blogger.com,1999:blog-2865777313825124004.post-29194680050297646902011-12-27T18:29:07.825-08:002011-12-27T18:29:07.825-08:00Good to know. I was unaware of this class and was...Good to know. I was unaware of this class and was about to create my on implementation. Thanks for sharing!Anonymoushttps://www.blogger.com/profile/07064695718879866830noreply@blogger.com