Questions tagged [pys60]

Python on Symbian Series 60

PyS60 is the Nokia port of Python on Symbian Series 60.

It is also known as PySymbian.

67 questions
1
vote
3 answers

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…
Joril
  • 19,961
  • 13
  • 71
  • 88
1
vote
6 answers

PyS60 vs Symbian C++

I'm planning some Symbian related development on S60 3.1 platform. It seems like generally available language options are Python and C++. However Nokia's official forum seems very much tilted towards C++. I want to know what are the advantages and…
sharjeel
  • 5,825
  • 7
  • 34
  • 49
1
vote
5 answers

Simple code but can't find the error (PyS60 but not specific)

I'm a Python beginner and now it's freakin me out: L = [] file = urllib.urlopen("http://someurl.com/someText.txt") line = file.readline() while line != "" : L.append(line) line = file.readline() appuifw.selection_list(choices=L) and I get this…
Lincoln
  • 744
  • 1
  • 7
  • 20
1
vote
1 answer

pys60 development by eric IDE

I want to develop pys60 by eric4 IDE. I know that it's so late and has no worth but I need it. The following link: http://developer.nokia.com/Community/Discussion/showthread.php/173353-Eric-Ide-perfect-IDE-for-Python-PyS60-developmant describes it…
mosakazemi
  • 11
  • 1
1
vote
0 answers

Serial communication read line C++

I want to read a line from serial with Symbian C++ but to do that I have to continue reading into a buffer until I reach "/n". I have no idea how to do this though. This is actually a Python project but I am trying to create a C++ library with with…
Gerharddc
  • 3,921
  • 8
  • 45
  • 83
1
vote
1 answer

Symbian C++ stdint seamingly random errors

I am trying to compile the PyS60USB for Pys60 2.0 with the Symbian Belle Sdk but for some seemingly unrelated reason I am getting the seemingly random errors about almost everything not naming a type, like…
Gerharddc
  • 3,921
  • 8
  • 45
  • 83
1
vote
1 answer

Are available urllib2 module with HTTPCookieProcessor function for Python 2.2?

I'm using Python S60 (PyS60) with Python 2.2 engine. i already have urllib2 module but HTTPCookieProcessor doesn't exist >>> import urllib2 >>> dir(urllib2) ['AbstractBasicAuthHandler', 'AbstractDigestAuthHandler', 'AbstractHTTPHandler',…
1
vote
1 answer

PyS60 on device debug?

A simple matter makes me suffering as I'm new to PyS60 development. What is the IDE for Executing program on-device with a single reasonable amount of clicks, Typical step-into, step-over, run-to, watch (used from PC) for the on-device running…
bohdan_trotsenko
  • 5,167
  • 3
  • 43
  • 70
1
vote
1 answer

simple python script to block nokia n73 screen

i want that upon opening my N73's camera cover,the camera software keeps working as usual,but that it is blocked by a black screen covering the whole screen so that it appears that the camera is not working... I know my requirement is weired but i…
ashishsony
  • 2,537
  • 3
  • 26
  • 38
1
vote
1 answer

How to workaround lack of multiple ao.lock?

I'm programming a simple pyS60 app, not really done anything with python or using multiple threads before so this is all a bit new to me. In order to keep the app open, I set an e32.Ao_lock to wait() after the body of the application is initialised,…
fearoffours
  • 1,455
  • 2
  • 12
  • 23
0
votes
2 answers

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…
Flavius
  • 13,566
  • 13
  • 80
  • 126
0
votes
0 answers

Pys60 Bluetooth socket data bytes compare

I have problem with my pys60 code. Problem in this part of code : def readline(): ch=mySocket.recv(1) if(ch=='v'): appuifw.note(u"v", "info") if(ch=='w'): appuifw.note(u"w", "info") if(ch=='x'): …
0
votes
1 answer

activate MCC, MNC API in Nokia Pys60

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…
fireball003
  • 1,909
  • 5
  • 20
  • 24
0
votes
2 answers

pys60 thread not working in symbian python

I am developing a sms app for symbian using pys60. I have created a thread for sending the sms but theread is not working. I want this thread to run in background, irrespective of applicaton closed or not. contact index is a dictionary with contact…
sam
  • 18,509
  • 24
  • 83
  • 116
0
votes
2 answers

garbage text drawn on screen on tilting

Hi I have a nokia 5800 phone on which I was doing some pys60 ui programming. I used the below code to create the arrow. In short the draw() will draw the arrow onto the canvas surface. The canvas has redraw_callback and resize_callback hooked up to…
deostroll
  • 11,661
  • 21
  • 90
  • 161