Code example for ActionBarActivity

Methods: startActivity

0
    		status2.setText("Page Retrieved");
            initial.setVisibility(View.GONE);
            Intent home = new Intent (YouthEpisode.this, Home.class);
            home.putExtra("com.YouthEpisode.Home.result", result);
            home.putExtra("com.YouthEpisode.Home.pgno", pgno);
            startActivity (home);
    	} 
 
		@Override 
		protected String doInBackground(String... urls) {
			try { 
				return downloadUrl(urls[0]);
			}	catch (IOException e)	{
				return e.getMessage();
			} 
		}	 
		 
		private String downloadUrl(String myurl) throws IOException {    
		    try {