This file contains hidden or 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
Bitmap arr_bmp[10]; | |
public void cleanView(View view) { | |
if(view instanceof Button) { | |
Button b = (Button)view; | |
b.setImageDrawable(null); | |
} else if(view instanceof ImageView) { | |
ImageView v = (ImageView)view; | |
v.setImageDrawable(null); | |
} | |
view.setBackgroundDrawable(null); |
This file contains hidden or 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.flotandroid.samples; | |
import java.util.concurrent.Executors; | |
import java.util.concurrent.ScheduledExecutorService; | |
import java.util.concurrent.TimeUnit; | |
import mediba.ad.sdk.android.openx.MasAdView; | |
import android.app.Activity; | |
import android.os.Bundle; |
This file contains hidden or 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
import java.io.File; | |
import android.annotation.SuppressLint; | |
import android.app.Activity; | |
import android.content.SharedPreferences.Editor; | |
@SuppressLint("NewApi") | |
public class ActivityUtil { | |
public static void StrictMode11(){ |
This file contains hidden or 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
griffon install-plugin http://artifacts.griffon-framework.org/repository/plugins/installer/0.6/griffon-installer-0.6.zip | |
griffon install-plugin http://artifacts.griffon-framework.org/repository/plugins/swingx-builder/0.6/griffon-swingx-builder-0.6.zip | |
griffon install-plugin http://artifacts.griffon-framework.org/repository/plugins/dialogs/0.3/griffon-dialogs-0.3.zip | |
griffon install-plugin http://artifacts.griffon-framework.org/repository/plugins/i18n-support/0.2/griffon-i18n-support-0.2.zip | |
griffon install-plugin http://artifacts.griffon-framework.org/repository/plugins/miglayout/0.4/griffon-miglayout-0.4.zip | |
griffon install-plugin http://artifacts.griffon-framework.org/repository/plugins/actions/0.4/griffon-actions-0.4.zip | |
griffon install-plugin http://artifacts.griffon-framework.org/repository/plugins/jide-builder/0.7/griffon-jide-builder-0.7.zip | |
griffon install-plugin http://artifacts.griffon-framework.org/repository/plugins/syntaxtext/0.2/griffon-syntaxtext-0.2.zip | |
griffon install-plugin http://artifacts. |
This file contains hidden or 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
Base Directory: /Users/kimura/griffon-1.0.0/samples/GroovyFxPad | |
Running script /Users/kimura/griffon-1.0.0/scripts/RunApp.groovy | |
Resolving dependencies... | |
Dependencies resolved in 382ms. | |
Environment set to development | |
Resolving framework plugin dependencies ... | |
Framework plugin dependencies resolved in 305 ms. | |
Resolving plugin dependencies ... | |
Plugin dependencies resolved in 1841 ms. | |
[mkdir] Created dir: /Users/kimura/.griffon/1.0.0/projects/GroovyFxPad/classes/cli |
This file contains hidden or 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
import android.annotation.SuppressLint; | |
import android.view.MotionEvent; | |
@SuppressLint("NewApi") | |
public class MouseUtil { | |
public static int getPointerCount(MotionEvent event) { | |
return event.getPointerCount(); | |
} | |
public static float getX(MotionEvent event, int p) { |
This file contains hidden or 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
/* | |
* ref | |
* http://www.mkyong.com/android/android-gridview-example/ | |
* http://blog.fujiu.jp/2011/11/android.html | |
* http://d.hatena.ne.jp/xuwei/20120316/1331868246 | |
* http://stackoverflow.com/questions/5730240/android-get-bounding-rectangle-of-a-view | |
*/ | |
This file contains hidden or 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
http://androlab.blogspot.com/2011/01/blog-post.html | |
http://y-anz-m.blogspot.com/2010/08/android_31.html | |
http://www.taosoftware.co.jp/blog/2009/04/android_sd.html | |
http://www.ibm.com/developerworks/jp/xml/library/x-androidstorage/ | |
容量の話) | |
http://magpad.jugem.jp/?eid=116 | |
http://www.adakoda.com/android/000272.html |
This file contains hidden or 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
using https://github.com/kristopolous/TickTick | |
location TickTick foloder test.sh,test2.sh |
This file contains hidden or 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
* 一つのボタンを押している時に、他のボタンをsetEnable(false)する。 | |
その時に色を変えたくない | |
1) | |
android-sdks/platforms/android-15/data/res/drawable | |
btn_default.xml | |
android-sdks/platforms/android-15/data/res/drawable-hdpi | |
btn_default.xml で使用しているリソースをコピー。 | |
ただし .9.png という名前で存在している(そのまま持ってこればOK |