EAP version 1.24.0-dev

Forum to discuss everything related to the current development build of Automagic.

Moderator: Martin

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

EAP version 1.24.0-dev

Post by Martin » 28 Jun 2014 12:05

This forum is used to give interested users access to the next version of Automagic currently in development.
The early access version is only lightly tested and might still contain serious bugs. The quality of EAP versions can at times be even way below usual beta standards.

:arrow: Use at your own risk!
:arrow: Ensure to create a backup before you install an EAP version.

Important:
  • The EAP version will replace the Google Play version of Automagic on your device. Flows opened, saved and created with the EAP version will usually not be compatible with old versions of Automagic so it is highly recommended to create a backup of your flows, widgets and variables before you start using the EAP version (create a backup of the folder /<sdcard>/Automagic)
  • Unknown sources needs to be enabled in the settings of Android to install the EAP version.
  • Please report bugs and problems found in the EAP version in the EAP forum or by mail to info@automagic4android.com
  • :!: Don't share flows created using the EAP version in the regular flow sharing area since users of the released Automagic version will not be able to use the new triggers, conditions and actions. Feel free to share flows in the EAP forum.
  • The EAP version only works for about 2 weeks. Please install a new EAP version when the old one expires or install the released version available in Google Play.
Changes
1.24.0-dev (2014-09-11)
  • new trigger WiFi Tethering State *
  • new condition Battery Level BLE (Experimental)
  • new action Set Immersive Mode *
  • new action Delete App Cache **
  • new action Init Variables Media Metadata
  • new action Set Live Wallpaper **
  • new action Init Variables Network Traffic
  • new action Delete Flows
  • fixes some root issues on Android L developer preview
  • added possibility to add Android Wear actions in action Notification on Statusbar. Android Wear actions allow to specify a list of input values and/or voice input that can be processed in Automagic in variable input_value.
  • added new notification icons in action Notification on Statusbar
  • actions Execute Flows, Export Flows/Widgets, Set Flow State, Stop Flows check that at least one flow exists per defined pattern to catch typos and renamed flows
  • notification triggers/conditions provide additional variables notification_when, notification_ticker_text and notification_large_icon when available
  • added hint to condition App Task Running that the condition will not work anymore starting with Android L
  • untangled sound type and playback audio stream in action Sound, sound is stopped when flow is stopped and option Wait for sound to finish is checked
  • added support to play arbitrary sound files to action Sound
  • script editor checks if accessed variables/functions are available
  • added option to execute trigger Periodic Timer at fixed times/anchored at midnight/at From when limited time range is used
  • added option to show only a circular part of an image on a custom widget
  • added option to specify which event should be filled into variables in condition Calendar Event when multiple events match
  • added support for Glob patterns to trigger NFC Tag when existing tags are used
  • added option to specify a title, the back button behavior and the labels of the yes/no button in condition Confirmation Dialog
  • added script function getExternalStorageDir to get the absolute path to the primary external storage of the device
  • added script function shuffleList to randomly shuffle the elements of the list
  • added script function convertNull to get the value of a variable or a default value when the variable contains null
  • added script function getFlowNamesByGroup to get the list of flows in a group
  • added script function getFlowGroupNames to get the list of flow groups
  • minor enhancements and bug fixes
* This function is not officially supported by Android and might not work on all devices.
** This function requires root access, is not officially supported by Android and might not work on all devices.

:!: Ensure to create a backup before you install an EAP version.
Download: Automagic.apk (updated 2014-09-11)

Regards,
Martin

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: EAP version 1.24.0-dev

Post by Martin » 08 Jul 2014 09:22

A new EAP version is available.

Changes in this update:
  • new action Delete App Cache **
  • triggers App Task Started/Ended and Activity Started/Ended preliminary use the accessibility features as a workaround on Android L
  • added hint to condition App Task Running that the condition will not work anymore starting with Android L
  • added more contacts related examples to action Start Activity
  • added option Extract crop center to widget image elements to extract the largest possible part that fits into the defined area without changing the aspect ratio
  • minor changes and fixes
