Page 1 of 5

EAP version 1.31.0-dev

Posted: 24 Apr 2016 17:41
by Martin
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.31.0-dev (2016-07-05)
  • requires Android 4+
  • new trigger Media Session Changed (Experimental)
  • new trigger Content Provider Changed
  • new condition Screen Automatic Brightness Enabled
  • new condition Android Wear Device Connected
  • new action Set Restrict Background Data State**
  • new action Update Media Database (Experimental)
  • new action Init Variables Media Session (Experimental)
  • new action Init Variable Package Info
  • extended trigger User Activity with variables to help distinguish between walking and running
  • extended action Post Tweet to send images
  • extended action Set Audio Volume to incrementally change the volume
  • extended Android Wear triggers, conditions and actions to support multiple connected Android Wear watches
  • added experimental support to write files on secondary external storage/SD cards (Android 5+)
  • memory optimizations for custom widgets
  • added visible property to widget elements
  • added option to specify user in action Execute Root Command
  • added select/deselect all in multi-choice dialogs
  • added functions getContentDescription, getTextInActiveWindow and getContentDescriptionInActiveWindow to action Control UI
  • added functions getText, cut, copy, paste to Control UI which work on the focused element
  • extended action Control UI to execute functions on the element with a given ID (Android 4.3+)
  • added new jsonformat for inline scripts to format values to JSON fragments
  • added functions callJavaMethod, getJavaField and setJavaField to directly access the Android API (Experimental)
  • updated to latest version of Google Play services
* 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 (2016-07-05)

Regards,
Martin

Re: EAP version 1.31.0-dev

Posted: 24 Apr 2016 19:46
by Philip
Martin wrote: [*] memory optimizations for custom widgets
Hi Martin

I have just installed the 1.31.0-dev version (and rebooted, just in case), but unfortunately the "Problem loading widget" issue that I mentioned in http://automagic4android.com/forum/view ... 84&p=14144 is still there.

Re: EAP version 1.31.0-dev

Posted: 25 Apr 2016 18:52
by Martin
Did you try to disable the flag Better image quality in Automagic for the widgets? Does Automagic crash when you try to do so?

Could you please enable Debug log and Log to SD card in the preferences of Automagic, reboot the device, wait a few seconds/minutes until the device booted properly. Send the log to me if the Widgets still show the error (menu->Manage->Log, menu->Send Log).

Thanks & Regards,
Martin

Re: EAP version 1.31.0-dev

Posted: 26 Apr 2016 03:21
by lueq
Hi Martin,

do you still plan on adding the additional AquaMail permissions to the EAP version as discussed in this thread:
http://automagic4android.com/forum/view ... f=4&t=5066

So far they don't seem to be there.

Thanks!

Re: EAP version 1.31.0-dev

Posted: 26 Apr 2016 08:21
by lchiocca
As of android 6, there is also a possibility to request permissions dynamically [ContextCompat.checkSelfPermission(thisActivity, ...)]. Instead of adding all the possible permissions in the manifest, would it be possible to add a static list that can be configured and permission requested dynamically? That would allow to add permissions for individual power-users without having to always ask Martin to add them ;)

Re: EAP version 1.31.0-dev

Posted: 26 Apr 2016 18:59
by Martin
@lueg: Thanks for mentioning, will include the permissions in the next build.

@lchiocca: checkSelfPermission only checks if a particular permission has been granted or not but it can not be used to request additional permissions not listed in the manifest. To my knowledge all permissions have to be listed in the manifest: http://developer.android.com/training/p ... sting.html:
If the device is running Android 6.0 or higher, and your app's target SDK is 23 or higher: The app has to list the permissions in the manifest, and it must request each dangerous permission it needs while the app is running. The user can grant or deny each permission, and the app can continue to run with limited capabilities even if the user denies a permission request.

Re: EAP version 1.31.0-dev

Posted: 27 Apr 2016 07:26
by lchiocca
@Martin, you're right. I was looking at that same page yesterday, but complete missed that part. Ah well, back to adding everything into the manifest ;)

Re: EAP version 1.31.0-dev

Posted: 02 May 2016 20:17
by Martin
A new EAP version is available.

Changes in this update:
  • new action Update Media Database (Experimental)
  • new condition Android Wear Device Connected
  • extended action Set Audio Volume to incrementally change the volume
  • added permissions for AquaMail
  • changed some internals for sharing files in preparation for Android N
  • added flow/widget selection dialog when sharing logs
  • added new jsonformat for inline scripts to format values to JSON fragments
  • minor changes and fixes
Download: Automagic.apk (2016-05-02)

Regards,
Martin

Re: EAP version 1.31.0-dev

Posted: 03 May 2016 18:08
by schuster666
hi martin,
hab gerade versucht die eap zu installieren. leider ist das ganze dann nicht lauffähig und wird mit "unerwartet beendet" gekillt.
neustart und neuinstallation brachte keinen erfolg.
samsung note edge mit 5.1.1

bin wieder auf der normalen version und keine probs mehr.

gruß olaf

Re: EAP version 1.31.0-dev

Posted: 03 May 2016 19:29
by Martin
Hi,

Stürzt bereits die Installation ab oder stürzt Automagic erst beim Starten ab? Zeigt Automagic noch einen Crashreport an, den du mir schicken kannst?

Freundliche Grüsse
Martin