Download cordova.js




















Run the following command to confirm that Git is installed. If Git is installed you will see a version printed in the terminal window. Click the Run icon in the toolbar. Modifying the Application In this exercise you will edit the index. Open index. Add the following code in bold between the body tags.

Modifying the Cordova Configuration In this exercise you will modify the list of Cordova plugins that are installed in the application.

Right-click the project node in the Projects window and choose Properties in the popup menu. Select Cordova in the list of categories. Click the Plugins tab in the Cordova panel.

Click OK. Editing the JavaScript File In this exercise you will remove the JavaScript code generated by the template and add some simple methods to display the map of your current location. Replace the generated code with the following code. Save your changes. LatLng Map document. LatLng position. Reset your emulator by either restarting the emulator or resetting the settings.

Click Run in the toolbar to deploy the application to the emulator. On the iOS Simulator you are prompted to allow the application to use your current location. Debugging the Application In this exercise you will set a breakpoint in the JavaScript file and run the application again.

Reset or relaunch the emulator. Click Run in the toolbar to run the application again. The expanded tooltip enables you to see the values in greater detail. In the Network Monitor window you can see a list of the application requests. Improve this question. Priyanka Prakash Priyanka Prakash 23 1 1 silver badge 10 10 bronze badges. Add a comment.

Active Oldest Votes. Here is the archive for cordova version It seems that it stop at the v3. Improve this answer. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password.

Post as a guest Name. Email Required, but never shown. The Overflow Blog. Stack Gives Back Keywords none. Install npm i cordova-js Repository Git github. Homepage github. Downloads Weekly Downloads 4, Version 6. License Apache Unpacked Size kB. Total Files Last publish 6 months ago. Try on RunKit.



0コメント

  • 1000 / 1000