webOS Nation Forums >  Homebrew >  webOS patches > Patch: Remove Pre-Populated Emergency Button Number
Patch: Remove Pre-Populated Emergency Button Number

  Reply
 
LinkBack Thread Tools Display Modes
Old 10/17/2009, 04:16 PM   #1 (permalink)
webOS Enthusiast
 
Abyssul's Avatar
 
Join Date: Jul 2009
Posts: 2,132
Likes Received: 45
Thanks: 41
Thanked 807 Times in 433 Posts
Default Patch: Remove Pre-Populated Emergency Button Number

Big thanks to eddieck:
http://forums.precentral.net/web-os-...ted-911-a.html

I present a patch (available in Preware) that will remove the pre-populated number that appears when you select the Emergency Button.

This will force a user to press the Emergency button, then type out 911 (or corresponding number for your locale) to access your emergency services. I have not tested this for other locales, but it worked for 911.

Available via Preware

Please use the "Thank" button.

Licensed under: http://www.webos-internals.org/wiki/..._webOS-Patches
__________________


If I helped you or you have downloaded one of my files,
then least you could do is click the "Thanks" button.

Last edited by Abyssul; 10/25/2009 at 03:13 PM.
Abyssul is offline   Reply With Quote
Old 10/17/2009, 04:30 PM   #2 (permalink)
Member
 
Join Date: Aug 2007
Posts: 85
Likes Received: 0
Thanks: 15
Thanked 11 Times in 7 Posts
Default

So this allows the phone to be used to call any number even when it's locked?
Pupator is offline   Reply With Quote
Old 10/17/2009, 04:36 PM   #3 (permalink)
webOS Enthusiast
 
Abyssul's Avatar
 
Join Date: Jul 2009
Posts: 2,132
Likes Received: 45
Thanks: 41
Thanked 807 Times in 433 Posts
Default

Quote:
Originally Posted by Pupator View Post
So this allows the phone to be used to call any number even when it's locked?
Nope, only numbers prescribed by Palm's emergency number list which are "911", "112", "000", "08", "110", "999", "118", "119", "#911", "*911"
__________________


If I helped you or you have downloaded one of my files,
then least you could do is click the "Thanks" button.
Abyssul is offline   Reply With Quote
Old 10/17/2009, 04:50 PM   #4 (permalink)
Member
 
Trekker's Avatar
 
Join Date: Oct 2007
Location: Subspace
Posts: 2,592
Likes Received: 13
Thanks: 603
Thanked 511 Times in 324 Posts
Default

Is there an ETA as to when this will be available via Preware?

Thanks!
Trekker is offline   Reply With Quote
Old 10/17/2009, 05:15 PM   #5 (permalink)
Member
 
Mikecp421's Avatar
 
Join Date: Aug 2005
Posts: 157
Likes Received: 0
Thanks: 58
Thanked 6 Times in 6 Posts
Default

awesome, thanks
Mikecp421 is offline   Reply With Quote
Old 10/17/2009, 05:57 PM   #6 (permalink)
Member
 
Join Date: Aug 2007
Posts: 85
Likes Received: 0
Thanks: 15
Thanked 11 Times in 7 Posts
Default

Quote:
Originally Posted by Abyssul View Post
Nope, only numbers prescribed by Palm's emergency number list which are "911", "112", "000", "08", "110", "999", "118", "119", "#911", "*911"
Excellent!
Pupator is offline   Reply With Quote
Old 10/17/2009, 10:12 PM   #7 (permalink)
webOS Enthusiast
 
Abyssul's Avatar
 
Join Date: Jul 2009
Posts: 2,132
Likes Received: 45
Thanks: 41
Thanked 807 Times in 433 Posts
Default

I'm incapable of adding it to the WebOS Internal patch feed. I wouldn't mind if someone added it as long as I was the author/maintainer...
__________________


If I helped you or you have downloaded one of my files,
then least you could do is click the "Thanks" button.
Abyssul is offline   Reply With Quote
Old 10/23/2009, 12:39 AM   #8 (permalink)
Member
 
Join Date: Jan 2009
Posts: 613
Likes Received: 0
Thanks: 63
Thanked 65 Times in 41 Posts
Default

Quote:
Originally Posted by Trekker View Post
Is there an ETA as to when this will be available via Preware?

