| Reply | « Previous Thread | Next Thread » |
|
some one please help, here is my code
Code:
import camera import appuifw import e32 def cb(im): appuifw.app.body.blit(im) def quit(): applock.signal() applock.app.set_exit() appuifw.app.title = u'Test' appuifw.app.exit_key_handle = quit #appuifw.app.body = appuifw.Text(u"Hello!!") canvas = appuifw.Canvas() appuifw.app.body = canvas camera.start_finder(cb) applock = e32.Ao_lock() applock.wait() but when i use Ensymble , Creating standalone apps in 3rd with this command Code:
./ensymble_python2.3-0.22.py py2sis --caps="NetworkServices+LocalServices+ReadUserData+WriteUserData+viewfinder" --appname="Cam" cam.py Code:
Nokia N73 PythonForS60_1_3_21_3rdEd_selfsigned.SIS ensymble_python2.4-0.22.py please help me, thanks
Last edited by 17hado : 2007-05-24 at 04:11.
|
|
You need the "UserEnvironment" capability to use a camera:
Code:
ensymble.py py2sis --caps="NetworkServices+LocalServices+ReadUserData+WriteUserData+UserEnvironment" --appname="Cam" cam.py |
|
Quote:
Ya!!! it's work now.....thanks a lot |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| standalone app for 3rd edition | galaktico | Python | 12 | 2007-04-08 11:35 |
| symbian signed testing problem. | anglina | General Symbian C++ | 0 | 2007-02-01 11:15 |
| Install a script as a standalone app ! | cyke64 | Python | 5 | 2006-07-18 03:24 |
| Standalone App Exit? | maym | Python | 2 | 2005-08-09 01:58 |
| Bluetooth Python Standalone APP problem | wallace_nogueira | Python | 0 | 2005-05-03 20:25 |