Hi,

Now, the mock location provider is running without exception, but the
latitude and longitude are shown as 0

Location[mProvider=test1,mTime=1210074935586,mLatitude=0.0,mLongitude=0.0,mHasAltitude=false,mAltitude=0.0,mHasBearing=false,mBearing=0.0,mHasSpeed=false,mSpeed=0.0,mExtras=null]

i create one kml file and pushed the properties file to the mock
location provider,

kml file is

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.2";>
  <Placemark>
    <name>Chennai</name>
    <description>Capital of Tamil Nadu</description>
    <Point>
      <coordinates>80.2475125425683,13.17883790140251,0</coordinates>
    </Point>
  </Placemark>
</kml>

here, i gave the co-ordinates as 80 and 37 but not showing---  just 0
only,

please tell , where i'm going wrong.

the code is,

myLocationManager =
(LocationManager)getSystemService(Context.LOCATION_SERVICE);
        lpObj = myLocationManager.getProvider("mobeegal");
        loc =  myLocationManager.getCurrentLocation(lpObj.getName());
       tv = new TextView(this);
        tv.setText(loc.toString());
        setContentView(tv);




thanks.


On May 5, 11:05 am, nithin <[EMAIL PROTECTED]> wrote:
> hi,
>
> i am creating a mock location provider for Chennai (India). I created
> few sentences in nmea file, the locations file and properties file.
> But i came across some problem .
>
> 1. How to get the checkSum value ?
> 2. using push, shall we can push the folder(test1) to eclipse.
>
> please reply immeadiately,
>
> Thanks
> Nithin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to