iGoogle小工具在Android手机的应用或小部件 [英] iGoogle Gadget on Android Phone as APP or Widget
问题描述
我在我的iGoogle添加小工具来显示我们的电子商务购物车的订单。我想有它作为我们的Android手机的小部件。任何人都知道从哪里开始,需要做什么? <一href=\"http://www.google.com/ig/directory?type=gadgets&url=www.brandlabs.us/v/vspfiles/downloadables/widgets/igoogle/volusion_order_notifications.xml\"相对=nofollow>链接到iGoogle小工具
I have added a gadget in my iGoogle to display orders from our e-commerce shopping cart. I would like to have it as a Widget for our Android phones. Anyone know where to start and what needs to be done? Link To iGoogle Gadget
我发现我可以嵌入在HTML到网页,可这是在创造,将出现在我的手机上的东西有用吗?
I have found that I can EMBED the html to a webpage, could this be useful in creating something that would appear on my phone?
推荐答案
这取决于你所说的小部件或APP是什么。
That depends on what you mean by "widget" or by "APP".
如果由小部件你的意思是应用小工具(一主屏幕的互动元素),你想要什么是不可能的,除非你自己写的主屏幕应用程序。
If by "widget" you mean "app widget" (interactive element of a home screen), what you want is not possible, unless you write your own home screen application.
如果由小部件你的意思是小部件(活动的元素,子类 android.view.View
),你可以创建<$的自定义子类C $ C>的WebView ,知道的URL,您的小工具,安排在任何额外的HTML / JS / CSS加载需要显示在浏览器中的小工具的iGoogle之外。
If by "widget" you mean "widget" (element of an activity, subclass of android.view.View
), you could create a custom subclass of WebView
that knows the URL to your gadget and arranges to load in whatever extra HTML/JS/CSS is necessary to display that gadget in a browser outside of iGoogle.
如果按APP你的意思是Android原生应用,你可以看看的PhoneGap 。你仍然需要确定任何额外的HTML / JS / CSS需要显示在浏览器中的小工具的iGoogle之外。
If by "APP" you mean "Android native application", you could look at PhoneGap. You would still need to identify whatever extra HTML/JS/CSS is necessary to display that gadget in a browser outside of iGoogle.
这篇关于iGoogle小工具在Android手机的应用或小部件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!