title: onBackPressed not close Current Activity In Android
body: <p>I created an app for playing videos. It works fine but the problem is - when I  press the back button on the device the Activity is not closing. The video is playing in the Background. I am using <code>onBackpressed()</code>. How to close the current activity?</p>