S60 Python Success - Got Sample code to work, Nokia camera.py doesn't work
Yay! Go my hello world program to work and finally got the OS X Bluetooth console to work. The trick is to:
ls -l /dev
and use the last tty for the screen command
e.g. if the last modified tty is tty.bt_console6
then you have to do screen /dev/tty.bt_console6
Now on to to create a program to create video in ego blogging mode (i.e. with screen facing you) using the high res camera.
I can't get the following code to work:
import appuifw
import camera
import e32
from camera import *
def cb(im):
try:
canvas.blit(im)
#appuifw.app.body.blit(im)
except:
appuifw.note(u'cb')
def cb2(im):
try:
appuifw.app.body.blit(im)
except:
appuifw.note(u'cb2')
import graphics
canvas = appuifw.Canvas()
appuifw.app.body = canvas
startfinder(cb)
startrecord('E:\Python\whatever.mp4', cb2 )
#stoprecord()
and I can't get the Nokia camera.py from <a href="http://wiki.opensource.nokia.com/projects/PyS60python_modules">Nokia's python sample code wiki page to work, help!