2011年8月2日

Android note 2010.08.02 v2

摘要: *Send SMS SmsManager mgr=SmsManager.getDefault();PendingIntent intent=PendingIntent.getBroadcast(TestActivity.this, 0, new Intent(), 0);mgr.sendTextMessage("5556", null, "Hello", intent, null);don't have permission*重写配置setRequestedOrientation(ActivityInfo.SCREEAN_ORIENTATION_ 阅读全文
posted @ 2011-08-02 23:20 林骄 阅读(142) 评论(0) 推荐(0)

2010.08.03 Android note

摘要: *Touch Evnet实验如果回调是按时间触发的,所以不停的进入这个方法,即使event一直是Move@Override public boolean onTouchEvent(MotionEvent event){ super.onTouchEvent(event); view.setText(view.getText()+";"+event.getAction()); return true; } *Notifypublic void Notify(String msg){ NotificationManager manager=(NotificationManage 阅读全文
posted @ 2011-08-02 19:04 林骄 阅读(102) 评论(0) 推荐(0)

Android Note 2010.08.02

摘要: *RelativeLayoutandroid:layout_below="@id/label"android:layout_alignParentRight="true" android:layout_marginLeft="10dip"android:layout_toLeftOf="@id/ok" android:layout_alignTop="@id/ok"*TableLayoutandroid:stretchColumns="1"android:layout_col 阅读全文
posted @ 2011-08-02 00:15 林骄 阅读(277) 评论(0) 推荐(0)