Is that all you provided? in yuor code:
radarIntent.putExtra("latitude", items.get(i).getPoint ().getLatitudeE6()); radarIntent.putExtra("longitude", items.get(i).getPoint ().getLongitudeE6()); is "items.get(i).getPoint().getLongitudeE6())" is just the longitude? how about : radarIntent.putExtra("longitude", -78.45353); shouldn't it work??/ Thnaks On Jun 9, 12:22 pm, Fuzzycat <fuzzy...@gmail.com> wrote: > On Jun 8, 8:39 pm, Georgy <georgearna...@gmail.com> wrote: > > > > > Greetings, > > > I am trying to embed the Android Radar package in my map application. > > > I already installed RADAR from the Market on my G-1 and added the > > following code to my application: > > > // RADAR CODE > > Intent i = new Intent > > ("com.google.android.radar.SHOW_RADAR"); > > i.putExtra("latitude", locode.getLatitudeE6()/1E6); > > i.putExtra("longitude", locode.getLongitudeE6()/1E6); > > startActivity(i); > > > where I am passing the lat and long of the point I am trying to show > > on the radar. I checked on logcat that the long/lat provided are > > accurate. The issue is that the RADAR apears but is stuck on distance > > = 8794km and the point that appears on the radar is completely > > incorrect. > > > I also tried shaking the device and tried several other locations with > > the same issue. Is there anything I need to provide to the radar > > package more than I already did? > > > PS: I am capable to identify the location targeted and my current > > 'device' location and the distance in between accurately (using other > > functions) from my device. > > > I could use some help here. > > > thanks guys > > I'm using this for mine which works fine for me... > > Intent radarIntent = new Intent > ("com.google.android.radar.SHOW_RADAR"); > radarIntent.putExtra("latitude", items.get(i).getPoint > ().getLatitudeE6()); > radarIntent.putExtra("longitude", items.get(i).getPoint > ().getLongitudeE6()); > startActivity(radarIntent); > > hth > > FuzzyCat --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---