EDIT - FOUND A EASY 5-10 LINE SOLUTION!!! See MY OWN ANSWER BELOW!!! YAY!!!!!!!!!
I\'ve searched for 5 hours, dozens of SO posts, no answers, and this seems like t
Why don't you just make a button to stop the music its so much easier and you don't have to force close everytime
Button exit =(Button) findViewById(R.id.exit);
exit.setOnClickListener(new View.OnClickListener() {
public void onClick(View v)
{
// TODO: Implement this method
startActivity(new Intent("com.justme.worldexplorer.EXIT"));
finish();
Music I'd.stop();}});}
There you go and so the key hardware button back dosent leave if you press by accident
public boolean onKeyDown(int KeyCode,KeyEvent event){
return false;
}
And that's it set it up in the manifest and run if any problems let me know