- 博客(7)
- 资源 (1)
- 收藏
- 关注
原创 开发者日志(2016年01月27日18:31:16):关于android 动画学习
XML动画 android:duration //持续时间 android:fromAlpha //从xxx开始 android:toAlpha //到xxx结束 android:pivotX //位置<!--透明动画--> <alpha android:duration="5000" android:fromAlpha="0.1"
2016-01-27 18:54:30 289
原创 开发者日志(2016年01月24日20:41:45):关于android AsyncTask学习
AsyncTask@Override protected Void doInBackground(Void... params) { //必须重写,异步执行后台线程将要完成的任务 Log.i("tag", "doInBackground"); publishProgress(); return null; }
2016-01-24 21:09:46 280
原创 开发者日志(2016年01月24日17:47:27):关于Android BaseAdapter
开发者日志(2016年01月24日17:47:27):关于Android BaseAdapterBaseAdapter就Android应用程序中经常用到的基础数据适配器,它的主要用途是将一组数据传到像ListView、Spinner、Gallery及GridView等UI显示组件,它是继承自接口类Adapter。MainActivity.classpublic class MainActivity
2016-01-24 18:07:28 292
原创 Java学习笔记:JNI的使用(2016年1月13日14:21:45)
Java学习笔记:JNI的使用(2016年1月13日14:21:45)Jni(Java Native Interface)是java通过dll文件调用c/c++语言的方法。 以下为引用他人图片: public static native void hello();首先,在java里声明native类,类似与抽象类。 !注: 有static时候,在生成的.h头文件中是jclass,没有sta
2016-01-13 14:44:08 274
转载 android Bundle学习(2016年01月07日12:58:36):
Bundle 中文翻译为“捆”,意思是把某个变量一并捆起来作为一个对象。发送端:Intent intent=new Intent(MainActivity.this,Bundle2.class); Bundle bundle=new Bundle(); bundle.putString("Data","this is bundle");
2016-01-07 13:01:45 198
转载 开发者日记(2016年01月07日11:52:28):关于android 广播的学习:
开发者日记(2016年01月07日11:52:28):关于android 广播的学习:普通广播:Intent intent = new Intent(); intent.putExtra("msg", "这是一条普通广播"); intent.putExtra("msg2", "这是一条普通广播2"); i
2016-01-07 12:13:07 199
转载 开发者日记(2016年01月06日17:39:15):关于android bluetooth 学习:
开发者日记(2016年01月06日17:39:15):关于android bluetooth 学习:BluetoothAdapter bluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); if (bluetoothAdapter == null)//判断是否有蓝牙设备 {
2016-01-06 17:55:49 230
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人