×

Discussion Board

Search:

Type: Posts; User: RICH?; Keyword(s):

Page 1 of 7 1 2 3 4

Search: Search took 0.02 seconds; generated 2 minute(s) ago.

  1. Re: appuifw.app.menu - how to avoid making dedicated functions for each item?

    If you're adding the items to the menu in a loop and using lambda, you might get some problems.



    def callback(n):
    print n

    menu = []
    items = [1,2,3,4,5]
    for item in items:
  2. Re: OVI store will not support Python applications. What do you think about ?

    Yes, I also thought that end users will be really frustrated if even every low grade apps get in to the store.

    The publisher needs to take the responsibility of delivering a fit product.
    I should...
  3. Re: OVI store will not support Python applications. What do you think about ?

    Hi

    I would really like support for python apps in the appstore but as pointed out there are some issues.
    However PyS60 is a really great opportunity for developing apps because its easy to learn...
  4. Replies
    4
    Views
    2,755

    Re: image point not working Python 1.9.4

    Wow, thats great :).
    time.clock has an important role in my app and there is no alternative so its good to hear its being worked on.


    -Rich
  5. Replies
    4
    Views
    2,755

    Re: image point not working Python 1.9.4

    Sorry, I already got it fixed after all.
    Apparently it was due to float values that I was using.
    In anycase, I now use int values and have faced no problems.

    Now I also found that time.clock()...
  6. Replies
    4
    Views
    2,755

    image point not working Python 1.9.4

    Hello!

    For some reason using image.point doesn't work in Python 1.9.4.
    It gives no errors but also produces no visible results on the image.
    I tested the same script on 1.4.5 and it works fine...
  7. Replies
    6
    Views
    10,229

    Re: Sensor framework support in Python

    Yeah, I agree. I own a E66 now which uses the sensor framework and I cant use the accelerometer because of this :(.
    I hope sensor framework support is added soon.
  8. Replies
    6
    Views
    5,953

    Re: Serious problem with float numbers?

    Thanks for the tip :).

    If I only want for instance precision of 2 decimals I guess I could do this:

    If the user is at coordinates 5,5 they would be stored as 500,500 and then divided by 100...
  9. Replies
    6
    Views
    5,953

    Re: Serious problem with float numbers?

    Thanks for the info aapo :). I get it now. Sorry for comming to whine about it to the forum without any knowledge about the issue :o

    But unfortunately my app requires more precision...
    In my case...
  10. Replies
    6
    Views
    5,953

    Serious problem with float numbers?

    Hello,

    while developing an app I ran into a really weird problem.
    The problem is in python itself.

    Check out the following code:


    x=0.0
    for i in range(60) # Increment x with 0.1 60 times.
  11. Replies
    4
    Views
    4,814

    Re: Getting Error while using pyexpat

    Hi,

    Dont remember why but I read somewhere here that pyexpat needs some special capabilities... I'll try to find the thread.. :cool:

    ok got it:


    here's the complete thread:...
  12. Thread: math s problem

    by RICH?
    Replies
    4
    Views
    6,350

    Re: math s problem

    it will also work without the import with:

    15/100.0

    :)
  13. Thread: X,Y in Rectangle

    by RICH?
    Replies
    2
    Views
    3,944

    Re: X,Y in Rectangle

    There is nothing built in but it is relatively easy to make your own function to do this. You only need to know the coordinate of the given point and the coordinates of the rectangle.


    def...
  14. Re: What's the keycode for multimedia and N81 A,B keys?

    Actually they are accessible! :) I used to own an N81 and frequently used those keys in my apps.

    I don't remember the key codes but I found them with keywviewer.py:



    #
    # keyviewer.py
    #
    #...
  15. Re: TCP/IP Socket fails to connect without an error.

    Ok,the problem is definitely the way my wlan works, I'll see how to change the settings later.

    I connected my phone to my laptop by bluetooth so that I could use the net on the pc. Then I ran the...
  16. Re: TCP/IP Socket fails to connect without an error.

    Thanks for the info jethro.fn :) I'll check what I can try to do about it :).

    To be continued...
  17. Replies
    7
    Views
    10,644

    Re: [help] GPRS Connection Problem Python 1.4.4

    Hi. The problem seems similar to mine. I posted about it here: http://discussion.forum.nokia.com/forum/showthread.php?t=141412

    I hope a solution is found.
  18. TCP/IP Socket fails to connect without an error.

    Hello,

    I just got a new phone (E66). I tried to create a TCP/IP socket in python between the phone and my pc.

    I am using the TCP/IP examples here:...
  19. Replies
    3
    Views
    5,356

    Re: 2 way bluetooth communication (phone & pc)

    Thanks for your replies :)
    Yes, I've been trying examples too but I alwas get stuck somewhere. I think there should be a smiple example in the wiki about this. But not too simple ;). If anyone has...
  20. Replies
    3
    Views
    5,356

    2 way bluetooth communication (phone & pc)

    Hello,

    I'm trying to do some bt socket programming for a simple project of mine.

    What I want to accomplish is a a server and a client script that can talk to each other wirelessly via a...
  21. Replies
    239
    Views
    193,265

    Re: Ped - in-phone programmers editor

    I agree :)

    I would like if when saving a python file it would only ask for the filename without the extension. But when handling a text file the extension would be there too, and it could be...
  22. Replies
    13
    Views
    14,356

    Re: switch on/off smartphon...

    Oops, it does the same on my phone too :( sorry, I dont know why.


    Best Regards
    Richard
  23. Replies
    13
    Views
    14,356

    Re: switch on/off smartphon...

    Hello,

    Actually, since the line that you need to add just defines a new variable, you can write it straight into your script:


    from key_codes import *
    import keypress
    EKeyPowerOff = 63556...
  24. Re: Precise mouse controll with the N95 accelerometer [VIDEO]

    I think you got the link wrong :D

    I found this a while ago http://snippets.dzone.com/posts/show/3109 :)
    Maby that could be used :)
  25. Re: Precise mouse controll with the N95 accelerometer [VIDEO]

    Yes, where can I get them and are they free? :D

    I'm also intrested in making one for the N81 and make use of its NaviWheel (you can spin your thumb around the d-pad to scroll in some menus) but...
Results 1 to 25 of 168
Page 1 of 7 1 2 3 4
×