因爲要調用
mAppWidgetManager.bindAppWidgetId(mAppWidgetId,intent.getComponent());
這個函數根據mAppWidgetId會把相應地包名綁定起來。
而這個函數必需要system權限,所以不將程序安裝在system下,是無法使用程序將widget添加到桌面上。