Hi Mendroid,

You can use the DDMS perspective in eclipse also, it is a GUI that made me
very happy when i saw it :) (there is a secret in it)

Regards

2008/3/25, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
>
> Thanks Megha,  I've been only working with the ADT Eclipse
> plugin....clearly I need to extend to adb.
>
> --Ken
>
>
> On Mar 25, 2:55 pm, "Megha Joshi" <[EMAIL PROTECTED]> wrote:
> >  Hi Ken,
> >
> >  Use adb push commands to put files on emulator's filesystem:
> >
> >  adb push  <local  path on your pc>  <remote path on the emulator
> > filesystem>
> >
> > http://code.google.com/android/reference/adb.html#copyfiles
> >
> > Thanks,
> > Megha
>
> > On Tue, Mar 25, 2008 at 9:01 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>
> > wrote:
> >
> >
> >
> > > Ok, after some headbanging, I realized that I don't know how to
> > > install /data/misc/location/myGPS/kml
> > > into the emulator's file system.  Can anyone either tell me how to, or
> > > point me a documentation that I missed?
> >
> > > Thanks,
> > > Ken
> >
> > > On Mar 25, 1:14 am, Ram <[EMAIL PROTECTED]> wrote:
> > > > I think you'll be able to get it to work with the following steps
> >
> > > > 1. Copy a properties file into /data/misc/location/myGPS. (You can
> > > > look at the properties file in /data/misc/location/gps for an
> example)
> >
> > > > 2. rename the kengps.kml file as kml (with no extension)
> >
> > > > 3. restart the emulator
> >
> > > > On Mar 24, 6:48 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> >
> > > > > Hi,
> >
> > > > > On the Location-based Service APIs doc page, under Creating mock
> > > > > LocationProviders, it's stated that:
> >
> > > > > One way to generate a suitable KML file is to get directions in
> Google
> > > > > Earth. Right-click the "Route" entry that appears at the end of
> the
> > > > > sequence of turns and select "Save as..." with "Save as type:" set
> to
> > > > > "Kml *(*.kml)".
> >
> > > > > I did that, and called the file "kengps.kml".  (I've included the
> file
> > > > > at the end of this message).
> >
> > > > > I put the file in the folder (in my Android project):
> >
> > > > >         /data/misc/location/myGPS
> >
> > > > > and restarted my project.  However, when I execute
> >
> > > > > LocationManager locationManager =
> > > > >         (LocationManager) getSystemService(LOCATION_SERVICE);
> > > > > List<LocationProvider> providerList = locationManager.getProviders
> ();
> >
> > > > > the list providerList still only contains one element, the
> built-in
> > > > > "gps" provider.
> >
> > > > > What am I missing here?
> > > > > Thanks in advance,
> > > > > Ken Bowen
> >
> > > > > ====== The kengps.kml file ===========
> > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > > <kml xmlns="http://earth.google.com/kml/2.2";>
> > > > > <Document>
> > > > >         <name>kenRoute.kml</name>
> > > > >         <Style id="roadStyle">
> > > > >                 <LineStyle>
> > > > >                         <color>7fcf0064</color>
> > > > >                         <width>6</width>
> > > > >                 </LineStyle>
> > > > >         </Style>
> > > > >         <Placemark>
> > > > >                 <name>Route</name>
> > > > >                 <visibility>0</visibility>
> > > > >                 <description><![CDATA[Distance: 0.7&#160;mi (about
> 4
> > > mins)<br/>Map
> > > > > data &#169;2008 Tele Atlas]]></description>
> > > > >                 <styleUrl>#roadStyle</styleUrl>
> > > > >                 <MultiGeometry>
> > > > >                         <LineString>
> > > > >                                 <coordinates>
> > > > > -71.13088999999999,42.39704,0 -71.1309,42.3979,0 -71.1309,42.3979
> ,0
> > > > > -71.12641000000002,42.39394,0 -71.12641000000002,42.39394,0
> > > > > -71.12313,42.39584,0 -71.12239,42.39622,0 -71.12239,42.39622,0
> > > > > -71.12209,42.39565,0 </coordinates>
> > > > >                         </LineString>
> > > > >                 </MultiGeometry>
> > > > >         </Placemark>
> > > > > </Document>
> > > > > </kml>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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