On Wed, Sep 26, 2012 at 6:25 AM, Markos Anastasios <[email protected]> wrote:
> and i get this message for the last line of code:
>
> Syntax error on tokens, ConstructorHeaderName expected instead
> Syntax error on token "(", < expected

Perhaps you incorrectly pasted it. Off the cuff, what is there looks fine.

Here are two sample apps that uses LocationManager and requestLocationUpdates():

https://github.com/commonsguy/cw-omnibus/tree/master/Internet/Weather
https://github.com/commonsguy/cw-omnibus/tree/master/Location/Periodic

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 4.2 Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
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

Reply via email to