BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/)
-   Developer Forum (http://www.blackberryforums.com/developer-forum/)
-   -   Custom Phone lock Screen (http://www.blackberryforums.com/developer-forum/260374-custom-phone-lock-screen.html)

rupesh999 07-06-2012 12:50 AM

Custom Phone lock Screen
 
Hi,

I'm developing an application which has a unique feature. Whenever the user locks the phone, a screen is pushed above the lock screen which has an emergency button on it. Whenever user presses that button, the user is taken to another screen of my application which has few emergency numbers on which he can make a call. The user has no access to any of the functions of the phone or application other than calling on these numbers (same as a locked phone). My problem is how can I achieve this feature. What could be the possible ways of doing this?

Any help on this would be great!

Thanks, Rupesh

panzertechnologies 09-12-2012 07:53 AM

Re: Custom Phone lock Screen
 
When the user locks the screen there is no point of providing him again with touch features to call some sort of emergency numbers. Users use the lock option to avoid unintended touch on the mobile. So providing any feature on the lock screen to make a call misuses the actual theme of screen lock.
U can do with a bulk of code to perform the aim u have stated but to my opinion its only misusing the lock option.

hrbuckley 09-12-2012 10:58 AM

Re: Custom Phone lock Screen
 
I disagree with panzertechnologies assertion. I use the holster to prevent unintended touch actions. I think your use case may be valid for some users.

You will need to receive PERMISSION_DISPLAY_LOCKED from the user to display the screens, and others (from the same class) to operate the phone.


All times are GMT -5. The time now is 02:51 AM.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.