permaculture playing cards*
The moose likes Java Micro Edition and the fly likes shut down phone? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "shut down phone?" Watch "shut down phone?" New topic
Author

shut down phone?

Sam lx
Greenhorn

Joined: Nov 05, 2004
Posts: 19
Is is possible to shut down a cell phone using program?
I mean in the midlet, can I shut down phones, for example
Motorola cell phones.

Thanks very much, any suggestion and information is appreciated.
Ney Sams
Greenhorn

Joined: Oct 22, 2004
Posts: 14
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

Midlets are run in a "sandbox" and is denied any access to that kind of phone functionality.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Sam lx
Greenhorn

Joined: Nov 05, 2004
Posts: 19
OK, I see.
I wonder if there are some specific phones that have the ablitiy
to enable this, have anybody used such functionality? I just wonder.

Thanks for your information.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

Originally posted by Sam lx:
OK, I see.
I wonder if there are some specific phones that have the ablitiy
to enable this, have anybody used such functionality? I just wonder.

Thanks for your information.


If they did, then they wouldn't be J2ME phones. You see in order for a phone to be cldc/midp compliant, it must run in the sandbox and not be allowed to the internal parts of the phone, like turning it on and off. That would allow bad people to make phones stop working, and break security.

Mark
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

That would allow bad people to make phones stop working, and break security.


...and that would allow people to start calling it "Windows".


A good workman is known by his tools.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: shut down phone?
 
Similar Threads
PDA Vs. GSM
For a cell phone as well
Obtain CellID
Fanaa
Mobile Advice...