- ★ 推荐 网易开源镜像站: http://mirrors.163.com/
- 搜索开源镜像: http://mirrors.sohu.com/
- 北京交通大学: http://mirror.bjtu.edu.cn/cn/ <教育网荐>
- 兰州大学: http://mirror.lzu.edu.cn/ <西北高校FTP搜索引擎>
- 厦门大学: http://mirrors.xmu.edu.cn/
- 上海交通大学: http://ftp.sjtu.edu.cn/
- 清华大学: http://mirrors.tuna.tsinghua.edu.cn/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OkHttpClient okHttpClient = new OkHttpClient(); | |
okHttpClient.interceptors().add(mRefreshAndRetryInterceptor); | |
mRestAdapter = new RestAdapter.Builder() | |
... | |
.setClient(new OkClient(okHttpClient)) | |
.build(); | |
private final Interceptor mRefreshAndRetryInterceptor = new Interceptor() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<resources> | |
<!-- google's material design colours from | |
http://www.google.com/design/spec/style/color.html#color-ui-color-palette --> | |
<!--reds--> | |
<color name="md_red_50">#FFEBEE</color> | |
<color name="md_red_100">#FFCDD2</color> | |
<color name="md_red_200">#EF9A9A</color> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.content.Context; | |
import java.util.ArrayList; | |
import java.util.List; | |
import uk.co.ribot.easyadapter.BaseEasyRecyclerAdapter; | |
import uk.co.ribot.easyadapter.ItemViewHolder; | |
public class BaseFilterableEasyRecyclerAdapter<T> extends BaseEasyRecyclerAdapter<T> | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adb shell "su -c 'chmod 777 /data/data/com.android.providers.telephony/databases/mmssms.db'" | |
adb shell "su -c 'chmod 777 /data/data/com.android.providers.telephony/databases/telephony.db'" | |
adb shell "su -c 'chmod 777 /data/data/com.android.providers.contacts/databases/profile.db'" | |
adb shell "su -c 'chmod 777 /data/data/com.android.providers.contacts/databases/contacts2.db'" | |
adb pull /data/data/com.android.providers.telephony/databases/mmssms.db /Users/fridondanelyan/Desktop/databases/mmssms.sqlite | |
adb pull /data/data/com.android.providers.telephony/databases/telephony.db /Users/fridondanelyan/Desktop/databases/telephony.sqlite | |
adb pull /data/data/com.android.providers.contacts/databases/profile.db /Users/fridondanelyan/Desktop/databases/profile.sqlite | |
adb pull /data/data/com.android.providers.contacts/databases/contacts2.db /Users/fridondanelyan/Desktop/databases/contacts2.sqlite |
OlderNewer