01/01/2013, 09:12 AM
|
#1 (permalink) |
|
Member
![]()
Posts: 23
|
Hi,
i am running a script directly from terminal when i get a phone call, i was wondering if there is an automatic way to run any script on event, such as when answering a call? i am using a pre3, i am no developer but will try to understand. Last edited by labwizard; 01/01/2013 at 09:14 AM. Reason: title fixing |
01/01/2013, 12:31 PM
|
#3 (permalink) |
|
Member
Posts: 2,090
|
You could try converting it into a Palm service and subscribe to the incoming call event.
__________________
Contact: @GMMan_BZFlag (me on Twitter) | webOS onTap | @webOSonTap webOS Releases: Change your App Catalog country: TouchPad/PC | TouchPad/webOS Resources | Search suggestion patch for browser | Cycling Email Notifications | Don't Doctor! Make a good support request. | How to post logs | webOS Charge Monitor I will be busy, so I may not be able to provide private support. |
01/01/2013, 03:34 PM
|
#4 (permalink) |
|
Member
![]()
Posts: 23
|
here's the script, i got it from here
arecord -D hw:0,0 -f S16_LE -d 90 /media/internal/rec.bin GMMan, interesting, i will do a research and see how can i achieve this, can it be mapped to the answer button, onClick onDrag? (sorry i am approaching this from the little i know in actionscript) 2 issues remaining with the script that i will leave them for other threads incremental file naming and dynamic timing to match the call timing |
01/01/2013, 07:01 PM
|
#5 (permalink) |
|
Member
Posts: 2,090
|
Mojo supports running command line programs, though it's limited to Palm apps only and in certain circumstances (I haven't researched the extent it's allowed). Try looking around for services that do this, like the backup service. There's also a media capture service, though I'm not sure if it records calls.
__________________
Contact: @GMMan_BZFlag (me on Twitter) | webOS onTap | @webOSonTap webOS Releases: Change your App Catalog country: TouchPad/PC | TouchPad/webOS Resources | Search suggestion patch for browser | Cycling Email Notifications | Don't Doctor! Make a good support request. | How to post logs | webOS Charge Monitor I will be busy, so I may not be able to provide private support. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|



