Context is a good idea too. Thanks
-cellurl

On May 22, 3:08 am, Kostya Vasilyev <[email protected]> wrote:
> 22.05.2011 8:38, cellurl пишет:
>
> > I want to create a library that people link to.
> > It tells them when the speedlimit changes.
> > I have it all working, just not the library part.
>
> > It would have methods like:
>
> > SpeedlimitListener();
> > requestSpeedlimitChanges( speedlimitListener );
>
> Maybe:
>
> SpeedlimitListener(Context context);
>
> ?
>
> Then this class would be able to obtain all needed Android services
> (which may change over time, so you'll be able to keep the interface
> unchanged).
>
> -- Kostya
>
> > In my mind, its very similar to LocationManager.
> > In my case, SpeedlimitManager.
>
> > -cellurl
>
> --
> Kostya Vasilyev --http://kmansoft.wordpress.com

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