Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User jk7800's Avatar
    Join Date
    Sep 2007
    Posts
    14
    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
    Nokia Developer Moderator croozeus's Avatar
    Join Date
    May 2007
    Location
    21.46 N 72.11 E
    Posts
    3,635
    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 jk7800's Avatar
    Join Date
    Sep 2007
    Posts
    14
    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 Moderator petrib's Avatar
    Join Date
    Mar 2003
    Posts
    9,413
    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 jk7800's Avatar
    Join Date
    Sep 2007
    Posts
    14
    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 mikealive's Avatar
    Join Date
    May 2008
    Location
    Cypress, California
    Posts
    4
    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. Music Player Remote Control not working on N95 8gb
    By Rafael T. in forum Symbian C++
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved