Audio Control

I am trying to mute the phone for specific period of time through the ionic app. I am an android developer and i can do this in android. Is there anyway to import the project into android Studio and add that feature?