Hi Martin,
I have been using Automagic for the last 2 years and I am very happy with it!
Recently I bought Samsung Gear S2 and wanted to integrate it in my automation toolbox (phone, PC, watch). Unfortunately there is no S2 plugin for Automagic and I had to revert back to using Tasker because there is an app (TaskS2) which integrates the Gear S2 with Tasker. Do you have plans to introduce support for the Gear S2?
Also, there is something that I like in Tasker and this is the ability to directly use Java objects and functions. I think it would be great if Automagic supports this as well => will make it even more powerful than Tasker (IMHO). Do you have plans for this as well?
Thanks.
Support for Java functions and Gear S2
Moderator: Martin
Re: Support for Java functions and Gear S2
Hi,
Thanks, I'm glad you like Automagic!
I have no plans to create a Gear companion app in the foreseeable future since my todo-list already extremely long. You could contact the developer of TaskS2 and ask to create a regular plugin. This would have the advantage that it also works in other automation tools.
Executing Java-functions is not planned yet but it's something I can add to the todo-list since it would allow to create a few interesting things for developers and advanced users. I'm curious, why are you asking for this feature? Is there something in particular that is missing in Automagic that you would implement with this feature?
Regards,
Martin
Thanks, I'm glad you like Automagic!
I have no plans to create a Gear companion app in the foreseeable future since my todo-list already extremely long. You could contact the developer of TaskS2 and ask to create a regular plugin. This would have the advantage that it also works in other automation tools.
Executing Java-functions is not planned yet but it's something I can add to the todo-list since it would allow to create a few interesting things for developers and advanced users. I'm curious, why are you asking for this feature? Is there something in particular that is missing in Automagic that you would implement with this feature?
Regards,
Martin
Re: Support for Java functions and Gear S2
Hi Martin,
Thanks for replying.
I will then contact the developer of TaskS2 for the plug-in.
On the Java topic: I have a Galaxy S6 and need to be able to mute the ringer. This is not possible with the Set Ringer Mode:Silent because it also silences notifications and system sounds, e.g. simply puts the phone in silent mode and I do not want that. I want to silence only the ringer. That is why (in Tasker) I am using the setStreamMute() method of AudioManager and this mutes ONLY the ringer stream.
I also want to use Java for getting the current date and to format it in ISO format. I am currently doing this with Tasker Variable Split but this is ugly because it depends on the format in which Tasker returns the date.
I am sure Java can also be used to overcome some other missing functions or broken plug-ins (like Secure Settings which does not work very well lately)
Best regards
Thanks for replying.
I will then contact the developer of TaskS2 for the plug-in.
On the Java topic: I have a Galaxy S6 and need to be able to mute the ringer. This is not possible with the Set Ringer Mode:Silent because it also silences notifications and system sounds, e.g. simply puts the phone in silent mode and I do not want that. I want to silence only the ringer. That is why (in Tasker) I am using the setStreamMute() method of AudioManager and this mutes ONLY the ringer stream.
I also want to use Java for getting the current date and to format it in ISO format. I am currently doing this with Tasker Variable Split but this is ugly because it depends on the format in which Tasker returns the date.
I am sure Java can also be used to overcome some other missing functions or broken plug-ins (like Secure Settings which does not work very well lately)
Best regards
Re: Support for Java functions and Gear S2
I'll add the feature to mute streams in the next version since it sounds useful and I'm extending the action Set Audio Volume for the next version anyway but I see that calling functions of system services could be very useful. I raise the priority of the java-feature a bit since it's so flexible. It will likely be restricted in some ways like not allowing to implement interfaces for callbacks or to extend classes etc.
Formatting dates should not be an issue in Automagic since it supports date patterns: {triggertime,dateformat,yyyy-MM-dd}
Regards,
Martin
Formatting dates should not be an issue in Automagic since it supports date patterns: {triggertime,dateformat,yyyy-MM-dd}
Regards,
Martin
Re: Support for Java functions and Gear S2
Hi Martin
thank you very much for both extending the Set Audio Volume action and for raising the priority of the Java feature!
You are right, it is very flexible and it indeed does not need to be complex - the way Tasker implements it is just fine - being able to call static methods on classes and normal methods on objects.
best regards
Drago
thank you very much for both extending the Set Audio Volume action and for raising the priority of the Java feature!
You are right, it is very flexible and it indeed does not need to be complex - the way Tasker implements it is just fine - being able to call static methods on classes and normal methods on objects.
best regards
Drago
Re: Support for Java functions and Gear S2
I will likely add the Java-feature in the next EAP build. Would be great if anyone interested in this feature could give it a shot once it's available.
BTW: this was my 3000th post
BTW: this was my 3000th post
