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
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:
Context is a good idea too. Thanks
-cellurl
On May 22, 3:08 am, Kostya Vasilyev kmans...@gmail.com 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
How do I make speedlimitListener call back onSpeedLimitChanged() ?
Thanks for helping!
-cellurl
--
SpeedlimitListener speedlimitListener;
speedlimitListener = new SpeedlimitListener() {
public void onSpeedLimitChanged(String speedlimit) {}
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
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
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
it doesn't single step well.
Ok, spank me, then give me a hint.
On May 21, 5:07 pm, TreKing treking...@gmail.com wrote:
On Sat, May 21, 2011 at 4:41 PM, cellurl gpscru...@gmail.com wrote:
Q: How do I get the second lm_distance variable to not be null below.
Q: Does that even compile?
On Sat, May 21, 2011 at 5:40 PM, cellurl gpscru...@gmail.com 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 ... ?
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
Groups
On Sat, May 21, 2011 at 6:03 PM, cellurl gpscru...@gmail.com 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?
Thanks for that.
I don't know how to trigger events here?
Any suggestions?
--
SpeedlimitListener speedlimitListener;
speedlimitListener = new SpeedlimitListener() {
public void onSpeedLimitChanged(String speedlimit) {
}
};
On Sat, May 21, 2011 at 10:21 PM, james pruett gpscru...@gmail.com 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.
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
On Sat, May 21, 2011 at 11:38 PM, cellurl gpscru...@gmail.com 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.
15 matches
Mail list logo