加载中
Atom中文乱码解决方案

Atom中文乱码解决方案

2015/08/28 23:38
2.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...

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....

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 -...

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
68
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 "一周后...

php
2014/11/06 21:25
36
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
138
Android Studio使用Gradle构建和发布APK

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

Android下拉刷新控件

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

没有更多内容

加载失败,请刷新页面

返回顶部
顶部