You Are Here:

Community: Developer Discussion Boards

#1 Old help on standalone app - 2007-05-23, 18:17

Join Date: May 2007
Posts: 4
Send a message via MSN to 17hado
17hado
Offline
Registered User
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()
it's work fine on python (run sccript),
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
the generator SIS after install on my N73 , it's can't work, and show error KERN-EXEC 0

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.
Reply With Quote

#2 Old Re: help on standalone app - 2007-05-24, 07:25

Join Date: May 2004
Posts: 524
Location: Tampere, Finland
jethro.fn's Avatar
jethro.fn
Offline
Forum Nokia Champion
You need the "UserEnvironment" capability to use a camera:

Code:
ensymble.py py2sis --caps="NetworkServices+LocalServices+ReadUserData+WriteUserData+UserEnvironment" --appname="Cam" cam.py
Reply With Quote

#3 Old Re: help on standalone app - 2007-05-24, 07:59

Join Date: May 2007
Posts: 4
Send a message via MSN to 17hado
17hado
Offline
Registered User
Quote:
Originally Posted by jethro.fn
You need the "UserEnvironment" capability to use a camera:

Code:
ensymble.py py2sis --caps="NetworkServices+LocalServices+ReadUserData+WriteUserData+UserEnvironment" --appname="Cam" cam.py

Ya!!! it's work now.....thanks a lot
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
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

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia