|
|
10/24/2009, 01:23 AM
|
#1 (permalink) |
|
Member
![]() ![]() Join Date: Jul 2009
Location: Arizona
Posts: 716
Likes Received: 1
Thanks: 33
Thanked 374 Times in 163 Posts
|
Here is a small patch I created that will automatically reject any call that comes in and is listed as a number for a contact with the name: 'Do Not Answer'
No announcement will be seen or any notification whatsoever. I believe it will still list the call in the history though. So apply the patch, make a contact by the name 'Do Not Answer' (no quotes), and put in any number you want to block... enjoy! EDIT: you can also link profiles to that 'Do Not Answer' contact so long as its the primary, they should all be blocked. EDIT: it does not still list in the call history. 11/17/2009: Now works fully with 1.3.1 ... no more notification of missed call. 3/1/2011 : uploaded versions for 2.1 ... will actually disconnect call immediately.
__________________
Avatar on Left Patch Call Rejecter Patch Make your messanger look like the iphone's SMS tone per Contact No Alert During call Thanks are always appreciated or for a really big Thanks you can always: (it can go a long way to convince my fiancee that this is worth my time)Please feel free to PM for more direct assistance. Last edited by elryon; 03/01/2011 at 09:33 PM. Reason: new versions |
10/24/2009, 01:36 AM
|
#2 (permalink) |
|
Member
![]() Join Date: Aug 2009
Posts: 61
Likes Received: 0
Thanks: 3
Thanked 16 Times in 7 Posts
|
I am looking at the code - I have done very little exploring in regards to creating patches but it appears that one could easily expand the logic some how to include "Blocked number" and "Unknown number".
Besides rooting my pre and looking at the TelephonyEventListener.js file is there any other way to view these files? |
10/24/2009, 01:42 AM
|
#3 (permalink) |
|
Member
![]() ![]() Join Date: Jul 2009
Location: Arizona
Posts: 716
Likes Received: 1
Thanks: 33
Thanked 374 Times in 163 Posts
|
just use a text editor on the patch file itself
you could also pull out the webos file from the doctor, it has all the files there... use 7zip.
__________________
Avatar on Left Patch Call Rejecter Patch Make your messanger look like the iphone's SMS tone per Contact No Alert During call Thanks are always appreciated or for a really big Thanks you can always: (it can go a long way to convince my fiancee that this is worth my time)Please feel free to PM for more direct assistance. |
10/24/2009, 02:12 AM
|
#4 (permalink) |
|
Member
![]() Join Date: Aug 2009
Posts: 61
Likes Received: 0
Thanks: 3
Thanked 16 Times in 7 Posts
|
Thank you.
When I first looked at your patch I wondered why we could just not change the code on line 8 to something like this: Code:
if (contact.name === 'Do Not Answer' || contact.name === 'Unknown number' || contact.name === 'Blocked number') What I am wondering about is how the phone identifies the difference between blocked numbers and unknown numbers. For example on my phone it shows: Code:
Unknown number Unknown caller time Blocked number Unknown caller time |
10/24/2009, 05:39 AM
|
#7 (permalink) |
|
Forum Leader
![]() Join Date: Jan 2007
Location: Fort Worth, TX
Posts: 5,771
Likes Received: 5
Thanks: 796
Thanked 1,165 Times in 801 Posts
|
Is there a way to expand this patch to send out a predefined text like (running late, busy, etc) for missed or ignored calls similar to TreoFlex for the Treo?
TreoFlex 3.5 (for Palm OS) - mytreo.net/downloads Greenhex developed for the Treo and it was very useful, it sent out messages automatically based on what you had in your notes field. It is truly missed. |
10/24/2009, 08:52 AM
|
#9 (permalink) |
|
Member
![]() ![]() Join Date: Oct 2009
Posts: 674
Likes Received: 0
Thanks: 105
Thanked 203 Times in 107 Posts
|
Let's say theoretically you are already on the phone with someone and you get a call from 'Do Not Answer'. Will the disconnectCall() function hang up both calls or just the incoming one?
|
10/24/2009, 10:12 AM
|
#11 (permalink) | |||
|
Member
![]() ![]() Join Date: Jul 2009
Location: Arizona
Posts: 716
Likes Received: 1
Thanks: 33
Thanked 374 Times in 163 Posts
|
Quote:
Quote:
Quote:
I'm am planning on expanding this to an app that you can specify a list of contacts, but as my time is limited it might be a bit. I wanted to get something out there for everyone requesting something. FYI, I didnt want to include 'unknown' as it looks at the name and say your waiting on a job interview call... if the job isn't in your contacts it would come up 'unknown'... or if the business for some reason blocks their number it would come up 'blocked'. The app will have these as options though.
__________________
Avatar on Left Patch Call Rejecter Patch Make your messanger look like the iphone's SMS tone per Contact No Alert During call Thanks are always appreciated or for a really big Thanks you can always: (it can go a long way to convince my fiancee that this is worth my time)Please feel free to PM for more direct assistance. |
|||
10/24/2009, 10:13 AM
|
#12 (permalink) |
|
Member
![]() ![]() Join Date: Jul 2009
Location: Arizona
Posts: 716
Likes Received: 1
Thanks: 33
Thanked 374 Times in 163 Posts
|
I did submit it so hopefully it will be on soon.
__________________
Avatar on Left Patch Call Rejecter Patch Make your messanger look like the iphone's SMS tone per Contact No Alert During call Thanks are always appreciated or for a really big Thanks you can always: (it can go a long way to convince my fiancee that this is worth my time)Please feel free to PM for more direct assistance. |
10/24/2009, 10:15 AM
|
#13 (permalink) |
|
Member
![]() Join Date: Jul 2009
Posts: 476
Likes Received: 0
Thanks: 26
Thanked 137 Times in 62 Posts
|
I tried 2 contacts seperated by a comma and it didnt block either cotact. I tried it like this 'Treo 755p' 'chuck' ..... IT DIDNT WORK! Caused my phone to go back and forth from the boot screen to the just charge/usb screen. Lucky i was still able to goto webos QI and remove the patch.
|
10/24/2009, 10:37 AM
|
#16 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 347
Likes Received: 0
Thanks: 9
Thanked 101 Times in 41 Posts
|
Wow, just tested, works nicely.
Never thought of this myself, kudos to you. An app that allows you to check contacts from a list, as well as add separate numbers or strings that are not in your contacts list would be great such as Blocked Number. love it - nice work. |
10/24/2009, 10:44 AM
|
#17 (permalink) |
|
Member
![]() Join Date: Jul 2009
Posts: 476
Likes Received: 0
Thanks: 26
Thanked 137 Times in 62 Posts
|
[QUOTE=elryon;1996324]
you can do it by adding || between each. QUOTE] Is that done like the guy said above? like this.. (contact.name === 'Do Not Answer' || contact.name === 'Treo 755p' ) |
10/24/2009, 10:59 AM
|
#18 (permalink) | |
|
Member
![]() ![]() Join Date: Jul 2009
Location: Arizona
Posts: 716
Likes Received: 1
Thanks: 33
Thanked 374 Times in 163 Posts
|
[QUOTE=mracer29;1996362]
Quote:
Doing it that way may work. Let me know... g/f calling for attention.... EDIT: doesnt work...
__________________
Avatar on Left Patch Call Rejecter Patch Make your messanger look like the iphone's SMS tone per Contact No Alert During call Thanks are always appreciated or for a really big Thanks you can always: (it can go a long way to convince my fiancee that this is worth my time)Please feel free to PM for more direct assistance. Last edited by elryon; 10/24/2009 at 11:08 AM. |
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
LinkBacks (?)
LinkBack to this Thread: http://forums.webosnation.com/webos-patches/211255-patch-call-block-ignore.html
|
||||
| Posted By | For | Type | Date | |
| dBsooner's webOS-Patches Web Portal | This thread | Refback | 05/16/2010 03:55 PM | |



