pys60

Does anyone have experience with PyS60 mobile development

I am in the position of having to make a technology choice early in a project which is targetted at mobile phones. I saw that there is a python derivative for S60 and wondered whether anyone could share experiences, good and bad, and suggest appropriate IDE's and emulators. Please don't tell me that I should be developing on Windows Mo...

Does PyS60 produce sis files that are native?

I am currently looking at developing a mobile apps for the S60 platform and is specifically looking at PyS60. It seems to suggest that the it can be compiled into native .sis files without the need for an embedded python interpreter. Reading through the documentations I could not find any statements where this is explicitly mentioned. Wh...

Serializing a Python object to/from a S60 phone

I'm looking for a way to serialize generic Python objects between a CherryPy-based server and a Python client running on a Symbian phone.. Since pyS60 doesn't implement the pickle module, how would you do it? I know about Cerealizer but it requires you to register classes before use (which I'd like to avoid) and doesn't look very mature...

Run Python script from Flash Lite

How can I run a Python script from a Flash Lite SWF? One such method is using SWF2GO to package the SWF + Py script together, after which you can launch the Python script by flash commands. Intelli-Launch Technology v2: Python for S60 background script launcher Another hopeful is Flash Lite's fscommand("Launch","myapp.app") fu...

Python 2.5 to Python 2.2 converter

I am working on a PyS60 application for S60 2nd Edition devices. I have coded my application logic in Python 2.5. Is there any tool that automates th conversion from Python 2.5 to Python 2.2 or do I need to do in manually? ...

About the optional argument in Canvas in PyS60

In Python for Symbian60 blit() is defined as: blit(image [,target=(0,0), source=((0,0),image.size), mask=None, scale=0 ]) In the optional parameter source what is the significance of image.size? ...

Does PyS60 has a reliable garbage collection?

I have heard it many times that garbage collection in PyS60 is not up to to the mark. This imposes a lot of limits on writing cleaner code. Can I at least rely that the non cyclic references are cleaned up after a function exists. ...

Does the stack limit of Symbian also apply to PyS60?

Symbian has a stack limit of 8kB. Does this also apply to the function calling in PyS60 apps? ...

PyS60: Bluetooth sockets

From the website http://www.mobilepythonbook.org/ I found the following example of bluetooth sockets: BT chat example Here in function chat_server() the bind method accepts a tuple with two elements. The first one has been used as a null string. What does it signify? Which node will act as master in the Bluetooth, the one that starts c...

is there a way to pickup the lat/lon from Google Map Mobile 3.0(MyLocation Feature) with a python script?

Hi, I want to fetch my current lat/lon from google maps mobile 3.0 with the help of some script which i guess could be a python one. Is this possible? and more importantly is the google maps mobile api designed of such interaction?any legal issues?? Basically i have a s60 phone that doesnt have GPS,and i have found that google maintain...

Clashing guidelines

While coding in Python it's better to code by following the guidelines of PEP8. And while coding for Symbian it's better to follow its coding standards. But when I code for PyS60 which guidelines should I follow? Till now I have been following PEP8, but this code shows the opposite. Do I need to rework my code? ...

Python for S60: Listen to a socket in sparate thread

I am developing a Bluetooth game in Python for S60 based Nokia devices. The Bluetooth sockets in S60 are proving to be quite tricky. For two reasons: I can't do master to multiple slave sockets in Python, heard that it can't be done in Python so I have already left this and not doing it anyway. The other part is I can't just listen to ...

python and symbian - keystroke capture

Hey, I'm trying to write a simple prototyping appliaction in python to capture a users keystrokes while writing a text messages (SMS) to collect some stat info for use in a biometric application for Symbian based phones. I have never used python before and have had very little exposure to it. However, I did come across an example http:/...

How to log the print statement and error messges in PyS60?

When running graphics based programs in Python for S60 (PyS60) the error messages and the output of the print statement (i.e. stdout) are hidden. If due to an error application stops working as expected its lost and tracking down the bug is very difficult, sometimes require running a "second stripped version" of the code. This is obviou...

Bluetooth obex reception on 3rd edition device fails

I have got a mix of 2nd edition and 3rd edition s60 phones. I start custom obex listener on both phones using Python and try to send files to them. Though I can send files to 2nd edition phone; I can't send files to 3rd edition phone and the error being "Broken pipe". Why this is so? ...

How to do PyS60 development on OS X

Is it possible to do PyS60 development on Mac OS X? There is an XCode-plugin for Symbian C++ -development, but I don't know whether I can create Python-apps for my Nokia phone with that. I'm talking about a more thorough SDK experience than just editing files with Textmate/Emacs and copying them over to the device. ...

activate MCC, MNC API in Nokia Pys60

Hi, I can not get location info from pyS60. It seems the featured API is not activated. How can I activate this API? Is there any free licensing system? Or anything so that I can use restricted (or non-free for general developers) APIs at least in my phone to test the application? Thanks in advance. ...

Nokia N95 and PyS60 with the sensor and xprofile modules

I've made a python script which should modify the profile of the phone based on the phone position. Runned under ScriptShell it works great. The problem is that it hangs, both with the "sis" script runned upon "boot up", as well as without it. So my question is what is wrong with the code, and also whether I need to pass special parame...

PyS60 application not going full screen

Hi, I am very new to PyS60. I was testing how to set an application to full screen mode but unfortunately, it doesn't work as expected. I tested the script on Nokia 6120 Classic. Here is what I did: appuifw.app.screen = 'full' What I get is a half screen of my application with a plain white colour below. What am I doing wrong? Thank...

Sources of PyS60's standard functions (particularly appuifw.query)

I need to give user ability to enter a time in form hh:mm:ss (with appropriate validation of course). And standard function appuifw.query(u'Label', 'time') works almost fine except that it allows to enter only hours and minutes (hh:mm). So I want to look though its source and write my own that enhances it in the stated manner. I've foun...