Log.i(TAG,context.getCacheDir().getPath());
///data/user/0/{packageName}/cache
Log.i(TAG,context.getFilesDir().getPath());
///data/user/0/{packageName}/files
Log.i(TAG,Environment.getExternalStorageDirectory().getPath());
///storage/emulated/0 需要权限
Log.i(TAG,context.getObbDir().getPath());
///storage/emulated/0/Android/obb/{packageName} 不需要权限,获取其他应用路径的需要权限
Log.i(TAG,context.getExternalCacheDir().getPath());
This file contains 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
package com.ibeilly.android.cards.common; | |
import java.io.UnsupportedEncodingException; | |
import java.security.MessageDigest; | |
import java.security.NoSuchAlgorithmException; | |
import java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.Map; | |
public class OOPaySign { |
This file contains 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
/** | |
* 是否使用代理(WiFi状态下的,避免被抓包) | |
*/ | |
fun isWifiProxy(context: Context?): Boolean { | |
val isIcsOrLater = Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH | |
val proxyAddress: String | |
val proxyPort: Int | |
if (isIcsOrLater) { | |
proxyAddress = System.getProperty("http.proxyHost") | |
val portstr = System.getProperty("http.proxyPort") |
This file contains 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
echo time=`date +"%Y%m%d-%H%m%S"` > properties.txt | |
keytool -list -v -keystore "jsk路径" -storepass 密码 |
This file contains 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"?> | |
<set xmlns:android="http://schemas.android.com/apk/res/android"> | |
<translate | |
android:duration="@integer/slide_animation_duration" | |
android:fromXDelta="-100%p" | |
android:interpolator="@android:anim/accelerate_decelerate_interpolator" | |
android:toXDelta="0"/> | |
</set> |
This file contains 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
android:networkSecurityConfig="@xml/security_config" |
This file contains 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
nohup ./frpc -c ./frpc.ini & |
This file contains 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
file 'cut111.mp4' | |
file 'cut333.mp4' | |
file 'cut222.mp4' |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>${ENV, var="JOB_NAME"}-第${BUILD_NUMBER}次构建日志</title> | |
</head> | |
<style> | |
.build_info_table, |
pip install -i https://mirrors.huaweicloud.com/repository/pypi/simple (selenium/-r requirements.txt)
Android 可以使用 https://github.com/x-falcon/Virtual-Hosts/releases 实现免代理、免root(VPN方式)本地hosts
http://172.16.0.245:2345/shibl/host/raw/master/hosts-t1-t2-t3-pre
NewerOlder