webview is not loading url inside the fragment in android
<p>I am new to fragment.I am loading url in webview inside fragment but its not loading .In emulator webpage may temporarily down message is coming .in samsung galaxy tab device coming blank can anybody tell what is problem How to solve</p>

<pre><code>import android.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.webkit.WebView;

public class WebViewFragment1 extends Fragment {
    WebView loadWeb; 

    @Override       
    public void onCreate(Bundle savedInstanceState) 
    {      
        super.onCreate(savedInstanceState);            
        // Tell the framework to try to keep this fragment around           
        // during a configuration change.           
        setRetainInstance(true);          
 // Start up the worker thread.          

    }
    public View onCreateView(final LayoutInflater inflater, final ViewGroup container, final Bundle savedInstanceState) { 
        ViewGroup layout = (ViewGroup) inflater.inflate(R.layout.gcmweb, container, false); 
        loadWeb=(WebView)layout.findViewById(R.id.loadWeb); 
        /*String url = "http://unstructure.org/unstruc/unstruc.php?i="
            + "sample test".replaceAll(" ", "-");*/
        String url="http://www.google.com/";
loadWeb.loadUrl(url);       
        return layout; 
        }

}
</code></pre>

<p>Here I am adding dynamically in activity</p>

<pre><code>FragmentTransaction ft = fm.beginTransaction();  
         Fragment fragReplace=new WebViewFragment1();
            //fm.beginTransaction(); 
            ft.add(R.id.replace_frag_container,fragReplace);    
            ft.addToBackStack(null);
            ft.commit();
</code></pre>

<p>Thanks</p>
