摘要:
Material Design with the Android Design Support Library原文http://www.sitepoint.com/material-design-android-design-support-library/Material Design,Andro... 阅读全文
摘要:
应用程序在开发时,会有一些功能只在调试阶段启用,应用发布时不再启动的功能,开发时根据调试环境启用功能,这时判断程序是否在调试模式是变得很有用了。/** * 判断应用程序是否处于调式模式 * @param context * @return */ public s... 阅读全文
摘要:
Unable to start the daemon process.This problem might be caused by incorrect configuration of the daemon.For example, an unrecognized jvm option is us... 阅读全文
摘要:
AS3 setChildIndex的bug 小伙伴们注意了,在timelines使用 MovieClip 的 setChildIndex方法要注意,因为它有一个bug,调整显示对象的深度之后,会导致显示对象丢失所有关键帧信息,那么问题来了,如果你在关键帧里调整显示对象深度,那么goto到下一帧时,显示对象仍然存在,这个bug很久之前就有开发者发现,为毛还没解决? https://forums.... 阅读全文
摘要:
http://stackoverflow.com/questions/20087804/should-have-subtitle-controller-already-set-mediaplayer-error-android/20149754#20149754 阅读全文
摘要:
1.创建一个Xcode工程2.打开Main.storyboard,添一个UIImageView视图,并为UIImageView插入图片3.打开ViewController.swift,在viewDidLoad方法下添加以下代码override func viewDidLoad() { ... 阅读全文
摘要:
使用Android Studio 1.1.0创建新项目后,运行报以下错: Error:Unable to start the daemon process. This problem might be caused by incorrect configuration of the daemon. For example, an unrecognized jvm option is... 阅读全文
摘要:
1. 在已安装VS2012条件下,安装update,作者已经安装了update3;2. 相关设置:设置“平台工具集”:在项目右击-属性-常规-在“平台工具集”下拉选择“…v110_xp”选项(如果没有安装update是没有这个选项的)设置“运行库”:设置“子系统”: 注意不要设置成“未设置”或留空,... 阅读全文
摘要:
一直对js的this不怎么理解,最近看了JavaScript 语言精髓的相关章节,有点清晰的理解了,记录记录/* 来自: JavaScript 语言精髓 方法:当一个函数被定义为对象的一个属性时,我们称它为一个方法. this : 在函数访问this时,this被绑定到了 全局对象. *///全局函... 阅读全文
摘要:
官方PDF文档: http://help.adobe.com/zh_CN/air/build/WS901d38e593cd1bac1e63e3d129907d2886-8000.html#WS901d38e593cd1bac58d08f9112e26606ea8-8000 阅读全文