Linux commands

Tuesday, April 3, 2012

Reboot android phone by setting system property

//rebooting by setting android propertyAfter setting this property phone will reboot after 10 seconds(time defined in init.rc)

property_set("sys.reboot","1");

No comments:

Post a Comment