Creating Android widgets using phonegap

人走茶凉 提交于 2019-12-09 07:57:14

问题


Is it possible to create android homescreen widgets using phonegap ?


回答1:


It's defiantly possible. But yes you will need to be writing native code and have an understanding of Java/Android.

And any updating the widget needs to do, refreshing from a web service, will need to be written in Java/Android. As you can not talk to the javascript from the Service required to update the widget.




回答2:


According to various posts on the PhoneGap's Google Group it doesn't seem to be possible, at least not without heavily modifying the core.



来源:https://stackoverflow.com/questions/8755318/creating-android-widgets-using-phonegap

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