Skip to content

Instantly share code, notes, and snippets.

View Frank-Zhu's full-sized avatar
🏠
Working from home

Frank-Zhu Frank-Zhu

🏠
Working from home
View GitHub Profile
package your_package;
import android.animation.AnimatorSet;
import android.animation.ObjectAnimator;
import android.app.Activity;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
/*
* Copyright (C) 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
package com.materialdesign.chris.materialdesignexperimenting;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.animation.ObjectAnimator;
import android.app.Activity;
import android.os.Bundle;
import android.os.Handler;
import android.view.View;
import android.view.ViewAnimationUtils;
@Frank-Zhu
Frank-Zhu / HttpClientSslHelper.java
Last active April 18, 2023 08:55
Android HTTPS SSL双向验证
package com.ecloud.ssldemo;
import android.content.Context;
import android.util.Log;
import com.squareup.okhttp.OkHttpClient;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.HttpClient;
import org.apache.http.conn.scheme.Scheme;

#Android编译环境配置 ##第一步当然是安装工具及配置环境

###代码管理工具安装 1.代码拉取工具可以到以下地址安装SourceTree

2.下载之后默认安装就可以了,可能需要免费注册一下,不然会有使用期限限制

3.在安装的时候你可能还需要GIT工具,下载安装一下即可