Posts

Showing posts with the label Cordova

Android Widget Using Cordova

Answer : Yes, widgets are native Android constructions. But you CAN create your widget for your app with the help of cordova plugin called "cordova-plugin-ace". Made by Microsoft and opened to everyone. Documentation: Official site - http://microsoft.github.io/ace/ Doc for creating widget - http://microsoft.github.io/ace/docs/native-ui/#four I hope it'll be helpfully for you, me and others cordova devs. Widgets are android native constructs that extend a view on the application screen. http://developer.android.com/reference/android/widget/package-summary.html A cordova/phonegap app is an app with a webview backing. Note: webview not android native view. Until someone finds a way to construct a native widget that embeds a webview, then what you have been told so far is correct... i.e. "no". http://cordova.apache.org/docs/en/4.0.0/guide_overview_index.md.html#Overview http://cordova.apache.org/docs/en/4.0.0/guide_hybrid_webviews_index.md.html#...

Apache Cordova - Uninstall Globally

Answer : Try sudo npm uninstall cordova -g to uninstall it globally and then just npm install cordova without the -g flag after cd ing to the local app directory Try this for Windows: npm uninstall -g cordova Try this for MAC: sudo npm uninstall -g cordova You can also add Cordova like this: If You Want To install the previous version of Cordova through the Node Package Manager (npm): npm install -g cordova@3.6.3-0.2.13 If You Want To install the latest version of Cordova: npm install -g cordova Enjoy! Super late here and I still couldn't uninstall using sudo as the other answers suggest. What did it for me was checking where cordova was installed by running which cordova it will output something like this /usr/local/bin/ then removing by rm -rf /usr/local/bin/cordova