×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Sep 2007
    Posts
    14

    Question N95 8gb music keys?

    Hi.

    I'm new here and I'm trying to make an app in python, which would simulate presses of music keys in N95. I need this for controlling the built-in music player. Is there any way of doing this (or maybe there is another way to control the player)?

    Thanks.

    P.S. Sorry for bad English.

  2. #2
    Wiki Moderators
    Join Date
    May 2007
    Location
    21.46 N 72.11 E
    Posts
    3,779

    Re: N95 8gb music keys?

    Quote Originally Posted by jk7800 View Post
    Hi.

    I'm new here and I'm trying to make an app in python, which would simulate presses of music keys in N95. I need this for controlling the built-in music player. Is there any way of doing this (or maybe there is another way to control the player)?

    Thanks.

    P.S. Sorry for bad English.
    Hi jk7800 and welcome to the Python Forum !!

    Yes, you can simulate presses of keys in Python for S60 using the keypress module.

    Hope that helps,

    Best Regards,
    Croozeus
    Pankaj Nathani
    www.croozeus.com

  3. #3
    Registered User
    Join Date
    Sep 2007
    Posts
    14

    Re: N95 8gb music keys?

    Quote Originally Posted by croozeus View Post
    Hi jk7800 and welcome to the Python Forum !!

    Yes, you can simulate presses of keys in Python for S60 using the keypress module.

    Hope that helps,

    Best Regards,
    Croozeus
    Thanks. But I have another question Where can I find the keycode for the play button?

  4. #4
    Nokia Developer Champion
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,545

    Re: N95 8gb music keys?

    The music/media keys are not handled in the same way as other keys, so I'm not sure Python can handle/detect them.

  5. #5
    Registered User
    Join Date
    Sep 2007
    Posts
    14

    Re: N95 8gb music keys?

    Heh Too bad :/ Is there no other way to control the music player?

    Thanks anyway.
    Last edited by jk7800; 2008-05-14 at 15:51.

  6. #6
    Registered User
    Join Date
    May 2008
    Location
    Cypress, California
    Posts
    4

    Re: N95 8gb music keys?

    i am looking to make app like this for my n82. i don't even know where to start. i want to make a longpress for the volume and gallery keys to control the music player.

Similar Threads

  1. Replies: 4
    Last Post: 2008-05-04, 17:26
  2. N95 8GB vs. N95 Compatibility: New Music Devices?
    By jimkelleher in forum General Development Questions
    Replies: 1
    Last Post: 2008-04-02, 12:54
  3. Nokia N95 8GB Music Player + earpiece problem! Help!
    By d0ud0u in forum General Development Questions
    Replies: 2
    Last Post: 2008-02-27, 05:08
  4. cna sombedy check this and fix it..about n95 8gb
    By acedeejay in forum General Development Questions
    Replies: 2
    Last Post: 2007-10-25, 14:58

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •