×

Discussion Board

Search:

Type: Posts; User: aaaaapo; Keyword(s):

Page 1 of 12 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    6
    Views
    1,830

    Re: scan for Wi-Fi AP

    You can try Wlantools.

    http://chris.berger.cx/PyS60/PyS60



    >>> import wlantools
    >>> wlantools.scan()
    [{'Capability': 1073, 'BeaconInterval': 100, 'SecurityMode': 'Wep', 'SSID':...
  2. Replies
    98
    Views
    100,550

    Re: Python for S60 2.0.0 released

    Ah, this explains one of crashes of my app in PyS60 2.0.0 -- which is pretty stable in 1.4.5.

    This (and many other fatal bugs in PyS60 1.9/2.0 series) makes PyS60 2.0 unusable for me. I don't want...
  3. Replies
    2
    Views
    2,130

    Re: Uploading file to server

    I guess you ran out of memory, when you tried to POST large files to the server?

    This HTTP multipart POST implementation doesn't read whole file in the memory, instead it reads and sends file in...
  4. Replies
    3
    Views
    4,083

    Re: Accessing proximity sensor with PyMaemo?

    Read file /sys/devices/platform/gpio-switch/proximity/state

    It gives you 2 possible states: open and closed

    Similarly /sys/class/i2c-adapter/i2c-3/3-001d/coord gives you accelerometer data,...
  5. Replies
    12
    Views
    4,405

    Re: has pys60 development died?

    Perhaps you should give a try to N900 (Maemo 5)? I borrowed one from a friend of mine and it seems it is very promising device, at least for developers/hackers.

    It has Python and Python's Qt...
  6. Replies
    4
    Views
    2,865

    Re: Listbox not working

    Please find out how to use CODE tags around code snippets.



    It would be helpful to show how you create items and the definition of handle_selection().



    I'd suggest this:
  7. Re: [PyS60 1.9.7 + N97] Starting network connection hangs Python interpreter

    I quickly tested with N82 (without SIM-card) via WLAN and it partly worked. I'll do more tests this evening.



    Sounds like it is not my job. N97 is so buggy anyway.

    I'll start looking at...
  8. [PyS60 1.9.7 + SDK] Import btsocket raises ImportError

    When I start interactive console in script shell (1.9.7 in 3rd Ed FP2 or N97 SDK emulator) and issue command:


    import btsocket

    I'll get this error:


    ImportError: no module named e32socket
  9. [PyS60 1.9.7 + N97] Starting network connection hangs Python interpreter

    I'm trying to get network connection work in N97 -- without success.

    Even this simple script hangs python script shell so I must reboot the device to get it killed:



    import time

    def...
  10. Replies
    6
    Views
    7,073

    Re: lightblue for python 1.9.x

    Would you mind publishing this ensymble simplesis [...] command, please? :-)

    I want to install all files in the C:.
  11. Re: PyS60 1.9.3 compilation problem (in order to compile modules)

    Good news! How to download?
  12. Replies
    4
    Views
    4,031

    Re: Humongous leaks in appuifw.Listbox??

    Bug reports for

    1.9.x:
    https://garage.maemo.org/tracker/?atid=3201&group_id=854&func=browse

    1.4.x:
    http://sourceforge.net/tracker/?group_id=154155&atid=790646
  13. Re: httpconnection - unable to send data more than 1 mb

    There may be several limits on the server, e.g. if you are using Apache + PHP on the server side:
    - max_execution_time
    - max_input_time
    - post_max_size
    - upload_max_filesize

    Other web servers...
  14. Replies
    6
    Views
    5,297

    Re: Can you review my python files...?

    Hi xitopodo.


    You should really give a try for Python's "list" data structure and "list comprehension". It would save you lots of those if/else blocks.

    You should be able to paste the code...
  15. Replies
    9
    Views
    6,109

    Re: n95 disable all the useless keys

    I'd love to be in London, but I can't. :-(
    Could you send the exhibition to University of Art and Design Helsinki after you have finished there? :-)

    Waiting for the details...
  16. Thread: json?!

    by aaaaapo
    Replies
    4
    Views
    4,858

    Re: json?!

    You could try to download simplejson.py and put it in you E:\Python\lib\

    Then you should be able to import simplejson and use it like you use simplejson in other environments (e.g. mac/pc/linux).
  17. Replies
    2
    Views
    4,250

    Re: Camera view finder crash but only in 5800

    What is the size of this im in 5800?
  18. Re: Python extension works in emulator but not on device...

    Try to find ErrRd.SIS and install it into your phone.

    If I recall right it just installs some magically named empty file somewhere in your phone's memory and after reboot your phone starts...
  19. Replies
    16
    Views
    6,535

    Re: How to identify current PyS60 version

    Huh, you're right! e32.pys60_version_info is much easier and cheaper than kludges/workarounds introduced here earlier. ;-0
  20. Replies
    16
    Views
    6,535

    Re: How to identify current PyS60 version

    We may have 1.4.6 some day. :-)

    How about this:



    if [int(x) for x in e32.pys60_version.split(" ")[0].split(".")] > [1,9]:
    # PyS60 1.9.x and above
    else:
    # Pys60...
  21. Replies
    9
    Views
    6,109

    Re: n95 disable all the useless keys

    Hi Giuseppe.



    This sounds interesting, I probably have to do something similar in the future.

    Would you like to document your work a bit and perhaps publish a link to the documentation in...
  22. Replies
    16
    Views
    6,535

    Re: How to identify current PyS60 version

    But what happens when 2.0 is out?

    IMHO, my solution is the best one! :-)
  23. Replies
    16
    Views
    6,535

    Re: How to identify current PyS60 version

    e32.pys60_version is a string, not a function. Remove parenthesis and try again. :-)


    >>> [int(x) for x in e32.pys60_version.split(" ")[0].split(".")]
    [1, 4, 5]
  24. Replies
    7
    Views
    6,998

    Re: View finder bug with emulator

    There are now versions for FP1 and FP2 too:
    http://www.forum.nokia.com/info/sw.nokia.com/id/c136eec5-5496-43cc-be53-83a7a6ed8a31/Nokia_Eseries_SDK_Plug-Ins_for_S60.html

    I tried FP1 in my FP1 SDK...
  25. Replies
    13
    Views
    5,344

    Re: 2.0 support for 3rd FP1 devices?

    I tested in a N95 (no SIM-card), imports inbox and scriptext without any problems.

    All stuff is installed in the phone's memory.
Results 1 to 25 of 300
Page 1 of 12 1 2 3 4