I have trouble running a Python script from Symbian C++ code. Could someone give me an example of this?
I have tried:
-using CSPyInterpreter, but the code does not compile/link correctly. I have added some headers to Symbian SDK's include from "C:\Symbian\7.0s\Series60_v20\python-port-s60\symbian_python\Include", but it doesn't seem to work. This lead to missing io.h, which doesn't seem to exist. I'm using MS VC++.
-using RApaLsSession::StartApp(const CApaCommandLine& aCommandLine), but I don't know what to use in CApaCommandLine::SetDocumentNameL(const TDesC& aDocName). This almost opens the Pyhton script; the title can be seen, but the application does not run. Maybe something to do with ViewUID's, but I haven't found that concept from the documentation.
If someone has done this, I'll appreciate the help.