You Are Here:

Community: Developer Discussion Boards

#1 Old Calling appuifw from embedded python interpreter - 2005-09-23, 14:31

Join Date: Mar 2003
Posts: 18
varunc
Offline
Registered User
Is it possible to call appuifw functions such as note etc from an embedded CSPyInterpreter object. I am trying the following but it does not work:
CSPyInterpreter* py = CSPyInterpreter::NewInterpreterL();
CleanupStack::PushL(py);
TBuf8<200> outputBuffer = _L8("c:\\system\\apps\\python\\filebrowser.py");
char *argv[1];
int argc;
argv[0] = (char*)outputBuffer.PtrZ();
argc = 1;
py->RunScript(argc, argv);
//py->iStdO = &PythonOutput;
CleanupStack::PopAndDestroy(); //CAppConfig, test2

I also tried putting the above code in an app. That did not work either. How do I launch UI based scripts within a controlled environment (where I can set variables etc....)
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
Python for Series 60 released on Forum Nokia! eriksmartt Python 5 2009-07-14 18:00
Using calling cards with Nokia 6600 steffi1 General Discussion 3 2008-01-21 04:49
bug: Wireless Keyboard application + appuifw tabs XXVelcrar Python 1 2005-08-10 11:06
ihooks causes Python to crash? terosaarni Python 0 2005-05-01 12:35
Re-launching an embedded aplication from MApaEmbeddedDocObserver::NotifyExit() mkeke Symbian User Interface 0 2003-10-10 18:10

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