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.

Very awesome post , i am really impressed with it a lot

<a href="http://www.zecrosoft.com/2014/09/Benefits-of-Ginger.html">فوائد الزنجبيل</a>  <a href="http://www.zecrosoft.com/2014/09/Pomegranate-benefits-for-diet.html">فوائد الرمان</a>  <a href="http://www.zecrosoft.com/2014/09/Benefits-of-the-ring.html">فوائد الحلبة</a>  <a href="http://www.zecrosoft.com/2014/09/Onion-benefits.html">فوائد البصل </a>  <a href="http://www.zecrosoft.com/2014/09/Benefits-thyme.html">فوائد الزعتر</a>  <a href="http://www.zecrosoft.com/2014/09/benefits-sesame-oil.html">فوائد زيت السمسم </a>  <a href="http://www.zecrosoft.com/2014/10/hemorrhoids-treatment.html">علاج البواسير</a> <a href="http://www.zecrosoft.com/2014/10/Benefits-of-anise.html">فوائد اليانسون</a>  <a href="http://www.zecrosoft.com/2014/09/turmeric-benefits-for-hair.html">فوائد الكركم</a> <a href="http://www.zecrosoft.com/2014/10/joha-stories.html">قصص جحا</a>  <a href="http://www.zecrosoft.com/2014/10/hemorrhoids-treatment.html">صور يوم الجمعه</a>  <a href="http://www.zecrosoft.com/2014/10/Signs-of-Pregnancy.html">علامات الحمل</a>  <a href="http://www.zecrosoft.com/2014/10/Definition-of-Love.html">تعريف الحب</a>  <a href="http://www.zecrosoft.com/2014/10/life-of-isthmus.html">حياة البرزخ</a>  <a href="http://www.zecrosoft.com/2014/10/Benefits-of-Raisins.html">فوائد الزبيب</a>

The clarity in your post is simply great Must confess that you present powerful steps on this blog, MrqePromoCode You definitely know what you were talking about and Your intelligence on the post could be giving us new knowledge.Pretty great post. InkPromoCode I simply stumbled upon your  weblog and wanted to say that I have really loved browsing your blog posts.Simply wish to say your article is as astonishing. The clarity in your post is simply great and i could asume you are an expert on this subject. AutoPartsPromoCode Well with your permission let me to grab your RSS feed to keep updated with forthcoming post.

The clarity in your post is simply great Must confess that you present powerful steps on this blog, MrqePromoCode You definitely know what you were talking about and Your intelligence on the post could be giving us new knowledge.Pretty great post. InkPromoCode I simply stumbled upon your  weblog and wanted to say that I have really loved browsing your blog posts.Simply wish to say your article is as astonishing. The clarity in your post is simply great and i could asume you are an expert on this subject. AutoPartsPromoCode Well with your permission let me to grab your RSS feed to keep updated with forthcoming post.

Add new comment