[Symbian-hacks] Re: Yet Another Bluetooth GPS Program
Nick Burch
Mon Jan 16 10:10:46 EST 2006
On Mon, 16 Jan 2006, Christopher Schmidt wrote:
> Yeah, I know nothing about Canvas, so this is proving to be a bit more
> than a bear than I would have thought it would be. Right now, I've tried
> to modify it so that I can do selection of the bluetooth device via
> bt_discover, and the program crashes as soon as it runs the canvas
> calls. I think that it's definitely cranky about something.
I've just uploaded v0.02, which includes a "where are the satellites"
view. It's based on a second canvas, and swapping between those two works
fine.
>> I know I'm doing something wrong, because if I try to create a
>> appuifw.Listbox, python immediately exits :(
>
> This is probably because Listbox looses the app, so the code just drops
> through to the bottom, because there's no waiting lock. Most of my apps
> are written inside a very different framework: I'll redo your code, see
> if I can get it to work, and let you know.
Ah, that might be it. I did wonder about lots of the sample apps having
locks in. I guess I'll need a dedicated thread for reading the bluetooth
data then?
> Note that it's also early on a Monday morning, and I'm really cranky
> that someone else one-upped me :)
No worries. I just head a head-desk about my trig for plotting the
satellites' locations, so I know the feeling :)
Nick
More information about the Symbian-hacks
mailing list