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
diff --git a/VolleySample/libs/okhttp-1.0.2.jar b/VolleySample/libs/okhttp-1.0.2.jar | |
new file mode 100644 | |
index 0000000..7592cdf | |
Binary files /dev/null and b/VolleySample/libs/okhttp-1.0.2.jar differ | |
diff --git a/VolleySample/libs/volley.jar b/VolleySample/libs/volley.jar | |
index 31c143c..762e993 100644 | |
Binary files a/VolleySample/libs/volley.jar and b/VolleySample/libs/volley.jar differ | |
diff --git a/VolleySample/src/com/adamrocker/volleysample/MainActivity.java b/VolleySample/src/com/adamrocker/volleysample/MainActivity.java | |
index b2c1dd5..c2118c5 100644 | |
--- a/VolleySample/src/com/adamrocker/volleysample/MainActivity.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
diff --git a/MyTemplate/build.gradle b/MyTemplate/build.gradle | |
index 98a1b61..ef8ce25 100644 | |
--- a/MyTemplate/build.gradle | |
+++ b/MyTemplate/build.gradle | |
@@ -18,8 +18,8 @@ dependencies { | |
compile "com.squareup.dagger:dagger:${daggerVersion}" | |
compile "com.android.support:support-v4:${supportV4Version}" | |
+ compile "com.android.support:appcompat-v7:${appCompatVersion}" | |
compile "com.google.android.gms:play-services:${playServicesVersion}" |
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
diff --git a/bin/review-compile b/bin/review-compile | |
index afea0d0..f0d3b6e 100755 | |
--- a/bin/review-compile | |
+++ b/bin/review-compile | |
@@ -58,7 +58,7 @@ def _main | |
"mathml" => nil, # for HTML | |
"language" => "ja", # for HTML | |
"deprecated-blocklines" => nil, | |
- "footnotetext" => false, | |
+ "footnotetext" => true, |
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"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="org.zakky.myprintservice" | |
android:versionCode="1" | |
android:versionName="1.0" > | |
<uses-sdk | |
android:minSdkVersion="19" | |
android:targetSdkVersion="19" /> |
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
Kitkat での実行結果がこんなでつらい | |
D/hoge ( 8203): "あ".getBytes(Shift_JIS).length = 1 | |
D/hoge ( 8203): "あい".getBytes(Shift_JIS).length = 3 | |
D/hoge ( 8203): "あいう".getBytes(Shift_JIS).length = 6 | |
D/hoge ( 8203): "あいうえ".getBytes(Shift_JIS).length = 8 | |
D/hoge ( 8203): "あいうえお".getBytes(Shift_JIS).length = 10 |
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"?> | |
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | |
<item> | |
<shape | |
android:shape="rectangle"> | |
<solid android:color="#ffcccccc"/> | |
</shape> | |
</item> | |
<item android:drawable="@drawable/highlight_and_shadow"/> | |
</layer-list> |
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
<html> | |
<head> | |
<style> body { font-family: sans-serif; } | |
div { background-color: #eeeeee; padding: 1em; white-space: pre-wrap; font-family: monospace } | |
</style> | |
<meta name="viewport" content="width=device-width, initial-scale=1"/> | |
</head> | |
<body> | |
<h3><a href="http://jakewharton.github.io/butterknife/">Butter Knife</a></h3> |
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 に <uses-permission android:name="android.permission.WRITE_SETTINGS"/> を書くこと | |
final int brightness = 128; // 0-255 の範囲で明るさを指定する | |
// バックライトの明るさの設定方法は、普通のAndroid端末と同じ | |
Settings.System.putInt(getContentResolver(), Settings.System.SCREEN_BRIGHTNESS, brightness); | |
// Samsung Gear Live の設定画面では5段階(括弧の中は設定画面で選択した場合の値) | |
// 5(255): 255-230 |
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
// Google Plus | |
compile "com.google.android.gms:play-services-plus:6.5.+" | |
// Google Account Login | |
compile "com.google.android.gms:play-services-identity:6.5.+" | |
// Google Activity Recognition | |
compile "com.google.android.gms:play-services-location:6.5.+" | |
// Google App Indexing | |
compile "com.google.android.gms:play-services-appindexing:6.5.+" | |
// Google Cast | |
compile "com.google.android.gms:play-services-cast:6.5.+" |