如何从我的应用程序启动小部件选择菜单?
答案 0 :(得分:0)
AppWidgetManager manager=AppWidgetManager.getInstance(this);
List<AppWidgetProviderInfo>infoList=manager.getInstalledProviders();
for(AppWidgetProviderInfo info:infoList)
{
Log.d(TAG, "Name-"+info.name);
Log.d(TAG, "Configure Name-"+info.configure);
Log.d(TAG, "Provider Name-"+info.provider);
}