摘要: AndroidManifest.xml 应用主入口配置: <activity android:name="com.*.cust.contacts.MainActivity" android:exported="true" android:label="@string/app_name" androi 阅读全文
posted @ 2016-04-23 21:38 yxwkaifa 阅读(1684) 评论(0) 推荐(0) 编辑
摘要: 转载请注明 http://blog.csdn.net/eclipsexys 翻译自Developer Android。时间仓促,有翻译问题请留言指出,谢谢创建Lisst和Cards在你的应用程序创建复杂的清单,并与材料设计风格卡。您能够使用RecyclerView和CardView部件。 创建Rec 阅读全文
posted @ 2016-04-23 20:35 yxwkaifa 阅读(363) 评论(0) 推荐(0) 编辑
摘要: 1.下载mongodb-win32-x86_64-2008plus-2.6.7-signed.msi(如今最新版本号已经到了3.0) 2.如果为64位操作系统则双击 mongodb-win32-x86_64-2008plus-2.6.7-signed.msi ,否则mongodb-win32-i38 阅读全文
posted @ 2016-04-23 20:26 yxwkaifa 阅读(701) 评论(0) 推荐(0) 编辑
摘要: 在一台window server 2003机器上部署了一个webservice,iis为6.0,奇怪的是。在服务器本机调用webservice成功了,可是在其它client调用却反馈失败。详细什么原因呢? 经过摸索,最后发现是iis6.0的版本号过低,在iis7.0上没问题,在使用iis6.0时,须 阅读全文
posted @ 2016-04-23 19:36 yxwkaifa 阅读(1100) 评论(0) 推荐(0) 编辑
摘要: 题目链接:点击打开链接 = = 990+ms卡过 #include<stdio.h> #include<iostream> #include<string.h> #include<algorithm> #include<vector> #include<set> using namespace st 阅读全文
posted @ 2016-04-23 18:00 yxwkaifa 阅读(432) 评论(0) 推荐(0) 编辑
摘要: 首先须要下载3个包,下载地址在Github FasterXML,这三个核心模块各自是: Streaming ("jackson-core") defines low-level streaming API, and includes JSON-specific implementations Ann 阅读全文
posted @ 2016-04-23 17:43 yxwkaifa 阅读(1003) 评论(0) 推荐(0) 编辑
摘要: 题目标题: 计算两个字符串的最大公共字串的长度,字符不区分大写和小写 输入两个字符串 输出一个整数 案例输入:asdfas werasdfaswer 案例输出:6 #include<iostream> #include<string> using namespace std; int main() 阅读全文
posted @ 2016-04-23 17:14 yxwkaifa 阅读(407) 评论(0) 推荐(0) 编辑
摘要: 1.cpp 改成 Point 2.setIsRelativeAnchorPoint() 改成 ignoreAnchorPointForPosition() 3.Layer::create 图层是这样创建了。当然导演。场景,精灵都是这样创建了 以后再归类整理 1.cpp 改成 Point 2.setI 阅读全文
posted @ 2016-04-23 16:47 yxwkaifa 阅读(343) 评论(0) 推荐(0) 编辑
摘要: 遇到一个问题记录下来,在开发中使用了AlertDialog,想点击屏幕其它区域的时候让这个dialog消失,一開始不做不论什么设置,在小米手机能够正常显示,可是在三星中却有问题。后来发现少了一个属性: View dilaogView = initDialogView(); builder = new 阅读全文
posted @ 2016-04-23 16:12 yxwkaifa 阅读(229) 评论(0) 推荐(0) 编辑
摘要: 一:Number of 1 Bits 题目: Write a function that takes an unsigned integer and returns the number of ’1' bits it has (also known as the Hamming weight). F 阅读全文
posted @ 2016-04-23 14:39 yxwkaifa 阅读(374) 评论(0) 推荐(0) 编辑