🤖Auto NFC/GPS/DATA/BLUETOOTH/TORCH/OTHER

ARME

Active member
1- turns on NFC/gps/data when certain apps are opened, and when closed turn it off (only if it was enabled by this macro)
2- disables Bluetooth/gps when not used after 30 seconds (if u enable them by mistake) (if u always keep Bluetooth/gps active, then disable the action that turns them off after 30sec)
3-enables torch
4-add other things you may need

link to this macro:
https://www.macrodroidlink.com/macrostore?id=17419 (or just search: id=17419)
 

dhj49er

Well-known member
I updated it. Now it's a lot better and automate other things
I not sure I fully understand how to use the macro.
Why are there so many empty trigger and how does the macro know which empty triggered the macro?
Also I browse using say Chrome and data and or WiFi is turned on. I need to check say Amazon app. Am I right in that the macro will turn off data when chrome is in the background and when Amazon app opens turn on data again. Turning off WiFi is fast but connecting to WiFi can take 5 or more seconds.
Although Amazon app is open it has no internet until WiFi or data is connected. I would find that mode of operation very frustrating.
 

ARME

Active member
The empty triggers are for separating triggers categories (data, Bluetooth, GPS, NFC), so I immediately see what the triggers I'm looking at will automate, but you can remove them.
When you close an app, after 30sec if there is no app that use internet in foreground (you have to configure this apps in the "if" action) the data will be turned off.

Yes, this macro has problems but I don't have much time to modify it and test it again. Sometimes it seems that data turns off when it shouldn't, but it's because I'm probably doing some mistakes.

Sometimes it may takes longer than expected to activate data/GPS/NFC, but it's probably not the fault of the macro.
 

dhj49er

Well-known member
The empty triggers are for separating triggers categories (data, Bluetooth, GPS, NFC), so I immediately see what the triggers I'm looking at will automate, but you can remove them.
When you close an app, after 30sec if there is no app that use internet in foreground (you have to configure this apps in the "if" action) the data will be turned off.

Yes, this macro has problems but I don't have much time to modify it and test it again. Sometimes it seems that data turns off when it shouldn't, but it's because I'm probably doing some mistakes.

Sometimes it may takes longer than expected to activate data/GPS/NFC, but it's probably not the fault of the macro.
The phone radios need time to change state.
That might be the reason data is unexpectedly off, especially if many instance of the macro are running.
I find a single macro is too long to use/maintain. I realise that's what you wanted to achieve.
However, having separate macros for each function is my preferred approach and I don't get any unexpected behaviour of the radios.
 

ARME

Active member
I'll try with separate macro as I originally did, but I preferred to fuse them to have an all in one macro, which may be useful especially for those who have the free version
 

dhj49er

Well-known member
A macro needs to work with no unexpected behaviour, otherwise it may put off new users as they think MD doesn't work properly.
 

ARME

Active member
At the beginning it worked with my tests. Maybe I didn't notice the problems. I'll update the description saying it may not work as expected. They should get a notification if I update the macro
 

ARME

Active member
A macro needs to work with no unexpected behaviour, otherwise it may put off new users as they think MD doesn't work properly.
Can you subscribe to the macro ? When I'll change the description I will tell you and you'll tell me if you got the notification or you have a new update in the templates window
 

ARME

Active member

Vaya, parece que la página se ha perdido.​


Busque id=17419
Sin embargo, no funciona correctamente, así que no lo uses. Estoy intentando que funcione, pero como no tengo mucho tiempo no sé cuando se solucionará. Así que por ahora suscríbete a la macro para que cuando actualizo te llega la notificación.
 

ARME

Active member
Me interesa activar NFC en circunstancias concretas y no lo consigo....
Estás de suerte, porque hoy arreglé el NFC.
Si tienes algún problema házmelo saber, pero por favor escribe en inglés.
Hay 2 comentarios en la macro, Ingnóralos
 

Attachments

  • NFC_[WORKING].macro
    8.8 KB · Views: 7

ARME

Active member
Para activar NFC usando mi macro, ve a la sección "variables" y asegúrese de que haya un "Array" que se llama "NFC apps". Si no existe, créelo usted mismo. Si desea activar NFC para "Google wallet" el nombre de la aplicación que necesitas escribir "array" Y "google play services".
 

dhj49er

Well-known member
At the beginning it worked with my tests. Maybe I didn't notice the problems. I'll update the description saying it may not work as expected. They should get a notification if I update the macro
Have you updated the description?

Macro last edited on 12 July, suggests not.

Why don't you remove it until you have resolved all the problems?

That way new users won't be able to use it and experience it not working as expected.
 

ARME

Active member
Have you updated the description?

Macro last edited on 12 July, suggests not.

Why don't you remove it until you have resolved all the problems?

That way new users won't be able to use it and experience it not working as expected.
I said to read the last comment, which says the macro may not work as expected and that I will update it soon or later
 
Top