how do i do this?

Put your problem here if it does not fit any of the other categories.

how do i do this?

Postby gtang » Fri Jul 15, 2011 12:54 am

i am trying to make an app that allows the user to use the hardware keys to unlock the phone. I have a couple questions. Would I have to llock the phone through the application? if so how would i lock the phone through the application? I have tried using key events to listen to the hardware key clicks but it hasn't worked. so how do I listen for hardware key clicks?
gtang
Junior Developer
Junior Developer
 
Posts: 12
Joined: Tue Mar 08, 2011 1:14 am

Top

Re: how do i do this?

Postby gtang » Wed Aug 03, 2011 8:33 pm

please i need help!!!!!!!!!
gtang
Junior Developer
Junior Developer
 
Posts: 12
Joined: Tue Mar 08, 2011 1:14 am

Re: how do i do this?

Postby gtang » Thu Sep 01, 2011 2:03 am

i have not figured it out yet so help please
gtang
Junior Developer
Junior Developer
 
Posts: 12
Joined: Tue Mar 08, 2011 1:14 am

Re: how do i do this?

Postby sjensen85 » Tue Sep 06, 2011 11:24 pm

You would have to lock the phone in your application, yes. Is it as easy as you might think, no. The Home button cannot be overridden in any app. Only if it is a Home app can you (the kind that lets you customize your home screen) override the Home button function. The other buttons, I'm not sure.

P.S. All posts should be WITH code..
sjensen85
Freshman
Freshman
 
Posts: 3
Joined: Tue Sep 06, 2011 10:50 pm

Re: how do i do this?

Postby gtang » Wed Sep 14, 2011 3:37 am

i am not wanting to override the home button function i just want to be able to some how have the program listen to key clicks.
gtang
Junior Developer
Junior Developer
 
Posts: 12
Joined: Tue Mar 08, 2011 1:14 am

Re: how do i do this?

Postby gtang » Wed Sep 14, 2011 3:39 am

i have also read in the git libraries of the code you need to lock your screen and I have realized it would not be easy from the moment i thought of the idea.I know there are a lot of situations you need to program for but i am willing to listen what you have to say.
gtang
Junior Developer
Junior Developer
 
Posts: 12
Joined: Tue Mar 08, 2011 1:14 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 11 guests