上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 41 下一页
  2015年1月29日
摘要: 本篇文章是对Grow heap (frag case) 堆内存过大的问题进行了详细的分析介绍,需要的朋友参考下对于Android开发者来说虽然使用了可以自动管理内存的Java语言,但是对于内存管理不当,可能你的应用不断出现类似 INFO/dalvikvm-heap(10798): Grow heap... 阅读全文
posted @ 2015-01-29 11:30 洛易 阅读(1983) 评论(0) 推荐(0) 编辑
摘要: 1 public class BounceScrollView extends ScrollView { 2 private View inner;// 孩子View 3 4 private float y;// 点击时y坐标 5 6 private Rec... 阅读全文
posted @ 2015-01-29 08:47 洛易 阅读(353) 评论(0) 推荐(0) 编辑
  2015年1月12日
摘要: 解决2个Activity互相跳转,并且栈中只保留每个Activity一个对象的存在。在2个Activity中分别都要用到onActivityResult,所以就不能用launchMode="singleTask"。如:http://www.cnblogs.com/tt_mc/p/3586834.ht... 阅读全文
posted @ 2015-01-12 20:31 洛易 阅读(1819) 评论(0) 推荐(0) 编辑
  2015年1月9日
摘要: 1 public class ViewMeasuare extends View { 2 3 public ViewMeasuare(Context context, AttributeSet attrs) { 4 super(context, attrs); 5 ... 阅读全文
posted @ 2015-01-09 15:45 洛易 阅读(511) 评论(0) 推荐(0) 编辑
  2014年12月24日
摘要: 今天在做Zxing的二维码的时候,返回的数据竟然是这个样子,郁闷了一小会,说明我用的这个控件有改进的空间。由于时间的原因,最后还是把这个返回的字符串重新组装。 1 Bundle bundle = data.getExtras(); 2 byte[] btyeAry = bundle.getStrin... 阅读全文
posted @ 2014-12-24 18:54 洛易 阅读(4903) 评论(0) 推荐(1) 编辑
  2014年12月2日
摘要: WGS-84:是国际标准,GPS坐标(GoogleEarth使用、或者GPS模块)GCJ-02:中国坐标偏移标准,GoogleMap、高德、腾讯使用BD-09:百度坐标偏移标准,BaiduMap使用//WGS-84toGCJ-02GPS.gcj_encrypt();//GCJ-02toWGS-84粗... 阅读全文
posted @ 2014-12-02 18:07 洛易 阅读(2354) 评论(5) 推荐(0) 编辑
  2014年10月26日
摘要: from http://www.vpsee.com/2009/06/why-programmers-love-mac/Mac 在国外很受欢迎,尤其是在 设计/web开发/IT 人员圈子里。普通用户喜欢 Mac 可以理解,毕竟 Mac 设计美观,简单好用,没有病毒。那么为什么专业人士也对 Mac 情有... 阅读全文
posted @ 2014-10-26 10:48 洛易 阅读(39163) 评论(4) 推荐(2) 编辑
  2014年10月22日
摘要: RubertdeMacBook-Pro:myApp Rubert$ ionic emulate androidRunning command: /Users/Rubert/myApp/hooks/after_prepare/010_add_platform_class.js /Users/Rube... 阅读全文
posted @ 2014-10-22 23:26 洛易 阅读(2557) 评论(0) 推荐(0) 编辑
摘要: RubertdeMacBook-Pro:~ Rubert$ ionic build androidCurrent working directory is not a Cordova-based project.RubertdeMacBook-Pro:~ Rubert$ cd myApp/Ruber... 阅读全文
posted @ 2014-10-22 23:19 洛易 阅读(4395) 评论(2) 推荐(0) 编辑
摘要: Start building with Ionic!Follow these quick steps and start building high quality mobile apps in minutes. For a more indepth ... 阅读全文
posted @ 2014-10-22 00:18 洛易 阅读(799) 评论(0) 推荐(0) 编辑
上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 41 下一页