1.Getting bitmap from a view
http://blog.neurolive.net/2010/11/385/
http://arpitonline.com/blog/2012/07/17/capturing-bitmaps-of-views-in-android/
2.Reuse Layout and code
http://mfarhan133.wordpress.com/2010/09/19/maser-layout-tutorial-reusing-layouts/
http://kazed.blogspot.jp/2011/03/creating-reusable-layout-component-in.html
3.Eclipse giving error, missing R.java file after recent update
http://stackoverflow.com/questions/16608524/eclipse-giving-error-missing-r-java-file-after-recent-update
After updating to SDK Tools to rev. 22 for the first time, you may need to relaunch Android SDK Manager again and install a new item:Android SDK Build-tools.
After installing this, clean your projects and rebuild.
4.Android and calculating the size of a one-line string in a given font and font size?
Paint p = new Paint();
p.setTypeFace(TypeFace obj); // if custom font use `TypeFace.createFromFile`
p.setTextSize(float size);
float textWidth = p.measureText("Your string"); // you get the width here and textsize is the height.
mPaint = new Paint();
mPaint.setAntiAlias(true);
mPaint.setStrokeWidth(5);
mPaint.setStrokeCap(Paint.Cap.ROUND);
mPaint.setTextSize(64);
mPaint.setTypeface(Typeface.create(Typeface.SERIF, Typeface.ITALIC));
// ...
float w = mPaint.measureText(text, 0, text.length());
5.TableLayout
http://stackoverflow.com/questions/3612895/columns-in-listview-android
6.Android开发环境配置
http://techbooster.org/android/environment/14347/
7.Google USB DriverでAndroid端末をWindowsに認識させる