|
2010-11-27
, 22:25
|
Posts: 1 |
Thanked: 2 times |
Joined on Nov 2010
|
#33
|
So i thought to Say thx to kojacker again and Say it one More time , How do we Setup Alramed to trigger the App in Certain time .
|
2010-11-27
, 23:46
|
Posts: 96 |
Thanked: 18 times |
Joined on Nov 2008
|
#34
|
Copy paste this:
/usr/bin/mfakecaller "nicholes" "" "/home/user/MyDocs/.sounds/Your_Chosen_Sound.file_type"
Change nicholes and 'Your_Chosen_Sound.file_type'.
to 'Save Preset' box.
example:
/usr/bin/mfakecaller "Jackson, Michael" "" "/home/user/MyDocs/.sounds/crap.mp3"
Insert name 'test' to 'Save Event' box.
Change 'Alarm' to 'Command execution'.
Change 'Every minute' to 'Only once'.
Update 'Date' and 'Time'. Click 'Save event'
The Following User Says Thank You to onasre For This Useful Post: | ||
|
2010-11-28
, 00:56
|
Posts: 1,086 |
Thanked: 2,964 times |
Joined on Jan 2010
|
#35
|
So i thought to Say thx to kojacker again and Say it one More time , How do we Setup Alramed to trigger the App in Certain time .
/usr/bin/mfakecaller
/usr/bin/mfakecaller "onasre was here"
/usr/bin/mfakecaller "Answer me fool!" "/home/user/MyDocs/.documents/mr_t_loves_nuts.jpg"
/usr/bin/mfakecaller "Waylon Smithers" "/home/user/MyDocs/photos/smithers.jpg" "/home/user/MyDocs/.sounds/ymca.aac"
/usr/bin/mfakecaller "+44288Panther" "/home/user/MyDocs/photos/panther.jpg" "/home/user/MyDocs/.sounds/grrrrrrr.aac" 'background-image: url("/home/user/MyDocs/photos/panther.jpg");'
|
2010-11-28
, 11:14
|
Posts: 1,086 |
Thanked: 2,964 times |
Joined on Jan 2010
|
#36
|
|
2010-11-28
, 22:33
|
Posts: 96 |
Thanked: 18 times |
Joined on Nov 2008
|
#37
|
Now that you know all the commands, here's a quick scheduling example using Alarmed
When you run Alarmed and select "New event" button you get this "Add event" screen
We don't want an alarm, we want Alarmed to trigger mfakecaller to run at a certain time. So touch the button that currently says "Alarm" and change it from the drop down so it says "Command execution" instead
Also we don't want it to run "Every minute" so change the scheduling button to something else. You can choose a date or time, for testing let's choose "In.." from it's drop down. "In.. " sets a delay.
Once you've given your alarm a name and filled in a command your new alarm setup should look like this. Here, I'll get a call from best friend of opensource Steve Jobs in 5 seconds time - he's a very important man and he might sue me if I keep him waiting!
Simply hit "Save event" and in 5 seconds (or so) you should start feeling the familiar rumblings of mfakecaller starting up. Easy, right?
Because Alarmed saves your previous events, it keeps a list of them by name that you only need to go back into and trigger again when you need them. Think of them a little like fake call profiles, saves a lot of time filling them in
The Following User Says Thank You to onasre For This Useful Post: | ||
|
2010-11-29
, 03:48
|
|
Posts: 932 |
Thanked: 278 times |
Joined on Sep 2009
@ Kentucky
|
#38
|
|
2010-11-29
, 09:32
|
Posts: 1,086 |
Thanked: 2,964 times |
Joined on Jan 2010
|
#39
|
I'm glad to hear that the sound playing code is working fine, that's a relief! Thank you for taking the time to test it with me.
I was hoping that the Ringtone folder would be standard across all phones. I wanted to point to "Ringtones/Lumina.aac" as a default test sound, something that will play 'out of the box'. Also I didnt want to have to include a sound file with the package for the user to test with (makes it bigger to download). Perhaps there is an issue with different firmwares.
Ofcourse a method of selecting which file to play as a ringtone is something that was on the radar to be done anyway, so this problem should be easier to resolve in the next release.
Follow me on my neglected twitter @kojacker
Cybot950 - Control a robot with your N9/N950
SMSPetFeeder - Build a Bluetooth/SMS dog feeder with Qt, N950, and arduino
Nerf950 - Use your N9/N950 to fire a Nerf gun