×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jan 2011
    Posts
    2

    keypress closes on N95 8G

    Hello,

    I checked the forum the last 2 days for possible solution for multiple listed problem that keypress module is closing during execution of keypress event. (also reported by user H25)
    Unfortunately there is no description how anybody here could solve this problem.

    Hopefully someone here can help me.

    Here is the list what I did so far.

    Mobile: N95 8G latest Nokia firmware
    Installation of Phyton S60 2.0.0. (I used the standard version found in the internet -- I did not sign it somehow)
    Installation of pips (standard not signed)
    Installing PythonScriptShell_2.0.0_3_0.sis (standard not signed)
    Signing of keypress version given by Bogdan version 1.0.6 (I could not give any additional caps options)
    Installing keypress module --> installation works fine

    Module can be loaded normally.


    Running an example script --> the application is closing the key 1 at least should be visible
    ********************************************
    import keypress
    from key_codes import *
    keypress.simulate_key(EKeyLeftSoftkey, EScancodeLeftSoftkey) # Simulates Left Softkey
    keypress.simulate_key(EKeyLeftSoftkey, EScancodeLeftSoftkey) # Simulates Left Softkey
    keypress.simulate_key(EKeyDownArrow, EScancodeDownArrow)
    keypress.simulate_key(EKeySelect, EScancodeSelect)
    keypress.simulate_key_mod(EKey1,EKey1,EModifierKeypad)
    ********************************************

    So I spent several hours not even getting the example script running. ... ;-(

    I' thankful for any advise to get over this problem.

    Thanx,
    Thomas
    Last edited by neibs; 2011-01-09 at 14:54.

  2. #2
    Registered User
    Join Date
    Jan 2011
    Posts
    2

    Re: keypress closes on N95 8G

    keypress is running as *.py file combined with appswitch without problem. Running the script as sis (previously signed via open signed online) just the appswitch part is working the keypressmodule doesn't seem to be executed.
    I read that SwEvent has to signed to the sis file. Is SwEvent already missing somehow in the sys file created with PyS60 Application packager and then not added during signing process at "open signed online"? By default SwEvent is not included capability on PyS60 application packager. There is an opion to give additional caps, but the syntax was not clear for me at all.
    Please help me.


    import keypress
    from key_codes import *
    import appswitch
    print appswitch.switch_to_fg(u"Mxxx")
    keypress.simulate_key(EKeyLeftSoftkey, EScancodeLeftSoftkey) # Simulates Left Softkey
    keypress.simulate_key(EKeyRightArrow, EScancodeRightArrow)
    keypress.simulate_key(EKeyDownArrow, EScancodeDownArrow)
    keypress.simulate_key(EKeyLeftSoftkey, EScancodeLeftSoftkey) # Simulates Left Softkey


    Thanx,

    Thomas
    Last edited by neibs; 2011-01-09 at 19:01.

  3. #3
    Registered User
    Join Date
    Oct 2011
    Posts
    1

    Re: keypress closes on N95 8G

    Hi neibs, where did you get your keypress version, I have tried using keypress_1.0.6_unsigned_testrange.sis and it has refused to get installed. The error given is that ....Required application, request not granted.....

    I have installed: PythonForS60_1_4_1_3rdEd.SIS, PythonScriptShell_1_4_1_3rdEd.sis and pips_s60_1_2_SS.sis. Please give me the link for your downloads. I am trying to run keypress python scripts but I haven't succeed. Will appreciate your assistance.

    Thanks

Similar Threads

  1. Audio problem with n95 8G
    By Julia... in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2010-03-23, 07:41
  2. Cannot install FlashLite 3.1 on N95-8G?
    By SandyWalsh in forum [Archived] Flash Lite on Nokia Devices
    Replies: 3
    Last Post: 2009-03-10, 17:21
  3. N95 8G SetExposureL problem
    By aefr123 in forum Symbian Media (Closed)
    Replies: 0
    Last Post: 2009-02-15, 10:28
  4. N95 8G US 3G compatibility
    By snakejw in forum General Development Questions
    Replies: 2
    Last Post: 2007-12-31, 06:42
  5. N95 8G with 3G Black
    By chpprpilot in forum General Development Questions
    Replies: 4
    Last Post: 2007-11-18, 18:41

Posting Permissions

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