×

Discussion Board

Search:

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

Search: Search took 0.01 seconds.

  1. Replies
    13
    Views
    8,688

    Re: Bluetooth comms - make event driven

    Hello

    Have you checked "select" módule?

    This code must work for reading ip sockets but
    i don't now about BT sockets.
  2. Thread: Pyspy

    by Skarabeus
    Replies
    27
    Views
    14,157

    Re: Pyspy

    Hello.

    I'm Sorry, because I answered about finder function without check its functionality first. :(

    May be some improvement using finder but i need check it first, because the heavy work is...
  3. Replies
    2
    Views
    6,033

    Re: Bluetooth Sensor Communication

    Hi.

    SPP (Serial Port Profile) uses a rfcomm BT socket.
    You only need a rfcomm connection to de SPP channel.

    Bye.
  4. Thread: Pyspy

    by Skarabeus
    Replies
    27
    Views
    14,157

    Re: Pyspy

    Hello canopus2.

    I need get frames (photos) to compare them and check for motion. This is a heavy task because the low efficiency of image.getpixel method for comparison and the leak of array...
  5. Replies
    1
    Views
    4,648

    Re: Infra Red or RS232 on N80

    You can add a rs232 port with a bluetooth-rs232 adapter
    and control it via bluetooth rfcomm socket.

    Bye.
  6. Thread: Pyspy

    by Skarabeus
    Replies
    27
    Views
    14,157

    Re: Pyspy

    Hello.

    The only documentation available is a README (leeme.txt) in spanish shiped with zip file. I'm waiting the translation from a contributor because my english is not good enought. :(


    Bye.
  7. Thread: Pyspy

    by Skarabeus
    Replies
    27
    Views
    14,157

    Re: Pyspy

    Thanks. Andersnc

    I replaced (160 x 120) hard coded resolution by this:

    min(camera.image_sizes())

    You can download corrected script at the same place.

    http://pyspy.sourceforge.net/pyspy.zip
  8. Thread: Pyspy

    by Skarabeus
    Replies
    27
    Views
    14,157

    Re: Pyspy

    Hello.

    Can some body test this script in 3rd phone with camera?

    Thanks.
  9. Thread: Pyspy

    by Skarabeus
    Replies
    27
    Views
    14,157

    Pyspy

    Hello.

    Pyspy is a motion detection program.
    It sends (selectable) e-mal, mms, sms or missed call to alert motion detection.
    Also has a presence detection (old people living alone in mind) it...
  10. Thread: Age

    by Skarabeus
    Replies
    8
    Views
    6,659

    Re: Age

    >>>Rich_age = 15
    >>>Skarabeus_age = Rich_age * 2 + 3
    >>>print Skarabeus_age
    can be your father!!

    Bye ;-P
  11. Replies
    6
    Views
    10,022

    Re: convert text to unicode

    Hello.

    You can write ascii and non ascii characters in a unicode literal string
    escaping them.

    Example:

    >>> u"\u0041"
    u'A'
  12. Re: How to change common string to unicode string?

    Or three ;)




    # third
    appuifw.note(s.decode())
  13. Replies
    2
    Views
    3,131

    Re: mmsmodule for 2nd FP3

    It works fine.

    Thanks a lot.
  14. Replies
    2
    Views
    3,131

    mmsmodule for 2nd FP3

    Hello

    Can any body send me a compiled version of mmsmodule_FP3.cpp to <pepe at diselpro dot com>? :o

    http://nysse.lapanen.org/python/MMS/mmsmodule_FP3.cpp

    I don't have sdk installed because...
  15. Re: Retreive dictionary objects in correct order...

    >>>q={}
    >>>q[u'Image1']=u'path1'
    >>>q[u'XMLfile1']=u'path2'
    >>>q[u'Image2']=u'path3'
    >>>l=q.keys()
    >>>l.sort()
    >>>l
    [u'Image1', u'Image2', u'XMLfile1']
  16. Replies
    4
    Views
    6,567

    Re: Image with Date

    import camera
    import time

    img = camera.take_photo()
    img.text((20,img.size[1]-25),time.strftime("%d/%m/%Y %H:%M:%S").decode(),font=u"LatinBold19",fill=(255,255,0))
    ...
  17. Replies
    0
    Views
    4,234

    Bug in e32dbm module.

    Hello.

    To avoid headaches of another pyS60 developers i post this
    bug here.

    get(...) function of e32dbm module returns key instead value.

    To patch it:

    Wrong code in e32dbm.py módule...
  18. Embedding .py/.pyd modules into a single .py file

    Hello.

    I write this little script for embed py/pyd modules into a single
    .py file.

    Here is a beta version:
    http://coyote.diselpro.com/boundmod.zip

    For example, you can embed smtplib.py,...
  19. Replies
    1
    Views
    9,526

    Editor for bluetooth console.

    I have an idea...

    Make a (VT100/xterm) basic terminal editor to edit python scripts or other text file types in the phone via the BT-Console.

    >>> import editor
    >>>...
  20. Re: Get a png from internet and draw it on canvas.

    Is D: drive a ramdisk?

    Thanks.
  21. Get a png from internet and draw it on canvas.

    Hello.

    I'm newby in pyS60 environment.

    I want to get a png from a url using urllib and draw it on canvas
    without save it as file first. Is posible?

    Is any disk unit a ramdisk? to do the...
Results 1 to 21 of 21
×