Can i switch off my cell phone using java code??? If so plz explain me the procedure... (I would really appreciate it) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can i switch off my cell phone using java code??? If so plz explain me the procedure... (I would really appreciate it)

2nd May 2017, 6:16 PM
Mohammed Arshad
Mohammed Arshad  - avatar
6 Answers
+ 1
not under normal circumstances. take a look at this thread http://stackoverflow.com/questions/3745523/programmatically-switching-off-android-phone
2nd May 2017, 6:20 PM
Drauchris
Drauchris - avatar
+ 1
depends. google it then you will find the option for turning on debug mode. i think you have to tap something a couple of times
2nd May 2017, 7:37 PM
Drauchris
Drauchris - avatar
0
How do i run the program in cell phone??? I coded in eclipse...
2nd May 2017, 6:30 PM
Mohammed Arshad
Mohammed Arshad  - avatar
0
well. i am not familiar with eclipse. but in andriod studio you would just press the compile button and the program runs on your phone
2nd May 2017, 6:34 PM
Drauchris
Drauchris - avatar
0
Were do i get the compile option on android phone???
2nd May 2017, 6:35 PM
Mohammed Arshad
Mohammed Arshad  - avatar
0
Can I switch on my phone with java code
23rd Jun 2020, 8:41 AM
Pk Vaishnav
Pk Vaishnav - avatar