Thanks!
It's there now. Congrats Abyssul!
galavanter is offline   Reply With Quote
Thanked By: Trekker
Old 10/23/2009, 01:40 AM   #9 (permalink)
Member
 
Freshyz's Avatar
 
Join Date: Jun 2009
Location: Utah
Posts: 926
Likes Received: 1
Thanks: 211
Thanked 114 Times in 92 Posts
Default

Just got through Preware and the patch works great and thanks to those involved!

I thought it would be a nice touch to include a red cross symbol as the backdrop for this specific dialer and having 911 already dialed in so hitting 'talk' was all that is required in an emergency. (if those things are possible?)

Last edited by Freshyz; 10/23/2009 at 01:59 AM.
Freshyz is offline   Reply With Quote
Old 10/23/2009, 06:29 AM   #10 (permalink)
webOS Enthusiast
 
Abyssul's Avatar
 
Join Date: Jul 2009
Posts: 2,132
Likes Received: 45
Thanks: 41
Thanked 807 Times in 433 Posts
Default

Quote:
Originally Posted by Freshyz View Post
having 911 already dialed in so hitting 'talk' was all that is required in an emergency. (if those things are possible?)
I'm pretty sure that was the stock function. This gets rid of the 911 "prepopulated" (already typed in) so it isn't as easy to just hit the emergency services button then call button.
__________________


If I helped you or you have downloaded one of my files,
then least you could do is click the "Thanks" button.
Abyssul is offline   Reply With Quote
Old 10/23/2009, 06:54 AM   #11 (permalink)
Member
 
Trekker's Avatar
 
Join Date: Oct 2007
Location: Subspace
Posts: 2,592
Likes Received: 13
Thanks: 603
Thanked 511 Times in 324 Posts
Default

Quote:
Originally Posted by Abyssul View Post
I'm pretty sure that was the stock function.
I think the stock function pre-populated 911 to the dial pad AND dialed it. That's why it was causing problems, it was a 1-touch dial.
Trekker is offline   Reply With Quote
Old 10/24/2009, 01:29 PM   #12 (permalink)
Member
 
Trekker's Avatar
 
Join Date: Oct 2007
Location: Subspace
Posts: 2,592
Likes Received: 13
Thanks: 603
Thanked 511 Times in 324 Posts
Default

Abyssul....I have a "cosmetic" suggestion for your patch. Currently when you hit the emergency call button, it brings up the dial pad. Would it be possible to add something at the very top so that you know that you are in the emergency call mode?

I was thinking of something simple such as "EMERGENCY CALLS ONLY" somewhere on the screen, maybe at the top in red letters. Once you start entering the numbers, then they will appear in this area.

Just a thought.
Trekker is offline   Reply With Quote
Old 10/24/2009, 01:33 PM   #13 (permalink)
Member
 
Join Date: Apr 2009
Posts: 187
Likes Received: 3
Thanks: 10
Thanked 25 Times in 14 Posts
Default

Nice patch, just curious - is it possible to change the Emergency # list? For example, could I add my campus police's number to the list so I could call them through this dialer, or is that locked down?
Libb is offline   Reply With Quote
Old 10/24/2009, 08:29 PM   #14 (permalink)
Member
 
livetorideca's Avatar
 
Join Date: Jul 2009
Location: Dublin, CA
Posts: 13
Likes Received: 0
Thanks: 15
Thanked 2 Times in 2 Posts
Default

Very nice patch...just wondering were you got the red dialpad as shown in your patch screenpic. Which theme is it?

Dumb question - I see it n your sig.... NEVERMIND
__________________
sent from my Palm Pre
livetorideca is offline   Reply With Quote
Old 10/25/2009, 09:18 AM   #15 (permalink)
webOS Enthusiast
 
Abyssul's Avatar
 
Join Date: Jul 2009
Posts: 2,132
Likes Received: 45
Thanks: 41
Thanked 807 Times in 433 Posts
Default

Quote:
Originally Posted by Libb View Post
Nice patch, just curious - is it possible to change the Emergency # list? For example, could I add my campus police's number to the list so I could call them through this dialer, or is that locked down?
WebOS lists all the emergency numbers at line 15 of 1161 of app-assistant.js

