webOS Nation Forums >  Homebrew >  webOS Patches > [PATCH]Vibrate when the other side picks up
[PATCH]Vibrate when the other side picks up
  Reply
 
Thread Tools Display Modes
Old 12/07/2010, 10:37 AM   #1 (permalink)
Member
 
Posts: 27
Description: When the other side picks up, your phone will vibrate so you don't have to look at the screen or put it on your ear.
(Vietnamese: tu dong rung khi dau day ben kia nhac may, tuong tu ringz blackberry)

install:

1. Open WebOSQuickInstall
2. Drag and drop patch to WebOSQuickInstall
3. Click Install
4. Done

(Thank mamouton so much)
Attached Files
File Type: patch Vibrate when ur call active.patch (1.1 KB, 83 views) Email Attachment

Last edited by nhimret; 12/09/2010 at 05:42 AM.
nhimret is offline   Reply With Quote
Old 12/07/2010, 04:41 PM   #2 (permalink)
Member
 
Posts: 451
This is really helpful, thanks for making this patch and hope will available in Preware soon
amjz is offline   Reply With Quote
Old 12/08/2010, 03:16 AM   #3 (permalink)
Member
 
prolongExistence's Avatar
 
Posts: 356
You can email it to your device. Then, since there is no registered app handler to handle a .patch file, it won't work. But... you can tap the http address from the email and it will open in your browser & download. Then, in Internalz, browse to /media/internal/downloads/ and find the patch file. Open it and Install Patch

A little bit of work, but maybe easier than using WOSQI.
__________________

Mine-Sprint Samsung Galaxy Nexus 4G/LTE
Sprint Pre, 1.4.5 overclocked with F102A Delta Dagger - retired 12-18-11
Wife's- Sprint LG Viper 4G/LTE
R.I.P. - My Launch day Pre - 06-06-09--04-18-11

Never trust a computer (or phone) named after a fruit.
prolongExistence is offline   Reply With Quote
Old 12/08/2010, 05:06 AM   #4 (permalink)
Member
 
Posts: 451
thanks, ya i did that, the patch installed and i reboot my Pre.
but it dosnt work NO vibration when picks up!!
could u please guys confirm that the patch work for u?
amjz is offline   Reply With Quote
Old 12/08/2010, 08:01 AM   #5 (permalink)
Member
 
Posts: 27
sry, if u cant install my patch, u can try step by step or download file below

1. Use internalz, open:

/usr/palm/applications/com.palm.app.phone/app/controllers/

copy file activecall-assistant.js to ur PC.

Open file activecall-assistant.js by notepad, workpad v.v....

