- 博客(3)
- 资源 (2)
- 收藏
- 关注
原创 android 调用打电话URI
//叫出拨号程序 <br /> Uri uri = Uri.parse("tel:0800000123"); <br /> Intent it = new Intent(Intent.ACTION_DIAL, uri); <br /> startActivity(it); <br /> <br /> //直接打电话出去 <br /> Uri uri = Uri.parse("tel:0800000123"); <br /> Intent it = new Intent(I
2011-04-11 19:41:00 2492
原创 自定义dialog 占用整个activity
<br /><br />/* 自定义的dialog */<br />publicclass QuitDialog extends Activity implements OnClickListener {<br /> <br /> private Button bt_true, bt_false;<br /> private TextView content;<br /> <br /> @Override<br /> protectedvoid onCreate(Bundle sa
2011-04-08 11:32:00 606
原创 android控制home键 代码
@Override public void onAttachedToWindow() { // TODO Auto-generated method stub this.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD); super.onAttachedToWindow(); } @Override public boolean onKeyDown(int keyCode, KeyEvent ev
2011-04-07 13:57:00 1389
异步更新location源码
2011-03-29
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人