pys60

Asynchronous api for obtaining GPS position in python for S60

I'm using positioning.position(). but this function is blocking. I want to be able to run another function while the GPS is being measured. thanks ...

strings in hebrew in python for s60

I'm using python for S60. I want to use string in hebrew, to represent them on the GUI and to send them in SMS message. It seems that the PythonScriptShell don't accept such expressions, for example: u"אבגדה" what can I do? thanks development of situation: I added the line: # -*- coding: utf-8 -*- as the first line in the source ...

active object in python for s60

Hi, How do I use active object in python for s60? can anybody give me a code example? ...

Display simple calendar on screen in python S60 (pyS60)

Hi I am trying to develop a simple calendar based application using pyS60. I need to display a calendar as part of the form. I have searched but I couldn't find anything useful in the e32calendar documentation. I can get a calendar on the canvas but its not interactive. But i want one which is interactive ( just like inbuilt calendar in...

closing files properly opened with urllib2.urlopen()

I have following code in a python script try: # send the query request sf = urllib2.urlopen(search_query) search_soup = BeautifulSoup.BeautifulStoneSoup(sf.read()) sf.close() except Exception, err: print("Couldn't get programme information.") print(str(err)) return I'm concerned because if I encounter a...

how to cancel incoming message sound on Symbian PyS60 .

Hello, I am writing a parental control app using PyS60 ( on Nokia E72) The app is operated via sms's. Every sms that operates the app is deleted when entering the inbox listener's callback, and by using a blank audio file, I manage to cancel the "new message" sound alert. However, this only works when the focus in on Python Script Shell....

Measuring internet data transfers

Is there any way in python for S60 (using the python 2.5.4 codebase) to track the amount of data transferred over the mobile device's internet connection? ...

Struggling to draw something onto a full screen canvas on n95

Hey, I'm trying to work out how to use canvas in PyS60 on the n95. I'm attempting to draw a rectangle that will fill the whole screen, but the rectangle seems to get cut off. This is the code: import e32, appuifw #Define the exit function app_lock=e32.Ao_lock() def quit(): app_lock.signal() appuifw.app.exit_key_handler=quit canv...