Naysambo,
I have a short and simple emulator installation guide posted at the following link:
http://aymanshamma.googlepages.com/installpythons60inanemulator
Enjoy.
-ayman.
Type: Posts; User: aymanshamma; Keyword(s):
Naysambo,
I have a short and simple emulator installation guide posted at the following link:
http://aymanshamma.googlepages.com/installpythons60inanemulator
Enjoy.
-ayman.
Have you tired a simple example like:
import audio
import os
import time
sf = "d:\\system\\temp\\test.wav"
if os.path.isfile(sf):
...
Which python did you install -- perhaps verify it was '1.2 2nd Ed. FP3'
http://www.forum.nokia.com/python
-a.
Perhaps you can put print statement to write to a log file, so when your script crashes, you know what was the last call was?
-a.
You can find some code to do that here:
http://www.bigbold.com/snippets/posts/show/1656
The author states:
So you might need to build to suit a bit.
-a.
You can drop .py files in your installation directory:
C:\Symbian\8.0a\S60_2nd_FP2\epoc32\release\wins\udeb\z\system\APPS\python
if you followed the default 1.2 v2 fp2 -- you used fp3 which...
I have a small tutorial page on s60 uploading (building from Mobilenin's examples) via HTTP Post Url Data, raw upload, and Multipart Form data.
...
Did you configure which ethernet adapter should be used in by the emulator?
Its been a while since I installed Fp3, but I believe in the menubar or the preferences (its in Tools->Preferences on...
Mobilenin rocks:
http://www.mobilenin.com/pys60/info_bluetooth.htm
There's alot of info on this tutorial page about background scripts in PyS60.
-a.
Is the flash actually firing or is it just putting a little light on?
If you use the built in Nokia camera app with the flash off, you'll notice it will still kinda turn on and off the light but...
See this thread from last week -- might be related.
http://discussion.forum.nokia.com/forum/showthread.php?t=78158
Cheers.
-a.
Thanks simo -- I'll add your tip to my little website.
Cheers,
-a.
Hello,
I am wondering if it is possible to run a PyS60 app from an SMS.
Basically, I want a user to be able to send a message to a friend, which will be recieved as a SMS by the friend with a...
rexwal,
I have a small tutorial online on how to do HTTP Posts of text and binary data as well as multipart form data, from a PyS60 device via php/apache.
...
A good way to approach this is to get the wave and chunk classes from they python source and use them in you're application.
This will give you the ability to say something like:
w =...
I've made a little tutorial page on this (as part of a larger set of info on s60 I'm building).
Install s60 Python in an emulator
It covers how to get a standard (1.2 FP2) install going...
Lot of good stuff here -- Thanks otsov & simo!
1) import os was the problem -- I assumed it was akin to java.lang.* and os was automatically imported -- i guess there are no such classes.
2) I...
Hello,
So I made this little app which works fine in the emulator and fine as a .py script on my 6682. Using py2sis, I made a SIS file. When my app goes to record a sound, the whole app quits...
Great! Thanks again Simo.
-a.
Great! Thanks Simo.
Sadly, I can't get the simple example in this thread to work inside the emulator. :confused:
I copied the files in the distribution to their respective locations:
...
Hey thanks!
Minor note, python appears to be here: z\system\APPS\python in 1.2 2nd Fp2.
Hi ppl,
Can a SIS file (like PyExpat to be precise) be installed in the emulator (1.2 2nd ed. FP2 or FP3)? If so, how?
Thanks.
-a.
Hi --
Is there some way to change the bit rate using the 'audio.Sound' class for recording?
so = audio.Sound.open(u'd:\\sample.wav')
so.record()
The emulator defaults to 16 bit audio at...