[android-developers] Re: Test Location Providers in 1.0

2008-09-25 Thread Guillaume Perrot

Yes but I can't tell the marketing department I can't maintain the
"simulate my journey" for the demos.
They can't use Eclipse nor telnet during demos...
Hopefully, I managed to fake that feature until we'll have a true
android mobile phone.

On 24 sep, 13:29, Joe Erickson <[EMAIL PROTECTED]> wrote:
> That looks to be the case.  It never made sense to me that we would
> have TestProvider code all through the app anyway.
>
> To test Location aware apps now, don't do anything special in your
> code (code it like you would for a real production application), but
> in Eclipse, open the Emulator Control view to send GPS lat and long.
>
> The docs say you can use a 'geo' app in the tools folder in the SDK,
> but it doesn't seem to exist yet.
>
> http://code.google.com/android/toolbox/apis/lbs.html
>
> On Sep 24, 5:21 am, Guillaume Perrot <[EMAIL PROTECTED]> wrote:
>
> > I was wondering too, I had to disable this function from my
> > application...
> > It seems we can only use DDMS or telnet to simulate location now.
>
> > On 24 sep, 08:34, Reto Meier <[EMAIL PROTECTED]> wrote:
>
> > > The ability to create and configure mock location providers that was
> > > added in Beta 0.9 doesn't seem available in 1.0.
>
> > > Has this functionality been moved / renamed or has it been dropped
> > > entirely for version 1? If the latter, how do we now mock the status
> > > and availability of Location Providers?
>
> > > Cheers
> > > Reto
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Test Location Providers in 1.0

2008-09-24 Thread Joe Erickson

That looks to be the case.  It never made sense to me that we would
have TestProvider code all through the app anyway.

To test Location aware apps now, don't do anything special in your
code (code it like you would for a real production application), but
in Eclipse, open the Emulator Control view to send GPS lat and long.

The docs say you can use a 'geo' app in the tools folder in the SDK,
but it doesn't seem to exist yet.

http://code.google.com/android/toolbox/apis/lbs.html

On Sep 24, 5:21 am, Guillaume Perrot <[EMAIL PROTECTED]> wrote:
> I was wondering too, I had to disable this function from my
> application...
> It seems we can only use DDMS or telnet to simulate location now.
>
> On 24 sep, 08:34, Reto Meier <[EMAIL PROTECTED]> wrote:
>
> > The ability to create and configure mock location providers that was
> > added in Beta 0.9 doesn't seem available in 1.0.
>
> > Has this functionality been moved / renamed or has it been dropped
> > entirely for version 1? If the latter, how do we now mock the status
> > and availability of Location Providers?
>
> > Cheers
> > Reto

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Test Location Providers in 1.0

2008-09-24 Thread Reto Meier

That might force the emulator to turn on the GPS (this was
insufficient for me in 0.9, I still needed to enable and activate the
GPS provider in code first). I haven't had a chance to test in 1.0
yet.

Either way, it still only covers part of the problem.

The test-location-provider-thing also lets you emulate the GPS being
turned on / off, mock it's availability, and programatically modify
the current location. It also lets you experiment with alternative
location services that have different capabilities than the built-in
GPS and Network providers.

All that stuff was useful, it would be a shame if it's gone now.

Cheers
Reto


Professinal Android Application Development
http://www.amazon.com/gp/product/0470344717?tag=interventione-20

On 24 Sep, 16:48, Stefan Handschuh <[EMAIL PROTECTED]> wrote:
> The test-location-provider-thing was unnecessary form the start.
>
> You have to do just one thing: implement a service that continiously
> updates you current location. Thats all.
>
> On 24 Sep., 11:21, Guillaume Perrot <[EMAIL PROTECTED]> wrote:
>
>
>
> > I was wondering too, I had to disable this function from my
> > application...
> > It seems we can only use DDMS or telnet to simulate location now.
>
> > On 24 sep, 08:34, Reto Meier <[EMAIL PROTECTED]> wrote:
>
> > > The ability to create and configure mock location providers that was
> > > added in Beta 0.9 doesn't seem available in 1.0.
>
> > > Has this functionality been moved / renamed or has it been dropped
> > > entirely for version 1? If the latter, how do we now mock the status
> > > and availability of Location Providers?
>
> > > Cheers
> > > Reto- Hide quoted text -
>
> - Show quoted text -
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Test Location Providers in 1.0

2008-09-24 Thread Stefan Handschuh

The test-location-provider-thing was unnecessary form the start.

You have to do just one thing: implement a service that continiously
updates you current location. Thats all.



On 24 Sep., 11:21, Guillaume Perrot <[EMAIL PROTECTED]> wrote:
> I was wondering too, I had to disable this function from my
> application...
> It seems we can only use DDMS or telnet to simulate location now.
>
> On 24 sep, 08:34, Reto Meier <[EMAIL PROTECTED]> wrote:
>
> > The ability to create and configure mock location providers that was
> > added in Beta 0.9 doesn't seem available in 1.0.
>
> > Has this functionality been moved / renamed or has it been dropped
> > entirely for version 1? If the latter, how do we now mock the status
> > and availability of Location Providers?
>
> > Cheers
> > Reto
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Test Location Providers in 1.0

2008-09-24 Thread Guillaume Perrot

I was wondering too, I had to disable this function from my
application...
It seems we can only use DDMS or telnet to simulate location now.

On 24 sep, 08:34, Reto Meier <[EMAIL PROTECTED]> wrote:
> The ability to create and configure mock location providers that was
> added in Beta 0.9 doesn't seem available in 1.0.
>
> Has this functionality been moved / renamed or has it been dropped
> entirely for version 1? If the latter, how do we now mock the status
> and availability of Location Providers?
>
> Cheers
> Reto
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---