Creating Android widgets using phonegap

2020-06-08 02:38发布

问题:

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.