1
你好 嗯,我是非常基本的Java,这里是我的Java代码关于我的活动类,我不能在webview中添加进度条,请帮我在我的代码 Here我的Java代码:在WebView的Tab主机上添加进度条
import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebView;
import android.widget.Toast;
//Set Activity Irancell:
public class Irancell extends Activity {
WebView Irancell_Charge;
//Start App Code at here:
@Override
// Set iCicle:
public void onCreate(Bundle icicle) {
super.onCreate(icicle);
//Load Irancel Buy Creadit Page:
Irancell_Charge=new WebView(this);
setContentView(Irancell_Charge);
Irancell_Charge.getSettings().setJavaScriptEnabled(true);
Irancell_Charge.loadUrl("http://www.echarge.ir/Templates/irancellshop/m/");
//Text Label:
Toast
.makeText(this, "MTN Irancell Recharge Cards...", Toast.LENGTH_LONG)
.show();
}
}
谢谢...