This blog has moved
I've just checked in the final piece of the LiveView protocol. If you look
here, you'll find a complete re-implementation of the LiveView protocol in Python, allowing it to be completely controlled from a PC.
It shouldn't be hard to port this to Java and completely replace the Android LiveView application with something else
(
Read more... )
Comments 19
i do some tests on nokia n900 and n810, and it run with python 2.5.4 (smartphone an pda who run under maemo, a debian modified for smartphone)
for french timezone (dst+1) i do this :
clientSocket.send(LiveViewMessages.EncodeGetTimeResponse(3600+time.time(), is24HourClock))
is someone do something more user friendly in python ? i would like but i know nothing in python....
thank you Andrew for your job! :-)
Reply
Has anyone gotten this to work on a mac?
I get an error importing bluetooth library.
I tried Pro:lightblue but it had an XCode error at the end of setup.py xcodebuild: Error: the directory /Users/.../lightblue-0.4/src/mac/LightAquaBlue does not contain an Xcode project.
Can you tell us what software you need to run this, Python version, libraries drivers...
Thanks!
Reply
Under linux, I just installed "pybluez", no idea under the mac, sorry.
Reply
I wrote an iPhone implementation of the LiveVIew server a few months ago, but I'm just lacking a little piece: how the heck do you process an alert? What I mean is, for example, when the Android implementation receives a text message, the device's screen turns on, and displays a text message icon.
I cannot for the life of me figure out how this works, it seems to be missing from your protocol implementation. When I use the SetStatusBar command (or whatever it's actually called), it has the desired effect, but only if the screen is already on (i.e. you pressed a button on the deivce), and I can't figure out how to turn the screen on from my code other than in SetMenuSize(0) mode, when SetStatusBar does not work at all.
Any advice?
Thanks!
Reply
Reply
Leave a comment