Turn on/off Android with Unity

I am developing an application with Unity running on Android. I have several Tablets with this application installed and placed in different locations of a huge room.

I dont expect the adminstrator to work around this huge room and turn on each tablets one by one in the morning, and turn them off in the evening everday. Instead, I have them connected to a PC server with wifi.

I am not sure if I can turn them on/off by sending command from the server to each tablet. Is it possible? Thanks.

2 Answers

2

No consumer ever wants your app to shut off their device, ever, so no, it isn’t.

Quick search revealed this, though: Power-Off or Restart an android device via Code/Program? - Stack Overflow

I will take a look first, thanks

By default unity is not supporting either power on or off the device remotely over wifi or connected with data cables so all you need to do is do it by native coding and for that you have to research for your self … you can also try to search the link given by @Loius … and one more thing once you have done that in native coding you can translate it in unity plugin for directly using it in future…

Don’t forget to mark the answer if found useful…cheers from INDIA…