Code example for ActionBarActivity

Methods: onPause

0
		MobclickAgent.onResume(this);
	} 
 
	@Override 
	protected void onPause() { 
		super.onPause(); 
		MobclickAgent.onPause(mContext);
	} 
 
	public class AddToDBThread extends Thread {
		private JSONArray mVideos;
		private Boolean mReoveAllWithoutFav;
 
		public AddToDBThread(JSONArray videos, boolean removeAllWithoutFav) {
			mVideos = videos;
			mReoveAllWithoutFav = removeAllWithoutFav;
		} 
 
		@Override 
		public void run() { 
			super.run();