Android: How to initialize a variable of type "Location" (other than making it equal to null)

Posted by Aidan on Stack Overflow See other posts from Stack Overflow or by Aidan
Published on 2010-06-06T18:16:36Z Indexed on 2010/06/06 18:22 UTC
Read the original article Hit count: 177

Filed under:
|

Hi Guys,

I'm looking to test some code I've written and to do so I need to construct a variable of type Location and to give it a long / lat value but I'm unsure how I would do so. Any ideas?

© Stack Overflow or respective owner

Related posts about android

Related posts about geolocation