What is new
- New action: Audio / Stop playing
- New action: Control / Reinit robot command
- New expression: Constant / Timestamp value
- New expression: Date / Increase timestamp
- New expression: Date / Set timestamp
- New expression: Location / Current location
- Alarm event: “when” parameter can be an expression
- Location events: can work without automatic location detection
- Play sound/ringtone action: new “loop” parameter to play sound until stopped
- Update location action: can update location by “cell”
- Clock alarm alert event: handles SonyEricsson built-in clock
- Other fixes and changes
Schedule command execution
In E-Robot you can use the Alarm event to execute a command at a specified time. You had to set start time manually in previous versions. Now from this version when parameter of this event could be an expression, for example a variable with timestamp value.
Let’s imagine you want to play a sound right after one hour of turning gps on maybe for remembering turn it off it not needed:
- Create a PlaySound command with an Alarm event, where when parameter is set to Variable value with name PlaySoundTime.
- Add a Play sound action to this command to play a sound file.
- Create a GpsOn command with an event to detect GPS turned on.
- Add a Set variable action to this command to set PlaySoundTime variable.
- The value of this variable will be the new Increase timestamp expression. Set timestamp parameter to Timestamp expression to get current time and set hours parameter to 1 to increase current time by 1 hour.
- After that all we need to do is to add Reinit robot command action to reinitialize Alarm event of PlaySound command
Locations without continuous detection
In previous versions if you used location-based events like Enter location then continuous gps or cell detection were active depending on your location settings.
From this version it is possible to disable automatic detection for these kind of events and use Update location action even for cells to force location detection only once and try to determine where you are. So now you can control when and how location detection is needed.
For example if you want cell-based detection but only when you turn screen on to save power you create a command with Screen turned on event and add an Update location action to this command by selecting cells. It will use current cell information to determine in which location you are and triggers location-based events if location changes.
Is there a way to clear a notification created by another app?
For example, I want to suppress a notification from Android Tuner about success of a scheduled cleanup (Android Tuner does not an option to customize notifications). I can detect it with E-Robot, but can I auto-clear it?
Hi,
I sent you a dev version with this feature.
Another question I had: Is it possible to have an event on clipboard contents?
For example, open GMail app if clipboard contains text “!!!GMail”?
And an other one with this feature too.
Both features work perfectly.
Thanks!