If you want to add more, then use WebOS Quick Install to retrieve this file located at "usr/palm/applications/com.palm.app.phone/app/controllers/app-assistant.js". Go to line 15 which lists all the numbers and add the number(s) you want. Save it, then send it back to the same spot on the Pre with the "send file" feature of WebOS Quick Install. Reboot and test it.

I don't know if this will work as I have not tested it, but I don't see a reason why it shouldn't work.

Quote:
Abyssul....I have a "cosmetic" suggestion for your patch. Currently when you hit the emergency call button, it brings up the dial pad. Would it be possible to add something at the very top so that you know that you are in the emergency call mode?

I was thinking of something simple such as "EMERGENCY CALLS ONLY" somewhere on the screen, maybe at the top in red letters. Once you start entering the numbers, then they will appear in this area.

Just a thought.
I'll look into something like that tonight. Thanks for the suggestion.
__________________


If I helped you or you have downloaded one of my files,
then least you could do is click the "Thanks" button.
Abyssul is offline   Reply With Quote
Thanked By: Trekker
Old 10/25/2009, 03:16 PM   #16 (permalink)
webOS Enthusiast
 
Abyssul's Avatar
 
Join Date: Jul 2009
Posts: 2,132
Likes Received: 45
Thanks: 41
Thanked 807 Times in 433 Posts
Default

Updated license info.
__________________


If I helped you or you have downloaded one of my files,
then least you could do is click the "Thanks" button.
Abyssul is offline   Reply With Quote
Old 10/31/2009, 08:08 PM   #17 (permalink)
Member
 
Trekker's Avatar
 
Join Date: Oct 2007
Location: Subspace
Posts: 2,592
Likes Received: 13
Thanks: 603
Thanked 511 Times in 324 Posts
Default

Quote:
Originally Posted by Trekker View Post
Abyssul....I have a "cosmetic" suggestion for your patch. Currently when you hit the emergency call button, it brings up the dial pad. Would it be possible to add something at the very top so that you know that you are in the emergency call mode?

I was thinking of something simple such as "EMERGENCY CALLS ONLY" somewhere on the screen, maybe at the top in red letters. Once you start entering the numbers, then they will appear in this area.
Quote:
Originally Posted by Abyssul View Post
I'll look into something like that tonight. Thanks for the suggestion.
Hi Abyssul....just wondering if you had a chance to look into this suggestion?

Thanks!
Trekker is offline   Reply With Quote
Old 11/01/2009, 11:13 AM   #18 (permalink)
webOS Enthusiast
 
Abyssul's Avatar
 
Join Date: Jul 2009
Posts: 2,132
Likes Received: 45
Thanks: 41
Thanked 807 Times in 433 Posts
Default

Quote:
Originally Posted by Trekker View Post
Hi Abyssul....just wondering if you had a chance to look into this suggestion?

Thanks!
I did look into, but had no success. I'll see if I can get someone to hint me in the right direction.
__________________


If I helped you or you have downloaded one of my files,
then least you could do is click the "Thanks" button.
Abyssul is offline   Reply With Quote
Thanked By: Trekker
Old 11/05/2009, 04:21 PM   #19 (permalink)
Member
 
Join Date: Nov 2009
Posts: 3
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Default Can't install patch

I tried installing the patch with both WebOS and Preware. Both are unsuccessful with errors. I have attached the screen shot of the WebOS error. Any ideas what might be wrong? Thanks.
Attached Images
File Type: jpg patch_error.jpg (27.6 KB, 9 views) Email Attachment
sipriano is offline   Reply With Quote
Old 11/11/2009, 06:27 AM   #20 (permalink)
webOS Enthusiast
 
Abyssul's Avatar
 
Join Date: Jul 2009
Posts: 2,132
Likes Received: 45
Thanks: 41
Thanked 807 Times in 433 Posts
Default

Quote:
Originally Posted by sipriano View Post
I tried installing the patch with both WebOS and Preware. Both are unsuccessful with errors. I have attached the screen shot of the WebOS error. Any ideas what might be wrong? Thanks.
Have you installed this patch before? It is saying that you have already installed this patch.

If not, I can come up with a solution if you have root access (preferably). WebOS Quick Install Linux command line might work.
__________________


If I helped you or you have downloaded one of my files,
then least you could do is click the "Thanks" button.
Abyssul is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0