Based on Sample from: https://github.com/android/platform_development/tree/master/apps/BuildWidget