Find:
Code:
if (callState == TelephonyCallState.ACTIVE) {
			stateDisplay.hide();
			if (this.muted) {
				muteDisplay.show();
			} else {
				muteDisplay.hide();
			}
Paste below
Code:
//tu dong rung khi dau day ben kia nhac may, tuong tu ringz blackberry - nhimret
this.controller.serviceRequest("palm://com.palm.vibrate", {method: 'vibrate', parameters: { 'period': 0,'duration': 700 }});
install:

1. Open WebOSQuickInstall --> Tools --> Send file
2. Choose activecall-assistant.js
and at "Destination folder", paste link:
Code:
/usr/palm/applications/com.palm.app.phone/app/controllers/
3. Click "Send to Device" button, wait then luna restart
4. Done
Attached Files
File Type: zip Vibrate when picks up.zip (35.6 KB, 44 views) Email Attachment

Last edited by nhimret; 12/08/2010 at 08:29 AM.
nhimret is offline   Reply With Quote
Thanked By: amjz
Old 12/08/2010, 08:06 AM   #6 (permalink)
Member
 
Greg Mair's Avatar
 
Posts: 765
I only instal patches that are in Preware, will this be submitted?.
Greg Mair is offline   Reply With Quote
Old 12/08/2010, 09:44 AM   #7 (permalink)
Member
 
Posts: 451
Quote:
Originally Posted by nhimret View Post
sry, if u cant install my patch, u can try step by step or download file below

1. Use internalz, open:

/usr/palm/applications/com.palm.app.phone/app/controllers/

copy file activecall-assistant.js to ur PC.

Open file activecall-assistant.js by notepad, workpad v.v....

Find:
Code:
if (callState == TelephonyCallState.ACTIVE) {
			stateDisplay.hide();
			if (this.muted) {
				muteDisplay.show();
			} else {
				muteDisplay.hide();
			}
Paste below
Code:
//tu dong rung khi dau day ben kia nhac may, tuong tu ringz blackberry - nhimret
this.controller.serviceRequest("palm://com.palm.vibrate", {method: 'vibrate', parameters: { 'period': 0,'duration': 700 }});
install:

1. Open WebOSQuickInstall --> Tools --> Send file
2. Choose activecall-assistant.js
and at "Destination folder", paste link:
Code:
/usr/palm/applications/com.palm.app.phone/app/controllers/
3. Click "Send to Device" button, wait then luna restart
4. Done
thnx, now it works
is it possible to add vibrate on hangup too?
amjz is offline   Reply With Quote
Old 12/08/2010, 10:42 AM   #8 (permalink)
Member
 
Posts: 27
@amjz:

find:
Code:
deactivate: function(event) {
		QDLogger.log( "ActiveCallAssistant#deactivate");
paste below
Code:
this.controller.serviceRequest("palm://com.palm.vibrate", {method: 'vibrate', parameters: { 'period': 0,'duration': 500 }});
install and luna restart
nhimret is offline   Reply With Quote
Old 12/08/2010, 06:37 PM   #9 (permalink)
Member
 
Posts: 1,674
what exactly does this patch do?
stu5797 is offline   Reply With Quote
Old 12/08/2010, 07:09 PM   #10 (permalink)
Member
 
Posts: 1,674
sorry I figured out wha it does but as you know it doed not work. This is an amazing idea and I wish there was an easy install! Great work
stu5797 is offline   Reply With Quote
Old 12/08/2010, 08:16 PM   #11 (permalink)
Member
 
Posts: 27
@stu57:

Quote:
Description: When the other side picks up, your phone will vibrate so you don't have to look at the screen or put it on your ear.
if u used Blackberry, this patch same Ringz app. U can google info Ringz

u only need download my attachment, and install

so easy, install only 1s
nhimret is offline   Reply With Quote
Old 12/08/2010, 09:02 PM   #12 (permalink)
Member
 
Posts: 1,674
I download and install from internalz. The patch installs but the patch does not work. I also tried installing via WOSQI it installs perfectly but does not work after that.
I dont really i understand the extra directions.
Wish I could just do it via internalz and be done because this sounds like an amazing patch!!!!!!!!!!!!
__________________
*Patchers STILL make this phone Perfect!
Palm Devices Currently Owned: Pre, Pre Plus, Pre 2, Pre 3, Pixi, Veer, Touchpads, and too many touchstones!
stu5797 is offline   Reply With Quote
Old 12/08/2010, 09:16 PM   #13 (permalink)
Member
 
Posts: 27
@stu5797: http://forums.precentral.net/2788425-post5.html <== download and install
nhimret is offline   Reply With Quote
Old 12/08/2010, 09:18 PM   #14 (permalink)
Member
 
mickykitsune's Avatar
 
Posts: 104
Awesome

Think you can work on it some more, to add a similar function where it vibrates if the On Hold music stops?
__________________
Australian Apple fan
Wannabe webOS developer, Multimedia designer & UI designer

I have some app ideas, but really need to get a better handle of how this jscript stuff works!
mickykitsune is offline   Reply With Quote
Old 12/08/2010, 09:28 PM   #15 (permalink)
Member
 
Posts: 1,674
I wish I had more computer knowledge. What do I open that attachment with?
usually I just email the patch to myself and install via internalz. Wish this one was that easy.
stu5797 is offline   Reply With Quote
Old 12/08/2010, 09:42 PM   #16 (permalink)
Member
 
Posts: 27
Quote:
Originally Posted by stu5797 View Post
I wish I had more computer knowledge. What do I open that attachment with?
usually I just email the patch to myself and install via internalz. Wish this one was that easy.
download attachment at #5

http://forums.precentral.net/2788425-post5.html

install:

1. Open WebOSQuickInstall --> Tools --> Send file
2. Choose activecall-assistant.js
and at "Destination folder", paste link:
Code:
/usr/palm/applications/com.palm.app.phone/app/controllers/
3. Click "Send to Device" button, wait then luna restart
4. Done

@mickykitsune: ur mean: when click pause, will vibrate?

Last edited by nhimret; 12/08/2010 at 09:47 PM.
nhimret is offline   Reply With Quote
Old 12/08/2010, 09:49 PM   #17 (permalink)
Member
 
mamouton's Avatar
 
Posts: 5,719
I installed your patch but I don't get the vibration.
__________________
My contributions to customizing the Palm Pre.

Browser Mega Mix|Email Mega Mix|Additional Sync Days|
Disable Various Phone Sounds|Priority Discard Buttons|
mamouton is offline   Reply With Quote
Old 12/08/2010, 10:00 PM   #18 (permalink)
Member
 
Posts: 27
Quote:
Originally Posted by mamouton View Post
I installed your patch but I don't get the vibration.
updated at #1
nhimret is offline   Reply With Quote
Old 12/08/2010, 10:13 PM   #19 (permalink)
Member
 
mamouton's Avatar
 
Posts: 5,719
Thanks I created the patch for you to work I will post it here. I notice that the phone vibrates when the phone starts ringing and hangs up. How can you make it detect when the caller picks up. If you send me the file I will create the patch. Here is a working version according to what I posted.
Attached Files
File Type: patch vibrate patch.patch (827 Bytes, 18 views) Email Attachment
__________________
My contributions to customizing the Palm Pre.

Browser Mega Mix|Email Mega Mix|Additional Sync Days|
Disable Various Phone Sounds|Priority Discard Buttons|
mamouton is offline   Reply With Quote
Thanked By: kristoffer10
Old 12/08/2010, 10:22 PM   #20 (permalink)
mk3
Member
 
mk3's Avatar
 
Posts: 575
Can you make it vibrate then ring on incoming call? Instead of just ringing it vibrates for the first ring.
__________________
Feedback & Feature Requests | Palm USA

"Abracadabra Holmes"
-Cal Naughton, Jr.
mk3 is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0