Code example for ActionBarActivity

Methods: finish, onStop

0
    } 
 
    @Override 
	protected void onStop() { 
		// TODO Auto-generated method stub 
		super.onStop(); 
		this.finish();
	} 
 
	@Override 
    public boolean onCreateOptionsMenu(Menu menu) {
        // Inflate the menu; this adds items to the action bar if it is present. 
        getMenuInflater().inflate(R.menu.youth_episode, menu);
        return true; 
    } 
     
    private class DownloadWebPage extends AsyncTask<String, Void, String> {
    	protected void onPostExecute(String result) {
    		int pgno=1;
    		status2.setText("Page Retrieved");
            initial.setVisibility(View.GONE);