Android笔记

来源:互联网 发布:gartner报告 人工智能 编辑:程序博客网 时间:2024/05/05 17:53

引用资源

程序中 CheckBox checkBox1 = (CheckBox) findViewById(R.id.checkBox1)
XML    @drawable/iocn


activity
service
broadcast receivers
content providers


AndroidManifest.xml
定义程序的java包
组建实例化


protected void onCreate(Bundle saveInstanceState)
protected void onStart()
protected void onResume()
protected void onPause
protected void onStop
protected void onRestart
protected void onDestory


应用程序之间的通信
可以认为intent是一种对操作的抽象


调用webservice(基于soap协议的远程的远程调用标准)


第三方SDK  KSOAP
code.google.com/p/ksoap2-android/download/list


OpenGL (open graphics library)
OpenGl for embedded system


拍照
Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
startActivityForResult(intent,1);

Linux下android手机驱动

sudo vim /etc/udev/rules.d/50-android.rules
SUBSYSTEM=="usb", SYSFS{"High Tech Computer Corp."}=="0bb4", MODE="0c9a"
Bus 002 Device 010: ID 0bb4:0c9a High Tech Computer Corp.
sudo chmod a+rx /etc/udev/rules.d/50-android.rules
Restart

sudo /etc/init.d/udev restart
sudo adb kill-server
sudo adb devices


米聊  audio:spx  avatar handwritings:jpg  logs





原创粉丝点击