Android - Launching widget manager from market

跟風遠走 提交于 2020-01-15 15:30:18

问题


I'm pretty sure this is a newb question but I can't quite figure it out.

I have a simple application which works as a widget, I use an ImagesWidgetProvider for all widget operations and once installed, it is not displayed as amongst the other applciations and therefore the 'open' button is greyed out once user has downloaded this.

The problem is, some users fail to read the app description that clearly explains how to add a widget to their homescreen which results in 1 star ratings along with 'doesn't work/open' comments.

All frustration with users aside, is there something I can do to make the widget selection menu (long press homescreen > widget) pop up when they click 'open' from the market without having to make them have an new app in the app menu?

I'm sure its just something I need to add to the manifest. When installing the app the console states

[2011-08-09 03:40:43 - com.xxx.xxx] No Launcher activity found!
[2011-08-09 03:40:43 - com.xxx.xxx] The launch will only sync the application package on the device!

Is it possible?


回答1:


No. Best you can do is have a main activity that shows up in the launcher and opens up a help page explaining how to install the widget.



来源:https://stackoverflow.com/questions/6990916/android-launching-widget-manager-from-market

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!