Debugging Android Widget Code In Eclipse

天涯浪子 提交于 2019-12-05 02:18:07

Widgets don't show up with icons like most other applications would. To add one to the home screen, long press on the background wallpaper and you should see a context menu pop-up that will allow you to add a widget to the screen. If you AndroidManifest.xml is set up correctly, your widget should be shown in the menu.

You should be able to debug it by setting breakpoints in Eclipse like you would for debugging any other Android app. However, if your widget isn't displayed on the home screen, none of the code will be executed.

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