加载中
charactet set and collation demystified

From mysql doc A character set is a set of symbols and encodings. A collation is a set of rules for comparing characters in a character set. Let's make the distinction clear wit...

2017/02/18 16:37
10
Atom中文乱码解决方案

Atom中文乱码解决方案

2015/08/28 23:38
1K
GSON Empty Json Object to null

Sometimes that API you are given just doesn't conform to what you are expecting. I have had to consume a JSON API recently where the JSON returned "{}" instead of null or not at...

2015/08/28 16:46
109
Android Decompile

1. apktool 下载apktool apktool.jar 将apktool.jar放在apktool执行文件的目录下 终端执行: sh apktool,可以看到命令文档 反编译: apktool d demo.apk 2. dex2jar 下载dex2jar 终端执行: ./d...

Error: Cannot run aapt, Ubuntu 14.04

Run sudo apt-get update sudo apt-get install gcc-multilib lib32z1 lib32stdc++6 should resolve the problem....

2015/02/10 09:46
27
iOS:Covert p12 back to CSR

Run the following openssl command to convert your password-protected p12 file to a pem. openssl will prompt for a password. openssl pkcs12 -in your-newly-exported-p12-file.p12 -...

2015/02/05 09:51
18
Some posts about RxJava

RxJava and Android: Just What the Doctor Ordered Functional Reactive Programming on Android With RxJava Using RxJava with Android RxJava and Android: error handling RxJava Threa...

2015/01/31 11:12
59
LayoutTransition Animation

package com.example.android.interactivechart; import android.animation.Animator; import android.animation.LayoutTransition; import android.animation.ObjectAnimator; import andro...

2014/11/27 20:57
29
ios recepies

ios recepies

2014/11/26 11:01
54
资源收藏

3rd library NineOldAndroids:Android library for using the Honeycomb (Android 3.0) animation API on all versions of the platform back to 1.0! StickyListHeaders, HeaderListView:为...

2014/11/12 17:06
172
隐式Intent找不到Activity:android.content.ActivityNotFoundException

Here is what i encountered: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=me.waye.intentdemo.intent.action.WAYE_ACTION cat=[me.waye.intentd...

Java:WeakReference vs SoftReference vs PhantomReference vs Strong reference

WeakReference and SoftReference were added into Java API from long time but not every Java programmer is familiar with it. Which means there is a gap between where and how to us...

Android SQLite database is locked

今天遇到了个Android SQLite database is locked的问题,几番查找原因是因为多线程同时对数据库操作引起的问题,Google了一下,SO上的人都建议使用ContentProvider,要么就是保持数据库操作的...

2014/11/06 21:25
61
Android:16进制颜色透明值设置

Found on stackoverflow: http://stackoverflow.com/questions/5445085/understanding-colors-in-android-6-chars Hex Opacity Values 100% — FF 95% — F2 90% — E6 85% — D9 80% — CC...

2014/11/06 21:25
143
php时间操作

<?php echo "今天:".date("Y-m-d")."<br>"; echo "昨天:".date("Y-m-d",strtotime("-1 day")), "<br>"; echo "明天:".date("Y-m-d",strtotime("+1 day")). "<br>"; echo "一周后...

2014/11/06 21:25
13
Handler and HandlerThread Tips

Handler在Android的开发中算是最常用的东东,但有很多小小的tips或许很多人都不知道。关于Handler,Looper,MessageQueue网上已有很多文章了,这里就不在赘述。 1.从其他线程获取一个与UI线程关...

iPhone设置导航栏背景和字体颜色

// style the navigation bar UIColor* navColor = [UIColor colorWithRed:0.175f green:0.458f blue:0.831f alpha:1.0f]; [[UINavigationBar appearance] setBarTintColor:navColor];//导航...

2014/11/06 21:25
32
Android Studio使用Gradle构建和发布APK

最近开始使用Android Studio,发现其速度和自动提示功能都是Eclipse无法比拟的,还有就是Gradle的自动构建,帮你管理依赖,发布等等。 先准备一个keystore文件: keytool -genkey -alias waye...

2014/11/06 21:25
630
NSCoding + NSKeyed​Archiver

今天学习学习NSKeyedArchiver的使用。 我们工作中得大多数应用都需要做关于数据持久的功能。iOS中我们可以使用CoreData和NSKeyedArchiver/NSKeyedUnarchiver(用来(反)序列化遵守NSCoding的类...

2014/11/06 21:25
27
Android下拉刷新控件

Android也将下拉刷新这个常用的方式写入自带的控件库了,android.support.v4.widget.SwipeRefreshLayout,刷新状态通过SwipeRefreshLayout.OnRefreshListener来监听,实例: package me.way...

2014/11/06 21:25
108

没有更多内容

加载失败,请刷新页面

返回顶部
顶部