Without using a Lib you would have to call the OS yourself which means you would have to reference the Android SDK and figure out which method you have to call and then how to put the syntax together to make the call.
This is beyond my skills but others here might know if it can be done that way.