1.
AudioManager am = Context.getSystemService(Context.AUDIO_SERVICE)
am.isMicrophoneMute()
But I don't know how to do it using NDK (and no one seems to know).
AudioManager documentation
2.
No you can't.
And that is a security decision. As @AndiJay said, malicious programs could then be used.