Here's the API if anyone has an app that needs to know the
speedlimit...
http://goo.gl/kQYqZ
--
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
worked great.
Thanks TreKing y Kostya
-cellurl
--
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
android-developers+unsubsc
Um, forgot to remove the method body. Like this:
22.05.2011 18:30, Kostya Vasilyev ?:
public *interface *SpeedlimitListener {
*public void onSpeedLimitChanged(String speedlimit); // no curly
braces here*
}
--
Kostya Vasilyev -- http://kmansoft.wordpress.com
--
You received this m
The callback method:
22.05.2011 17:58, cellurl ?:
public void onSpeedLimitChanged(String speedlimit) {}
Need to be moved up to the interface:
public *interface *SpeedlimitListener {
*public void onSpeedLimitChanged(String speedlimit) {}*
}
So it can be called from your "manager" th
How do I make speedlimitListener call back onSpeedLimitChanged() ?
Thanks for helping!
-cellurl
--
SpeedlimitListener speedlimitListener;
speedlimitListener = new SpeedlimitListener() {
public void onSpeedLimitChanged(String speedlimit) {}
}
Context is a good idea too. Thanks
-cellurl
On May 22, 3:08 am, Kostya Vasilyev 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 m
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:
SpeedlimitList
On Sat, May 21, 2011 at 11:38 PM, cellurl wrote:
> I have it all working, just not the library part.
You will need to provide more information than "just not the library part"
if you expect anyone to understand what you're having trouble with.
--
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 );
In my mind, its very similar to LocationManager.
In my ca
On Sat, May 21, 2011 at 10:21 PM, james pruett wrote:
> I don't know how to trigger events here?
> Any suggestions?
>
That would depend on what you're trying to do and I don't know what that is.
-
Tr
Thanks for that.
I don't know how to trigger events here?
Any suggestions?
--
SpeedlimitListener speedlimitListener;
speedlimitListener = new SpeedlimitListener() {
public void onSpeedLimitChanged(String speedlimit) {
}
};
LocationMan
On Sat, May 21, 2011 at 6:03 PM, cellurl wrote:
> I am trying to create a library that people will link to to get
> the speedlimit.
>
It should do everything under the covers, if possible.
>
How is this any less "under the covers", considering Speedlimit is already
an inner class?
lm_distance =
>
> Why not just pass the location manager to the SpeedLimit constructor ... ?
>
I am trying to create a library that people will link to to get the
speedlimit.
It should do everything under the covers, if possible.
--
You received this message because you are subscribed to the Google
Grou
On Sat, May 21, 2011 at 5:40 PM, cellurl wrote:
> it doesn't single step well.
>
I don't know what that means.
> Ok, spank me, then give me a hint.
>
Why not just pass the location manager to the SpeedLimit constructor ... ?
--
it doesn't single step well.
Ok, spank me, then give me a hint.
On May 21, 5:07 pm, TreKing wrote:
> On Sat, May 21, 2011 at 4:41 PM, cellurl wrote:
> > Q: How do I get the second lm_distance variable to not be null below.
>
> Q: Does that even compile?
>
> -
15 matches
Mail list logo