×

Discussion Board

Results 1 to 11 of 11
  1. #1
    Registered User
    Join Date
    Aug 2008
    Location
    india
    Posts
    48

    Question To lock complete keypad

    hi

    i am sending some files from mobile to PC via bluetooth.
    During that send operation i want to completely block keypad inputs.

    i used pykeylock, it still gives user chance to unlock by pressing left soft key and *.

    i dont want that....
    so what are the options???

    Regards ;
    Girish
    Don't allow your energy to be drained away by worrying about
    what others will think. Simply be your authentic best, and keep in mind that
    what anyone else thinks about you is not your concern.

  2. #2
    Nokia Developer Moderator
    Join Date
    May 2007
    Location
    21.46 N 72.11 E
    Posts
    3,777

    Re: To lock complete keypad

    Hi Girish,

    Whenever the Keypad is locked, you can unlock by pressing the left-soft-key and the * key. So far, there are no extensions in PyS60 that allow you to completely lock the keypad, and disable the unlock mechanism.

    Best Regards,
    Croozeus
    Pankaj Nathani
    www.croozeus.com

  3. #3
    Registered User
    Join Date
    Jul 2008
    Location
    Bhavnagar (India)
    Posts
    112

    Re: To lock complete keypad

    Quote Originally Posted by girish_g View Post
    hi

    i am sending some files from mobile to PC via bluetooth.
    During that send operation i want to completely block keypad inputs.

    i used pykeylock, it still gives user chance to unlock by pressing left soft key and *.

    i dont want that....
    so what are the options???

    Regards ;
    Girish
    hi Girish,
    As Pankaj said there is no extension to completely disable the unlock mechanism.
    However you can continuously check the the keypad locking status in loop and lock it as soon as someone unlocks it.
    It is not the best way but still may work for you.
    Regards,
    Chintn Umrliya
    - Chintan Umraliya

  4. #4
    Registered User
    Join Date
    Aug 2008
    Location
    india
    Posts
    48

    Re: To lock complete keypad

    Quote Originally Posted by ck.umraliya View Post
    hi Girish,
    As Pankaj said there is no extension to completely disable the unlock mechanism.
    However you can continuously check the the keypad locking status in loop and lock it as soon as someone unlocks it.
    It is not the best way but still may work for you.
    Regards,
    Chintn Umrliya
    ok thanks Pankaj and ck.umraliya,

    But one thing , Can i hide "Unlock" option on screen, so that user will not get any intimation that he can unlock.

    By using uitricks we can only change labels till canvas level. But when we go for any inbuile attribute..e.g. Listbox,forms,multiselection list,even appuifw.note ...etc. We have to work with by default options coming with that attribute.

    uitricks does not override these options...
    i think you are getting what i am trying to say,...

    so please reply what can i do now????thanks for reply in advance

    Regards
    Girish
    Don't allow your energy to be drained away by worrying about
    what others will think. Simply be your authentic best, and keep in mind that
    what anyone else thinks about you is not your concern.

  5. #5
    Registered User
    Join Date
    Jul 2008
    Location
    Bhavnagar (India)
    Posts
    112

    Thumbs up Re: To lock complete keypad

    hi girish,
    But one thing , Can i hide "Unlock" option on screen, so that user will not get any intimation that he can unlock.
    As far as i know you cannot do it with PyS60.
    By using uitricks we can only change labels till canvas level. But when we go for any inbuile attribute..e.g. Listbox,forms,multiselection list,even appuifw.note ...etc. We have to work with by default options coming with that attribute.
    You can change labels of these objects using appuifw2 module

    i think you are getting what i am trying to say,...
    I hope i got your meaning...

    Regards,
    Chintan Umraliya
    - Chintan Umraliya

  6. #6
    Regular Contributor
    Join Date
    Sep 2008
    Location
    Bhavnagar
    Posts
    115

    Re: To lock complete keypad

    there is no such code
    for unlocking without user interaction

    and

    "Don't allow your energy to be drained away by worrying about
    what others will think. Simply be your authentic best, and keep in mind that what anyone else thinks about you is not your concern."
    your signature statement is realy very good.

  7. #7
    Registered User
    Join Date
    Aug 2007
    Posts
    2

    Re: To lock complete keypad

    Quote Originally Posted by jalpesh_patel17 View Post
    there is no such code
    for unlocking without user interaction
    Well, that's just not true: This wiki article explains how.

    And this article tells you where to get misty and how to sign it.

    Enjoy!

  8. #8
    Registered User
    Join Date
    Aug 2008
    Location
    india
    Posts
    48

    Re: To lock complete keypad

    hey friends,

    actually whats happening,

    i am sending file from mobile to PC.
    the time between
    Code:
    socket.bt_obex_send_file("address",channel,path)
    command and next
    Code:
    appuifw.note(u"please wait...","info")
    is too large.. so that if i press any keys between this operation
    my application gets interrupted and gives access to previous definition menus.

    so it creates an additional LOG as in previous definition selection list present it again makes selection and jumps to send function once again.

    so that i want to lock keypad atall.
    only it should get unlock with program command.

    please help
    Regards
    Girish
    Don't allow your energy to be drained away by worrying about
    what others will think. Simply be your authentic best, and keep in mind that
    what anyone else thinks about you is not your concern.

  9. #9
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: To lock complete keypad

    Hi Girish
    Just an idea why dont you take whole of your application into background just when your file transfer starts.
    I feel then your problem will be solved.

    Enjoy pythoning
    Gaba88

  10. #10
    Registered User
    Join Date
    Aug 2008
    Location
    india
    Posts
    48

    Re: To lock complete keypad

    hi gaba,
    thanks...
    ya if i am sending application to background then its ok..

    But still what i want that, user should not have access to other functions of mobile rather than my application.

    what are available options in python to do so.
    i want to block/lock/password protect/hide other applications.

    waiting for your reply...
    this point is very imp for me...
    please help...
    thanks again very much

    Regards
    Girish
    Don't allow your energy to be drained away by worrying about
    what others will think. Simply be your authentic best, and keep in mind that
    what anyone else thinks about you is not your concern.

  11. #11
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: To lock complete keypad

    hi girish

    your demand is bit high and the only way seems is locking the whole keypad which you tried earlier.
    I feel you cant make all the applications stop or even hide because some powers are with the users that cant be changed.

    Hope you got my point.
    Enjoy Pythoning
    Gaba88

Similar Threads

  1. Checking the keypad lock state.
    By jk7800 in forum Symbian
    Replies: 3
    Last Post: 2008-07-16, 16:35
  2. Keypad lock on N-70 device
    By stratocumuls in forum General Development Questions
    Replies: 8
    Last Post: 2007-10-30, 13:08
  3. [6288] Keypad lock bug
    By WarrenFaith in forum General Development Questions
    Replies: 0
    Last Post: 2007-09-13, 10:10
  4. E60 - timer option on keypad lock requested
    By kja2615 in forum Series 40 & S60 Platform Feedback Archive
    Replies: 0
    Last Post: 2006-11-16, 05:51
  5. Keypad Lock on 6600
    By AndyCr6600 in forum General Development Questions
    Replies: 3
    Last Post: 2004-01-09, 13:24

Posting Permissions

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