Skip to content

Instantly share code, notes, and snippets.

View ChaosPower's full-sized avatar
💭
I may be slow to respond.

Randy Glenn Aguirre ChaosPower

💭
I may be slow to respond.
  • Philippines
View GitHub Profile
@ChaosPower
ChaosPower / build.gradle
Created February 29, 2020 03:23
Android ABI Split
splits {
abi {
enable true
reset()
include 'x86', 'armeabi-v7a', 'armeabi', 'arm64-v8a', 'x86_64'
universalApk false
}
}
ext.abiCodes = ['armeabi-v7a': 1, x86: 2, armeabi: 3, 'arm64-v8a': 4, 'x86_64': 5]
@ChaosPower
ChaosPower / ConvUtils.java
Last active November 20, 2021 05:29
BMP Converter Utils
//You need to change this to your package
package com.example.xxx;
import android.app.Activity;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Typeface;
import android.graphics.drawable.BitmapDrawable;