Download: Automagic.apk (updated 2014-07-08)

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: EAP version 1.24.0-dev

Post by Martin » 12 Jul 2014 11:01

A new EAP version is available.

Changes in this update:
  • added option to execute trigger Periodic Timer at fixed times/anchored at midnight/at 'From' when limited time range is used
  • added option to show only a circular part of an image on a custom widget
  • added function getExternalStorageDir to get the absolute path to the primary external storage of the device
  • improved suggestions for misspelled variables and functions when editing inline scripts or regular scripts
  • minor changes and fixes
Download: Automagic.apk (updated 2014-07-12)

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: EAP version 1.24.0-dev

Post by Martin » 15 Jul 2014 19:34

A new EAP version is available.

Changes in this update:
  • new action Init Variables Media Metadata to read title, album etc. from media files (Android 2.3.3+)
  • untangled sound type and playback audio stream in action Sound, sound is stopped when flow is stopped and option Wait for sound to finish is checked
  • added support to play arbitrary sound files to action Sound
  • added function shuffleList to randomly shuffle the elements of a list
  • minor changes and fixes
Download: Automagic.apk (updated 2014-07-15)

User avatar
bichlepa
Posts: 148
Joined: 04 Mar 2014 18:29
Location: Germany
Contact:

Re: EAP version 1.24.0-dev

Post by bichlepa » 17 Jul 2014 16:59

You are answering my wishes! Thanks!
I've integrated the "Init Variables Media Metadata" action to my big "Podcasts in car" flow it works! I'm also about to integrate the "getExternalStorageDir" function. So the publication of my flow will be much easier.

The action "Sound" is not yet useful for this flow since I need the ability to pause and resume playback. But it's not a big issue.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: EAP version 1.24.0-dev

Post by Martin » 17 Jul 2014 19:40

Great, thanks for testing!
Adding pause/resume/getCurrentPosition/seekToPosition should be possible, I will add this to the todo-list since it would allow to build some interesting flows :-)

ZSasha
Posts: 103
Joined: 11 Oct 2013 03:48

Re: EAP version 1.24.0-dev

Post by ZSasha » 17 Jul 2014 21:39

Martin,
could you please also add an option where to send a sound to.
Like "main speaker", "headphones", "bluetooth", etc.. if possible.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: EAP version 1.24.0-dev

Post by Martin » 18 Jul 2014 09:29

ZSasha,

To my knowledge Android does not allow third party apps to control where a sound is played. Android usually plays sound of the media stream automatically on connected BT devices or headsets when connected. You could try to play the sound on a different stream like the alarm or notification stream and see if your device plays the sound on the main speaker as well in this case.

Regards,
Martin

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: EAP version 1.24.0-dev

Post by Martin » 21 Jul 2014 18:44

A new EAP version is available.

Changes in this update:
  • resolved incompatibility problem with the latest version of Gleeo Time Tracker when exporting data (also fixed in rolled out update to 1.23)
  • added option local only to action Notification on Statusbar to prevent that a notification is displayed on a paired Android Wear device
  • added variable support for the notification id in action Notification on Statusbar and Remove Notification on Statusbar
  • fixed that action Sound sometimes prematurely stopped the sound when played over bluetooth
  • minor changes and fixes
Download: Automagic.apk (updated 2014-07-21)

User avatar
kintrupf
Posts: 257
Joined: 10 Sep 2013 08:59

Re: EAP version 1.24.0-dev

Post by kintrupf » 22 Jul 2014 12:16

Martin wrote: * added variable support for the notification id in action Notification on Statusbar and Remove Notification on Statusbar
Could you also add variable support to the trigger Notification on Statusbar Selected?
I can work around it by selecting "All" in the trigger and adding an Expression-condition to check the variable, but it would be nice to avoid that :D

The benefit would be to store the notification ID in a global variable which is used in the statusbar trigger and both statusbar actions.
If a group of flows is imported only that global variable needs to be changed (useful if a notification ID is already used in another set of flows).

BTW, could you add a list of used notification IDs in the "Maintenance" screen? It's hard to keep track of them all if the number of flows grows... ;)

Locked