I want to execute adb commands like adb backup -noapk com.your.packagename
directly in my android app.
How can I do it? Is it possible or do I have to use an Android API?
I want to write an Android app using Java and be able to run it as if I had a terminal with adb in it.