MacroDroidHelper version check

Mcrazy

Member
Hi all,

I know that the MacroDroidHelper is not updated often, but some people are still missing out because they rarely visit the forum. For them I have created the following macro.
The macro runs every morning at 9:00 am and checks if a newer version is available. If it is, it will offer you a download.
The check is only completed when the download is done.
If there is no download, the check will run again the next day and the recommendation will be sent.

The checker does not check the version on the phone, but whether a newer version is available on the developer's website compared to the previous checked version.

Enjoy!

MDHelper version checker
 

Mcrazy

Member
If 10,000 people downloaded this macro and accessed it at the same time, it might be no different than a server attack.
Thank you for your comment!
What do you recommend to prevent this from happening?
Should I insert a random delay?
 

hsurB

Well-known member
Thank you for your comment!
What do you recommend to prevent this from happening?
Should I insert a random delay?

You could start actions with set integer variable - random value (min 1, max - whatever) and follow up with wait before next action - integer variable from previous action to randomize the moment when the rest of actions will be performed but realistically I don't think that many people will use that for now 😅 But @Dimlos is right obviously
 

Mcrazy

Member
You could start actions with set integer variable - random value (min 1, max - whatever) and follow up with wait before next action - integer variable from previous action to randomize the moment when the rest of actions will be performed but realistically I don't think that many people will use that for now 😅 But @Dimlos is right obviously
Yes, I've set a random wait between 10 and 15sec
 

Mcrazy

Member
You could start actions with set integer variable - random value (min 1, max - whatever) and follow up with wait before next action - integer variable from previous action to randomize the moment when the rest of actions will be performed but realistically I don't think that many people will use that for now 😅 But @Dimlos is right obviously
Otherwise, the macro will not run at the same time for everyone, because many people will reset the time or have their phone locked and the download will only start when it is unlocked.
 

Dimlos

Well-known member
I think the higher the amplitude the safer it is because of network access latency.
I don't think this will be a real problem, but it is something to consider when posting.
 

Mcrazy

Member
I think the higher the amplitude the safer it is because of network access latency.
I don't think this will be a real problem, but it is something to consider when submitting.
I agree. I have already changed the macro.
Thanks for bringing it to my attention, as I had not thought of this potential problem.
 

Pseudocyclic

Well-known member
Hi all,

I know that the MacroDroidHelper is not updated often, but some people are still missing out because they rarely visit the forum. For them I have created the following macro.
The macro runs every morning at 9:00 am and checks if a newer version is available. If it is, it will offer you a download.
The check is only completed when the download is done.
If there is no download, the check will run again the next day and the recommendation will be sent.

The checker does not check the version on the phone, but whether a newer version is available on the developer's website compared to the previous checked version.

Enjoy!

MDHelper version checker
Can I access this macro without having to download it from a third party?
 
Top