Android的AppWidget不会在蜂窝直到重新启动显示在菜单 [英] Android AppWidget does not show up in the menu in honeycomb until reboot

查看:146
本文介绍了Android的AppWidget不会在蜂窝直到重新启动显示在菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了一个AppWidget用于蜂窝首次安装时它运作良好,但,它不会在窗口小部件菜单中显示出来,因此不能将其添加到主屏幕。重新启动设备将允许它展现出来,或在开发过程中,从Eclipse的两次发送,将导致其出现。

I have created an AppWidget for Honeycomb which is working well, except that when first installed, it does not show up in the Widgets menu so it can not be added to a home screen. Rebooting the device will allow it to show up, or during development, sending it twice from Eclipse will cause it to show up.

任何想法?

谢谢!

推荐答案

Appearently EboMike是正确的,设置机器人:INSTALLLOCATION =internalOnly没有解决这个问题。如果没有指定一个安装位置,它应该默认为internalOnly,但似乎没有给我。在蜂窝也许什么变化?

Appearently EboMike was right, setting android:installLocation="internalOnly" did fix the issue. Without specifying an install location, it should have defaulted to internalOnly, but did not seem to for me. Perhaps something changed in Honeycomb?

此外,即使internalOnly设置,我从Eclipse的安装时(小部件就不会在选择菜单中显示,直到第二次运行),但是从Android Market安装时,仍然看到的问题,它似乎是工作的罚款这是我的大问题。

Also, even with internalOnly set, I was still seeing the issue when installing from Eclipse (widget would not show up in the selection menu until the second run) but when installing from the android market, it seems to be working fine which was my major concern.

谢谢!

这篇关于Android的AppWidget不会在蜂窝直到重新启动显示在菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