Android App 调用自带浏览器: 简单的一个功能点,像桌面快捷方式一样,调用浏览器打开一个网页。 package com.fan.test; import java.util.Timer; import java.util.TimerTask; import android.app.Activity; import android.content.Intent; import android.net.Uri; import android.os.Bundle; public class TestActivity extends Activity { /** Called when the activity is first created. */ @Override //执行app时调用浏览器打开 baidu //设定一个定时器,防止不能跳转 public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); final Uri uri = Uri.parse("http://www.baidu.com"); final Intent it = new Intent(Intent.ACTION_VIEW, uri); Timer timer = new Timer(); TimerTask task = new TimerTask() { @Override public void run() { startActivity(it); //执行 } };