Code example for FragmentActivity

Methods: getIntent, onStart

0
 
 
	@Override 
	protected void onStart() { 
		// TODO Auto-generated method stub 
		super.onStart(); 
		Log.i("SmitBrowser","---onStart()");
		String url = getIntent().getStringExtra(OPEN_URL);
		if(url != null){
			webviewFragment.loadHtml(url);
		}else{ 
			webviewFragment.loadHtml("file:///android_asset/game.html");
		} 
		 
	} 
 
    
	@Override 
	protected void onNewIntent(Intent intent) {
		// TODO Auto-generated method stub 
Connect your IDE to all the code out there  Get Codota for Java