Overview
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
## シェル | |
シェル実行ファイル | |
/usr/local/bin/zsh | |
## zsh-notify | |
[Mac][zsh]時間のかかるコマンドが終わったら自動で通知する | DevAchieve http://wada811.blogspot.com/2014/04/zsh-notify-command-completion.html | |
## Parameterized Trigger Plugin | |
Parameterized Trigger Plugin - Jenkins - Jenkins Wiki https://wiki.jenkins-ci.org/display/JENKINS/Parameterized+Trigger+Plugin |
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
Handlerのリーク警告を解決するには - outcesticide http://outcesticide.hatenablog.com/entry/handler_leaks | |
ものぐさDev: 【Android】Handlerを気持よく使う http://monogusadev.blogspot.jp/2012/12/androidhandler.html |
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
# AndroidManifest.xml | |
<service android:name="MyIntentService" /> | |
# IntentService + ResultReceiver | |
public class MyIntentService extends IntentService { | |
public static class MyResultReceiver extends ResultReceiver { |
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
# Difinition | |
enum YourEnumType { | |
yourEnum | |
} | |
# Pass | |
intent.putExtra(EXTRA_KEY, yourEnum); |
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 - Custom notification: java.lang.RuntimeException: ..crash on notification - Stack Overflow http://stackoverflow.com/questions/19309541/custom-notification-java-lang-runtimeexception-crash-on-notification | |
"CausedStacktrace":["at [Parcel#readIntArray:789]","at [INotificationManager$Stub$Proxy#enqueueNotificationWithTag:296]","at [NotificationManager#notify:124]","at [NotificationManager#notify:103]","at [k#a:-1]","at [k#a:-1]","at [e#u:-1]","at [e#d:-1]","at [a#e:-1]","at [b#a:-1]","at [b#a:-1]","at [r#call:-1]","at [FutureTask$Sync#innerRun:305]","at [FutureTask#run:137]","at [ThreadPoolExecutor#runWorker:1076]","at [ThreadPoolExecutor$Worker#run:569]","at [Thread#run:856]"],"cause":"java.lang.RuntimeException: bad array lengths","ExceptionStacktrace":["at [s#done:-1]","at [FutureTask$Sync#innerSetException:273]","at [FutureTask#setException:124]","at [FutureTask$Sync#innerRun:307]","at [FutureTask#run:137]","at [ThreadPoolExecutor#runWorker:1076]","at [ThreadPoolExecutor$Worker#run:569]","at [Thread |
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 4.1(Jerry Beans)以降のTimePickerDialogの動作が不可解 - Qiita http://qiita.com/yutetsu/items/a28a572775bc3648e78b | |
http://tools.oesf.biz/android-2.3.7_r1.0/xref/frameworks/base/core/java/android/app/TimePickerDialog.java | |
http://tools.oesf.biz/android-4.0.4_r1.0/xref/frameworks/base/core/java/android/app/TimePickerDialog.java | |
http://tools.oesf.biz/android-4.1.1_r1.0/xref/frameworks/base/core/java/android/app/TimePickerDialog.java | |
http://tools.oesf.biz/android-2.3.7_r1.0/xref/frameworks/base/core/java/android/app/DatePickerDialog.java | |
http://tools.oesf.biz/android-4.0.4_r1.0/xref/frameworks/base/core/java/android/app/DatePickerDialog.java | |
http://tools.oesf.biz/android-4.1.1_r1.0/xref/frameworks/base/core/java/android/app/DatePickerDialog.java |
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
WifiManager wifiManager = (WifiManager)getSystemService(Context.WIFI_SERVICE); | |
List<WifiConfiguration> configuredNetworks = wifiManager.getConfiguredNetworks(); | |
for(WifiConfiguration wifiConfiguration : configuredNetworks){ | |
LogUtils.d("SSID: " + wifiConfiguration.SSID); | |
for(int i = 0; i < WifiConfiguration.AuthAlgorithm.strings.length; i++){ | |
if(wifiConfiguration.allowedAuthAlgorithms.get(i)){ | |
LogUtils.d(" allowedAuthAlgorithms: " + WifiConfiguration.AuthAlgorithm.strings[i]); | |
} | |
} |
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
Definitions.
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
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
public abstract class UiHandler extends Handler implements Runnable { | |
public UiHandler(){ | |
super(Looper.getMainLooper()); | |
} | |
public UiHandler(Handler.Callback callback){ | |
super(Looper.getMainLooper(), callback); | |
} |
OlderNewer