- 博客(72)
- 资源 (2)
- 收藏
- 关注

原创 本博客知识点均来自学习 《传智播客》 视频而得
特别鸣谢 :传智播客 张孝祥老师,黎活明老师,韩顺平老师。 之前也写过一些文章但是都是只记录了关键代码部分。在看了黑马学员写的博客后自己觉得也应该向他们一样写一些具体一点的别人能看懂的博客与大家分享。感谢黑马训练营 ----------------------android培训、java培训、期待与您交流! ----------------------
2013-04-06 15:28:27
571
转载 ubuntu14.04 python3.4 install
http://blog.sina.com.cn/s/blog_7cdaf8b60102vf2b.html1. 通过命令行安装Python3.4,执行命令:sudo apt-get install python3.42.由于Ubuntu底层采用的是Python2.*,Python3与Python2是互不兼容的,但是不能卸载Python2,只需要将默认的Python指向Python
2015-08-17 10:36:55
181
转载 iOS8 中的 Size Class
推荐几篇有关于 Size Class 的博客http://blog.callmewhy.com/2014/09/12/learn-ios8-size-class/ (讲的很详细)http://article.yeeyan.org/view/126760/424005http://www.cocoachina.com/ios/20140926/9766.html
2015-01-05 18:29:21
327
转载 在iOS 7中使用storyboard(part 1)
http://www.cocoachina.com/industry/20131213/7537.html==========================================================================================Storyboard是一项令人兴奋的功能,在iOS5中首次推出,在开发app的界面时可以极大地节省时间
2014-12-23 00:58:30
425
转载 Storyboards Tutorial in iOS 7: Part 2
http://www.raywenderlich.com/50310/storyboards-tutorial-in-ios-7-part-2Note from Ray: Tutorial Team member Matthijs Hollemans (the iOS Apprentice Series author) has ported this pop
2014-12-23 00:57:56
391
转载 NSRunLoop初步概念以及NSTimer在NSThread中的使用
http://blog.youkuaiyun.com/hmt20130412/article/details/243165051.NSRunloop基本概念@Run loops 是线程相关的基础框架的一部分.一个run loop就是一个事件处理的循环,用来不停的调度工作以及处理输入事件.@线程的生命周期存在五个状态:新建,就绪,运行,阻塞,死亡@NSRunLoo
2014-12-19 14:11:20
152
转载 ios 时间戳 当前时间 相互转化
http://blog.youkuaiyun.com/sqc3375177/article/details/8704952一,当前时间转化为时间戳,二,获取的当前时间和系统的时间相差8个小时一,转化的方法为 NSString *timeSp = [NSString stringWithFormat:@"%d", (long)[localeDate time
2014-12-17 20:22:11
354
转载 ios strong和weak关键字
iOS 5 中对属性的设置新增了strong 和weak关键字来修饰属性(iOS 5 之前不支持ARC)strong 用来修饰强引用的属性;@property (strong) SomeClass * aObject; 对应原来的 @property (retain) SomeClass * aObject; 和 @property (copy) SomeClass * aOb
2014-12-17 20:06:37
111
转载 ARC的工程里使用不支持ARC的对象
http://segmentfault.com/q/1010000000122378http://blog.youkuaiyun.com/sqc3375177/article/details/9159163如何在一个开启了ARC的工程里使用不支持ARC的对象?1. 选择你编译的的target,build phases-->Compiled sources中,双击没用ar
2014-12-17 18:17:55
347
转载 WindowManager.LayoutParams
http://www.cnblogs.com/shitianzeng/articles/2814050.htmlpublic static classWindowManager.LayoutParamsextends ViewGroup.LayoutParamsimplements Parcelablejava.l
2014-12-08 17:39:23
120
转载 xcode6 编译cocos2dx cpptest 项目出错
Xcode6_beta Build Fix: Undefined Symbols _fwrite$UNIX2003JUN 6TH, 2014 | COMMENTS使用xcode6 编译cocos2dx会有以下错误Undefined symbols for architecture i386: "_fwrite$UNIX2003", referenced from:
2014-10-26 22:36:51
617
翻译 HowTo: ListView, Adapter, getView and different list items’ layouts in one ListView
HowTo: ListView, Adapter, getView and different list items’ layouts in one ListViewFEBRUARY 5, 2010 / VILLAIN_DM / 124 COMMENTSI was surprised that getViewTypeCount() is so rarely overri
2014-10-23 16:34:28
383
翻译 Cannot find Android support libraries source code (v4, v7 & v13)
http://stackoverflow.com/questions/19278664/cannot-find-android-support-libraries-source-code-v4-v7-v13
2014-10-14 11:57:30
506
翻译 Installation error: INSTALL_FAILED_VERSION_DOWNGRADE
Installation error: INSTALL_FAILED_VERSION_DOWNGRADE
2014-07-23 11:39:55
568
转载 android 触摸事件分发之 requestDisallowInterceptTouchEvent
要求: scrollview 或者其他可滑动 viewgroup 中bao'han
2014-06-26 13:36:24
438
转载 android upload file
http://stackoverflow.com/questions/1067655/how-to-upload-a-file-using-java-httpclient-library-working-with-php-strange-pr/1068132#1068132
2014-06-16 20:45:12
821
翻译 android webview https blank
public void onCreate(Bundle savedInstance){ super.onCreate(savedInstance); setContentView(R.layout.show_voucher); webView=(WebView)findViewById(R.id.webview); webView.getSetting
2014-05-15 11:25:50
892
转载 如何更新自己Fork的代码
https://github.com/ysc/APDPlat/wiki/%E5%A6%82%E4%BD%95%E6%9B%B4%E6%96%B0%E8%87%AA%E5%B7%B1Fork%E7%9A%84%E4%BB%A3%E7%A0%81
2014-05-07 11:44:30
478
翻译 How to update GitHub forked repository?
How to update GitHub forked repository? http://stackoverflow.com/questions/7244321/how-to-update-github-forked-repositoryhttp://blog.youkuaiyun.com/trochiluses/article/details/8996431
2014-04-30 18:15:21
373
How to update GitHub forked repository?
How to update GitHub forked repository?
2014-04-30 18:12:39
141
转载 android listview item 点击无效解决
yuan'wen开发中很常见的一个问题,项目中的listview不仅仅是简单的文字,常常需要自己定义listview,自己的Adapter去继承BaseAdapter,在adapter中按照需求进行编写,问题就出现了,可能会发生点击每一个item的时候没有反应,无法获取的焦点。原因多半是由于在你自己定义的Item中存在诸如ImageButton,Button,CheckBox等
2014-04-23 18:06:40
525
转载 Linux 下安装配置 JDK7
点击打开链接Linux 下安装配置 JDK7自从从Oracle收购Sun近三年来,已经有很多变化。早在8月,甲骨文将“Operating System Distributor License for Java”许可证终结,这意味着第三方将不可以依据这一许可分发他们的软件包。 因此Ubuntu Linux已经开始禁用所有机器上的Oracle JDK浏览器
2014-03-10 23:40:50
66
转载 概念性文链接
Android 中自定义控件和属性(attr.xml,declare-styleable,TypedArray)的方法和使用 http://blog.youkuaiyun.com/jincf2011/article/details/6344678
2013-10-02 10:14:45
89
转载 install parse failed no certificates
http://vardhan-justlikethat.blogspot.hk/2012/05/android-solution-install-parse-failed.html
2013-09-09 18:34:32
957
转载 直接拿来用!最火的Android开源项目
直接拿来用!最火的Android开源项目(一)http://www.youkuaiyun.com/article/2013-05-03/2815127-Android-open-source-projects直接拿来用!最火的Android开源项目(二)http://www.youkuaiyun.com/article/2013-05-08/2815145-Android-open-source-
2013-08-18 10:50:49
94
翻译 android
http://blog.markloiseau.com/2011/06/how-to-install-the-android-sdk-and-eclipse-in-ubuntu/
2013-08-16 10:48:56
60
翻译 android中图片的一些操作小片段代码
获取Bitmap 所占内存字节大小public static int getBitmapSize(BitmapDrawable value) { Bitmap bitmap = value.getBitmap(); if (Utils.hasHoneycombMR1()) { return bitmap.getByteCount();
2013-08-15 17:31:25
706
翻译 MD5序列后的值转为32位16进制数
方法一: private static String bytesToHexString(byte[] bytes) { // http://stackoverflow.com/questions/332079 StringBuilder sb = new StringBuilder(); for (int i = 0; i < bytes.
2013-08-10 23:03:16
440
翻译 android 调用系统图库打开指定路径的图片
http://stackoverflow.com/questions/10749351/how-to-open-one-particular-folder-from-gallery-in-androidHi Please use this following code . you will get particular folder image . code : import j
2013-07-21 22:37:27
1313
翻译 android webview 常见问题
I created my own WebView and set the WebChromeClient and WebViewClient objects. When I start this WebView, the HTML form fields react when I touch them (a cursor appears), but they do not get selected
2013-07-21 14:06:51
586
原创 javamail-最复杂邮件形式
package cn.itcast.mail;import java.io.File;import java.io.FileOutputStream;import java.util.Properties;import javax.activation.DataHandler;import javax.activation.DataSource;import javax.activ
2013-07-18 23:20:35
75
原创 黑马程序员--银行业务调度系统
------------android培训、java培训、期待与您交流! ----------------银行业务调度系统: 模拟实现银行业务调度系统逻辑,具体需求如下: 银行内有6个业务窗口,1 - 4号窗口为普通窗口,5号窗口为快速窗口,6号窗口为VIP窗口。有三种对应类型的客户:VIP客户,普通客户,快速客户(办理如交水电费、电话费之类业务的客户)。
2013-06-30 15:38:39
357
原创 黑马程序员 android-handler-防止内存泄露
如果 Handler 没有声明为 static 的 Eclipse 总是会提醒可能会内存泄露 解决办法:private static class MyHandler extends Handler{ private final WeakReference mActivity; public MyHandler(Activity activity) { mA
2013-06-25 11:05:58
609
原创 黑马程序员-交通灯管理系统
------------android培训、java培训、期待与您交流! ---------------要掌握交通灯系统需要了解多线程机制。同步并发。多结合生活简单画一下草图理解会更好 模拟实现十字路口的交通灯管理系统逻辑,具体需求如下:异步随机生成按照各个路线行驶的车辆。例如: 由南向而来去往北向的车辆---- 直行车辆
2013-06-18 20:31:58
450
原创 黑马程序员-java-condition-实现线程通信和可阻塞队列
----------------------android培训、java培训、期待与您交流! ----------------------这个代码在java的 api 中的 Condition 这个类中。我这里就是解释了一下各个代码的作用觉得这个代码确实有点技术含量所以贴出来;实现的是一个可阻塞的队列。和线程间的互斥。通信/** 这里用了两个 Condition 就是为了再发通知的
2013-05-21 23:09:21
420
原创 黑马程序员-java缓存系统关键代码
----------------------android培训、java培训、期待与您交流! ----------------------java 的多线程感觉是最难掌握的。又一次的复习了多线程。写了一个缓存数据的demo废话不多说看代码。/** * 读写锁 缓存数据 */ private static Map cache = new HashMap(); private
2013-05-21 20:26:43
393
原创 黑马程序员-java动态代理
----------------------android培训、java培训、期待与您交流! ----------------------AOP(Aspect oriented program) 面向方面的编程AOP的目标就是要使交叉业务模块化,可以采用将切面代码移动到原始方法的周围,这与直接在方法中编程切面代码的运行效果是一样的。1.proxy类:构造方法:protected
2013-05-17 15:30:14
438
原创 黑马程序员--类加载器
----------------------android培训、java培训、期待与您交流! ----------------------一. 类加载器1.类加载器基础知识类加载器的作用就是获取.class里面的内容等等java虚拟机中的三个类加载器:BootStrap,ExtClassLoader,AppClassLoader类加载器也是java类,因为其他是java类的
2013-05-15 21:25:43
380
MultipleItemsList.zip – source code
2014-10-23
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人