You Are Here:

Community: Developer Discussion Boards

#1 Old Question To lock complete keypad - 2008-09-30, 15:05

Join Date: Aug 2008
Posts: 48
Location: india
girish_g's Avatar
girish_g
Offline
Registered User
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.
Reply With Quote

#2 Old Re: To lock complete keypad - 2008-09-30, 15:08

Join Date: May 2007
Posts: 2,738
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Offline
Forum Nokia Champion
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
Reply With Quote

#3 Old Re: To lock complete keypad - 2008-09-30, 15:30

Join Date: Jul 2008
Posts: 103
ck.umraliya's Avatar
ck.umraliya
Offline
Forum Nokia Champion
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
Reply With Quote

#4 Old Re: To lock complete keypad - 2008-10-01, 06:34

Join Date: Aug 2008
Posts: 48
Location: india
girish_g's Avatar
girish_g
Offline
Registered User
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.
Reply With Quote

#5 Old Thumbs up Re: To lock complete keypad - 2008-10-01, 07:22

Join Date: Jul 2008
Posts: 103
ck.umraliya's Avatar
ck.umraliya
Offline
Forum Nokia Champion
hi girish,
Quote:
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.
Quote:
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

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

Regards,
Chintan Umraliya
Reply With Quote

#6 Old Re: To lock complete keypad - 2008-10-02, 18:30

Join Date: Sep 2008
Posts: 115
Location: Bhavnagar
Send a message via MSN to jalpesh_patel17 Send a message via Yahoo to jalpesh_patel17
jalpesh_patel17's Avatar
jalpesh_patel17
Offline
Regular Contributor
there is no such code
for unlocking without user interaction

and

Quote:
"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.
Reply With Quote

#7 Old Re: To lock complete keypad - 2008-10-03, 09:35

Join Date: Aug 2007
Posts: 2
johler
Offline
Registered User
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!
Reply With Quote

#8 Old Re: To lock complete keypad - 2008-10-06, 07:50

Join Date: Aug 2008
Posts: 48
Location: india
girish_g's Avatar
girish_g
Offline
Registered User
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.
Reply With Quote

#9 Old Re: To lock complete keypad - 2008-10-06, 08:52

Join Date: Feb 2008
Posts: 2,542
Location: Bhavnagar, Gujarat, India
Send a message via Yahoo to gaba88 Send a message via Skype™ to gaba88
gaba88's Avatar
gaba88
Offline
Forum Nokia Champion
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


Gargi Das- http://gargidas.blogsot.com

Forum Nokia Python Wiki


Learn Python at http://mobapps.org/PyS60
Reply With Quote

#10 Old Re: To lock complete keypad - 2008-10-08, 09:25

Join Date: Aug 2008
Posts: 48
Location: india
girish_g's Avatar
girish_g
Offline
Registered User
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.
Reply With Quote

#11 Old Re: To lock complete keypad - 2008-10-08, 09:42

Join Date: Feb 2008
Posts: 2,542
Location: Bhavnagar, Gujarat, India
Send a message via Yahoo to gaba88 Send a message via Skype™ to gaba88
gaba88's Avatar
gaba88
Offline
Forum Nokia Champion
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


Gargi Das- http://gargidas.blogsot.com

Forum Nokia Python Wiki


Learn Python at http://mobapps.org/PyS60
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Checking the keypad lock state. jk7800 Python 3 2008-07-16 17:35
Keypad lock on N-70 device stratocumuls General Discussion 8 2007-10-30 14:08
[6288] Keypad lock bug WarrenFaith General Discussion 0 2007-09-13 11:10
E60 - timer option on keypad lock requested kja2615 Series 40 & S60 Platform Feedback 0 2006-11-16 06:51
Keypad Lock on 6600 AndyCr6600 General Discussion 3 2004-01-09 14:24

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia