摘要:
a、Activity1发送: Intent intent = new Intent();intent.setClass(activity1.this, activity2.class);//描述起点和目标Bundle bundle = new Bundle();//创建Bundle对象bundle... 阅读全文
摘要:
1 Intent intent = new Intent(Intent.ACTION_VIEW);2 intent.setData(Uri.parse("geo:20.000,50.000"));3 startActivity(... 阅读全文
摘要:
java中: 1 public class MainActivity extends Activity implements OnCheckedChangeListener{ 2 3 private Switch aSwitch; 4 5 @Override 6 prot... 阅读全文
摘要:
1 InputMethodManager imm = (InputMethodManager)getSystemService(INPUT_METHOD_SERVICE);//这两行是弹出软键盘2 imm.showSoftInput(textView,... 阅读全文