EAP version 1.31.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.31.0-dev

Post by Martin » 24 Apr 2016 17:41

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

User avatar
Philip
Posts: 82
Joined: 08 Jun 2015 19:20
Location: Hampshire, UK

Re: EAP version 1.31.0-dev

Post by Philip » 24 Apr 2016 19:46

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.
--
Philip

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

Re: EAP version 1.31.0-dev

Post by Martin » 25 Apr 2016 18:52

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

lueq
Posts: 25
Joined: 06 Feb 2016 00:15

Re: EAP version 1.31.0-dev

Post by lueq » 26 Apr 2016 03:21

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!

lchiocca
Posts: 69
Joined: 15 Aug 2013 10:11

Re: EAP version 1.31.0-dev

Post by lchiocca » 26 Apr 2016 08:21

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 ;)

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

Re: EAP version 1.31.0-dev

Post by Martin » 26 Apr 2016 18:59

@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.

lchiocca
Posts: 69
Joined: 15 Aug 2013 10:11

Re: EAP version 1.31.0-dev

Post by lchiocca » 27 Apr 2016 07:26

@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 ;)

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

Re: EAP version 1.31.0-dev

Post by Martin » 02 May 2016 20:17

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

User avatar
schuster666
Posts: 52
Joined: 13 Nov 2013 14:03
Location: Germany / Neuss

Re: EAP version 1.31.0-dev

Post by schuster666 » 03 May 2016 18:08

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

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

Re: EAP version 1.31.0-dev

Post by Martin » 03 May 2016 19:29

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

Locked