You are missing to set the player’s Source path to play music.
Check for auto-start permission, try enabling that.
How can i enable it
Try with resolve activity block that will redirect to that permission.
Tasks 3.8
- Bug fixes:
Fixed the function bug where the app would crash while invoking functions sometimes rarely, with components like Location sensor Etc.
Extension
com.kumaraswamy.tasks.aix (469.0 KB)
Been working on a new system for some days, that could be used as an alternative way of things (comparing things!)
This would follow the nested node system to do things, and then it would be possible to read them.
A simple comparison(for explanation) of two numbers like 123 = 321
would break down to the following tree
A node can itself contain a parent node like the “and” or “or” operator.
I thought to present this design and I welcome thoughts on this
It very nice and it will make more comfortable to use
Hi there, I’m new to the extension so still learning. I’m trying to store the value of the firebase TagList result in a variable so i can then run some tests on it but cant get the result into the variable. Would appreciate some guidance please.
In the attached picture of blocks, When the TagList event triggers the Notify Block reports the desired result using {%0}. I’d like to store the result of %0 in the variable “SomeVar” however using “invoke:result” returns a empty string, using “invoke:result:length” or “invoke:result:empty” returns “-1”
how do i go about storing the result of a event in a var please ?
note: Notify2 block is for testing purposes so i can see what the var result is :). Appreciate any guidance thanks
I don’t think it’s the problem anymorere, the problem is with the extension or blocks you are using.
Edit:
I just noticed that function name “SimpleNotification” instead it is “Simple_Notification”. Please correct them and all accordingly.
Edit 2:
I also see for the extra function, you have put the value “show-notification”, replace it instead like “true :: function(show-notification)” with minimum 1 spacing.
You have not used the separator, so the extension will throw an Exception and it will crash.
Thanks for taking time for understanding, you need to create a “extra function”, then you will have to insert the simple java code SomeVar = val0
Val0 is the first element of the event, you can change it accordingly.
Seems pretty awesome , keep it up
Thanks for kind attention,correction and solving instruction … next I will try to recover… and i will report back…
Can we excute this function using background tasks ? @Kumaraswamy
Function -:
When someone click on background task notification , google speech recognition box comes and recoginize the text and I have a dicnatory json url and web will launch
Web url = Json url + recoginedtext
And when web got text text to speech speaks the message
Please show the code for it and send me on pm
No please try that yourself, from now on, I will not be personally helping anyone for maybe “mostly” doable things.
I Start from the scratch just made notification appear without waiting any data from outside and your Extension worked well even I didn’t use a SimpleNotifiaction… see picture bellow
Next I put Few Block to connect to my mqtt Server… and also worked. My server Identified the connection.
Next I put Block to register the Event , with eventName Message_Received
as per method of mqtt extension Message Hanlder.
and The Result
Could You please show me My mistake??.. Thanks
Hi, that’s really great.
You have mistaken a little bit, the counting of numbers for events starts with 0
like {%0}
and never {%1}
.
And the next problem is in the event name you have put Message_Received
. So you should remove the underscore like this MessageReceived
.
ok I will triying again …