I hereby claim:
- I am wangyung on github.
- I am wangyung (https://keybase.io/wangyung) on keybase.
- I have a public key ASA2q2N6lgS50GIUEpSsBaRs_684iOmm-gZRXkxkX45Ddwo
To claim this, I am signing this object:
rem Run below as administrator | |
echo dir %1 > %systemroot%\system32\ls.bat |
RenderScript rs = RenderScript.create(theActivity); | |
ScriptIntrinsicBlur theIntrinsic = ScriptIntrinsicBlur.create(mRS, Element.U8_4(rs));; | |
Allocation tmpIn = Allocation.createFromBitmap(rs, inputBitmap); | |
Allocation tmpOut = Allocation.createFromBitmap(rs, outputBitmap); | |
theIntrinsic.setRadius(25.f); | |
theIntrinsic.setInput(tmpIn); | |
theIntrinsic.forEach(tmpOut); | |
tmpOut.copyTo(outputBitmap); |
<?xml version="1.0"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<fontconfig> | |
<!-- | |
Documented at | |
http://linux.die.net/man/5/fonts-conf | |
To check font mapping run the command at terminal | |
$ fc-match 'helvetica Neue' |
#!/bin/bash | |
#stop emulator | |
process=`ps -ef | awk '/[e]mulator/{print $2}'` | |
for i in $process; do | |
kill -9 $i; | |
done | |
#launch emulator | |
$ANDROID_SDK_PATH/tools/emulator -avd hudson_ja-JP_240_480x640_android-21_armeabi-v7a_creators-market -no-window & |
#!/bin/bash | |
#old style, it's deprecated | |
android create avd -f -a -s 480x640 -n hudson_en-US_160_480x640_android-19_armeabi-v7a_creators-market -t android-19 --abi armeabi-v7a | |
#new style, use avdmanager |
#!/bin/bash | |
#stop emulator | |
process=`ps -ef | awk '/[e]mulator/{print $2}'` | |
for i in $process; do | |
kill -9 $i; | |
done |
publishing { | |
publications { | |
maven(MavenPublication) { | |
groupId 'THE_GROUP_ID' | |
artifactId project.name | |
version android.defaultConfig.versionName | |
artifact source: file("${project.buildDir}/outputs/aar/${project.name}-release.aar") | |
} | |
} | |
repositories { |
import android.app.Activity | |
import android.content.Context | |
import android.support.constraint.ConstraintLayout | |
import android.util.AttributeSet | |
import android.view.View | |
import android.view.ViewGroup | |
import android.view.ViewManager | |
import org.jetbrains.anko.AnkoViewDslMarker | |
import org.jetbrains.anko.custom.ankoView |
I hereby claim:
To claim this, I am signing this object:
# Launch developer options. | |
adb shell am start -a android.settings.APPLICATION_DEVELOPMENT_SETTINGS |