You are here

S60 Python Success - Got Sample code to work, Nokia camera.py doesn't work

Submitted by Roland on Sat, 2007-10-20 20:24

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

start_finder(cb)

start_record('E:\\Python\whatever.mp4', cb2 )
#stop_record()

and I can't get the Nokia camera.py from Nokia's python sample code wiki page to work, help!

Comments

In my opinion the python programming language has been the most efficient so far; there has been implementations for iPhone, Nokia N800 and Symbian. If you ask me python is the most powerfull weapon Nokia has against all the "big players" in the market. I just hope something as simple & powerfull as Python wins...

but the signing issue, the fact that certain APIs like the video recording one don't work on video phones like the N93 and the fact that python is not built in means it's not ready for prime time. just a great prototyping environment, not much else

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. meet your sweet blog

All of our fellow locals of Kansas Urban center began making use of the industry-leading Sundek combine deck stratum products all over 40 issue. Whether you will be building a different pool plus want your cooler as compared with concrete, non-slip work surface or remodeling footwear pool so that you can freshen a image, the Sundek Timeless Texture Overlay System is a fantastic solution. http://www.bigreddecorativeconcrete.com/sundek-sunstamp-overlays.php

This article is definitely the best one this week. You know it is really inspirational for those people who need that. For example I have read it few times and I am going to do that few times more. Thanks a lot for that!Greetings from viagra

You may noticed that sometimes you need to write papers for getting people's appreciations or some other purposes. If you've massive of writing work then contact with essay writers at Essay Penguins here from our trusted source. We have proven record of people's satisfaction.

Add new comment