AndroidWidgetForGame porting from shu223/UIKitForGame