Hooks

2014-04-21 Thread John Wargo
Regarding hooks, is there an easy way to deploy them to your project? For example, with the ability to specify a project template to use with the CLI create command, can that include hooks? I thought the template option was added to the CLI, but the 3.4 CLI docs don't mention it: http://cordo

Technical Review of a Cordova Book

2014-01-22 Thread John Wargo
I'm working on yet another Cordova book and my publisher needs someone to do a technical review of the manuscript. The technical review includes reading the manuscript and identifying areas that are not clear or need work, confirming all of the steps outlined in the book, testing all of the cod

Globalization getCurrencyPattern

2014-01-16 Thread John Wargo
In the docs it says that the result value for Rounding is: * *rounding*: The rounding increment to use when parsing and formatting./(Number)/ Can someone tell me what that means? I googled around and couldn't find anything conclusive.

template?

2014-01-03 Thread John Wargo
I thought I saw a thread a while back that said you'd be able to pass the CLI create command a path to a project folder that contains the web application template to use for the new project. I just installed 3.3 and according to the help, the 4th parameter points to a JSON file that contains ke

CLI version to install

2013-12-24 Thread John Wargo
Here's a silly question for you - how do developers know what versions of the CLI are available to install? I know I can install the latest CLI using: npm install -g cordova Right now our plugins haven't been tested with Cordova 3.3, so I'm trying to update my CLI to version 3.2, but you know

Apache Cordova 3 Programming

2013-12-10 Thread John Wargo
Just in case anyone is interested, Apache Cordova 3 Programming went on sale at InformIT.com yesterday. Here's a link to order: http://www.informit.com/store/apache-cordova-3-programming-9780321957368. It's supposed to be on sale on Amazon by the end of the week as well; I'll post a link when

Apache Cordova 3 Programming

2013-11-06 Thread John Wargo
Hello Dev, I wanted to let you know that Apache Cordova 3 Programming is now available (in rough cut online at Safari Books Online: http://my.safaribooksonline.com/9780133521832. I hope to have the Amazon listing sorted out soon so people can pre-order on Amazon. Should be available in about

Publishing plugins to Git

2013-09-08 Thread John Wargo
Is there anything special about distributing your plugins on GitHub? My files are up there, but when I try to test adding the plugin from that location I get the following error: [Error: Error fetching plugin: Error: failed to get the plugin via git from URL https://github.com/johnwargo/cordo

Camera API

2013-08-28 Thread John Wargo
I've got another silly question. In looking at the Camera API, I see the following: targetWidth: Width in pixels to scale image. Must be used with targetHeight. Aspect ratio remains constant. (Number) targetHeight: Height in pixels to scale image. Must be used with targetWidth. Aspect ratio r

core APIs and the CLI

2013-08-22 Thread John Wargo
I'm working on the part of my book that deals with the core APIs and I need some guidance on how things are supposed to work. I noticed that if I added the Camera API plugin to a project, that the CLI manages adding the camera feature to the android project's config.xml file in res/xml/config.

Re: Introduction: Carlos Santana (IBM)

2013-06-05 Thread John Wargo
Welcome Carlos! On 6/4/2013 3:01 PM, Carlos Santana wrote: Hi I'm currently blessed to recently join a team (Marcel, James, Mike, Lisa) here at IBM dedicated to Apache Cordova. I have being using PhoneGap/Cordova for the last 3 years as a consumer working on an App for IBM (http://ibm.co/SVP7LK

Re: cordova-cli api

2013-06-05 Thread John Wargo
I agree - makes sense. On 6/4/2013 12:41 PM, Michael Brooks wrote: I'm in favour of using "build," "run," and "install" because these commands match the platform-scripts. They are also arguably more descriptive of their resulting action. Currently, the PhoneGap CLI also uses "build," "run," and

CLI output

2013-06-05 Thread John Wargo
When the CLI kicks out errors, I wonder if developers would benefit from some additional information being spit out with the error. I'm thinking that my recent toubleshooting efforts would benefit from it spitting out the CLI version, Node version, and the CLI file and line number that was bein

Re: ant-based command line tools

2013-06-03 Thread John Wargo
s is not common across all platforms. If the platform sdk uses ANT, then the scripts will too. - Lorin On Sat, Jun 1, 2013 at 3:19 PM, Filip Maj wrote: Which ant-based tools are you talking about? Which project? On 5/29/13 7:38 PM, "John Wargo" wrote: With the release of Cordov

Re: ant-based command line tools

2013-06-03 Thread John Wargo
Android, iOS, BlackBerry. On 6/1/2013 6:19 PM, Filip Maj wrote: Which ant-based tools are you talking about? Which project? On 5/29/13 7:38 PM, "John Wargo" wrote: With the release of Cordova 3.0, will the ant-based command line tools go away or will they remain for posterity's sake? .

Re: 2nd Introduction

2013-06-03 Thread John Wargo
st under the cordova umbrella of projects? On 5/30/13 10:10 AM, "John Wargo" wrote: Hello again, I received my employer's (SAP) approval to contribute to the project, so I signed and filed the Apache CLA this morning and will start contributing to the docs ASAP. If anyone wants

2nd Introduction

2013-05-30 Thread John Wargo
Hello again, I received my employer's (SAP) approval to contribute to the project, so I signed and filed the Apache CLA this morning and will start contributing to the docs ASAP. If anyone wants to start assigning doc tasks to me in JIRA, I'll be happy to start making updates. John M. Wargo

ant-based command line tools

2013-05-29 Thread John Wargo
With the release of Cordova 3.0, will the ant-based command line tools go away or will they remain for posterity's sake?

Re: bada, Symbian, Tizen and webOS

2013-05-29 Thread John Wargo
available. We should update the docs to reflect that. (Would be good to get Jira tickets for all.) On Wed, May 29, 2013 at 5:34 AM, John Wargo wrote: I've been poking through the Cordova downloads and noticed that the files for bada, Symbian, Tizen and webOS are no longer included. Why is that?

bada, Symbian, Tizen and webOS

2013-05-29 Thread John Wargo
I've been poking through the Cordova downloads and noticed that the files for bada, Symbian, Tizen and webOS are no longer included. Why is that? I just submitted a Jira ticket for the Symbian getting started page, but the getting started pages for all of those OS are incorrect as the files and

Introduction

2013-05-29 Thread John Wargo
Hello, my name is John Wargo - I'm the author of PhoneGap Essentials (www.phonegapessentials.com) and I'm working on an update to the book which will be out later this year. I will have some questions related to the direction the project is taking and how some of the stuff is suppos