http://source.android.com/source/downloading.html1.下载repo官网:curl
http://commondatastorage.googleapis.com/git-repo-downloads/repo >
~/bin/repo目前我啥下载不了。...
分类:
移动开发 时间:
2014-05-09 12:31:27
阅读次数:
397
在Android中,Activity主要负责前台页面的展示,Service主要负责需要长期运行的任务,所以在我们实际开发中,就会常常遇到Activity与Service之间的通信,我们一般在Activity中启动后台Service,通过Intent来启动,Intent中我们可以传递数据给Servic...
分类:
移动开发 时间:
2014-05-09 12:15:23
阅读次数:
467
1、armeabi
armeabi是指的该so库用于Arm的通用CPU。2、armeabi-v7a v7a的CPU支持硬件浮点运算。3、共同点
armeabi和armeabi-v7a是表示cpu的类型。4、不同点 因此armeabi通用性强,但速度慢,而v7a能充分发挥v7a
CPU的能力。arme...
分类:
其他好文 时间:
2014-05-09 11:56:52
阅读次数:
580
在android开发中经常会使用异步请求数据,通常会使用handler或者AsyncTask去做,handler 配合message
使用起来比较麻烦,AsyncTask 线程池只允许128个线程工作,会有溢出的问题,(当然一般情况不会有那么多线程同时工作的)所以写了这个代码,还望高手指正!
[Ja...
分类:
移动开发 时间:
2014-05-09 11:28:18
阅读次数:
433
在用Android测试JSON数据解析的时候,报了这样一个异常:java.net.ConnectException:
localhost/127.0.0.1:8080 - Connection refused原来模拟器默认把localhost或者127.0.0.1当做本身了
在网上查了下,在模拟器上...
分类:
移动开发 时间:
2014-05-09 11:21:25
阅读次数:
485
----------------------
ASP.Net+Android+IOS开发、.Net培训、期待与您交流!
----------------------java数据类型Java语言是强类型语言,对于每一种数据都定义了明确的具体数据类型,在内存总分配了不同大小的内存空间。包括如下两大类数据...
分类:
其他好文 时间:
2014-05-09 11:18:40
阅读次数:
329
http://www.360doc.com/content/11/1214/16/59141_172215613.shtml
分类:
移动开发 时间:
2014-05-08 22:22:40
阅读次数:
524
Bitmap用法总结1、Drawable → Bitmappublic static Bitmap
drawableToBitmap(Drawable drawable) {Bitmap bitmap =
Bitmap.createBitmap(drawable.getIntrinsicWidth(...
分类:
移动开发 时间:
2014-05-08 22:10:30
阅读次数:
482
http://www.cnblogs.com/luxiaofeng54/archive/2011/03/14/1984026.html
分类:
移动开发 时间:
2014-05-08 21:47:10
阅读次数:
379
在APK的manifest节点中保证其
android:sharedUserId="hello.miles" 保持一致,名称可以自定义// 创建共享数据的APK
其manifest包名为com.miles.sharedataSharedPreferences sp = Context.getSha....
分类:
其他好文 时间:
2014-05-08 21:44:45
阅读次数:
279