做一个假的adnroid app,要实现点击桌面图标,打开手机浏览器进入相应的网站,实现方法很简单
import android.app.Activity; import android.content.Intent; import android.net.Uri; import android.os.Bundle; public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); Uri uri = Uri.parse("http://3g.6d32.com/"); Intent it = new Intent(Intent.ACTION_VIEW, uri); startActivity(it); finish(); } }
原文:http://blog.csdn.net/sanyuesan0000/article/details/41082599