I'm baaaaaack!

2017-08-22 Thread John M. Wargo
Greetings Cordova Dev Team! Its been a while, so I thought I'd pop on the list and re-introduce myself. Hello, my name is John M. Wargo and I've been a Cordova developer since PhoneGap version 2 (more or less). I was a contributor for many years and wrote 4 books on Apache Cordova/PhoneGap

Re: Stepping aside

2015-05-16 Thread John M. Wargo
community and we really appreciate the years of work you've dedicated to the project.) also: would love to see you at PGD! On Sat, May 16, 2015 at 3:33 AM, John M. Wargo jwarg...@gmail.com wrote: All, SAP eliminated my position back in March, so I'm no longer involved with SAP's Cordova-based

Stepping aside

2015-05-15 Thread John M. Wargo
conferences and at PhoneGap day this year if possible. -- John M. Wargo @johnwargo http://twitter.com/johnwargo www.johnwargo.com http://www.johnwargo.com --

Apache Cordova 4 Programming book

2015-04-29 Thread John M. Wargo
Cordova Devs, I wanted to let everyone know that Apache Cordova 4 Programming has been released and is available online: http://www.informit.com/store/apache-cordova-4-programming-9780134048192. -- John M. Wargo @johnwargo http://twitter.com/johnwargo www.johnwargo.com http

News Feed Broken

2015-04-06 Thread John M. Wargo
I noticed that the Cordova news feed at http://cordova.apache.org/rss.xml is broken. I've filed a ticket. https://issues.apache.org/jira/browse/CB-8800 -- John M. Wargo @johnwargo http://twitter.com/johnwargo www.johnwargo.com http://www.johnwargo.com --

Doc issues

2015-03-28 Thread John M. Wargo
I want to start tackling some of the open doc issues in JIRA, can someone set me up so I can assign tasks to myself? JIRA user name is jwargo. -- *John M. Wargo* www.johnwargo.com

Re: Setting config.json values

2015-03-26 Thread John M. Wargo
be obvious, but...) On Thu, Mar 26, 2015 at 6:57 AM, John M. Wargo jwarg...@gmail.com wrote: Earlier this month, there was a conversation on this thread about enabling auto saving of plugin information to the project's config.json file (.cordova/config.json, right?) by setting auto_save_plugins

Setting config.json values

2015-03-26 Thread John M. Wargo
parameter that points to a configuration file containing default settings for the project would be a useful thing to have. What says the group? -- John M. Wargo @johnwargo http://twitter.com/johnwargo www.johnwargo.com http://www.johnwargo.com --

Re: Some thoughts/questions on the new --save feature

2015-03-11 Thread John M. Wargo
You used to be able to pass settings for the project's config.json file on the command line to create: cordova create test com.johnwargo.test Test {\autosave\:\true\} That worked pre-4.0 but didn't seem to work in my moments ago test of this with the latest version. It would make the .cordova

Re: Cordova plugin namespace

2015-01-31 Thread John M. Wargo
, John M. Wargo j...@johnwargo.com wrote: Looking at the plugin guide at http://cordova.apache.org/ docs/en/4.0.0/plugin_ref_spec.md.html the first sentence on the page refers to a Cordova Plugin Namespace page that no longer exists: http://apache.org/cordova/ns/plugins/1.0. Anyone know what

Re: Plugin management ?

2015-01-30 Thread John M. Wargo
I published a node module a while back that does it. I originally published it as cordova-create, but changed it to cdva-create so I wouldn't disturb anything the Cordova team did in the future. https://www.npmjs.com/package/cdva-create On 1/22/2015 5:36 AM, Stéphane Wirtel wrote: Hi all,

Cordova plugin namespace

2015-01-27 Thread John M. Wargo
Looking at the plugin guide at http://cordova.apache.org/docs/en/4.0.0/plugin_ref_spec.md.html the first sentence on the page refers to a Cordova Plugin Namespace page that no longer exists: http://apache.org/cordova/ns/plugins/1.0. Anyone know what happened to it? -- *John M. Wargo

Re: Created a plugin to help with local plugin development

2015-01-19 Thread John M. Wargo
know and I'll make the change. John M. Wargo -Original Message- From: Michal Mocny [mailto:mmo...@google.com] Sent: Monday, December 1, 2014 2:14 PM To: dev Subject: FYI: Created a plugin to help with local plugin development Took the opportunity to use our new plugin hooks and created

Re: Self Introduction Letter

2014-12-31 Thread John M. Wargo
Welcome! You'll want to follow the process documented here: http://cordova.apache.org/#contribute. On 12/28/2014 5:44 AM, koldv...@gmail.com wrote: Dear Sir/Madam, I would like to offer my services as contributor, especially as a developer, to your community. I am a final year

Fwd: Firefox OS problem

2014-11-22 Thread John M. Wargo
Nevermind. Stupid User Problem. Original Message Subject:Firefox OS problem Date: Fri, 21 Nov 2014 21:27:40 -0500 From: John M. Wargo jwarg...@gmail.com To: Cordova Dev dev@cordova.apache.org Guys, There seems to be a problem with the Firefox OS platform

Firefox OS problem

2014-11-21 Thread John M. Wargo
: Error: unauthorized Name or password is incorrect.: cordova-firefoxos/3.6.3 C:\Users\jwargo\dev\ac4p\compass Some sort of password problem with npm? -- John M. Wargo @johnwargo http://twitter.com/johnwargo www.johnwargo.com http://www.johnwargo.com --

Re: Plugman issues/questions

2014-10-30 Thread John M. Wargo
/blob/master/doc/help.txt [2] https://github.com/apache/cordova-plugin-file/blob/master/plugin.xml [3] https://issues.apache.org/jira/browse/CB-7246 On Wed, Oct 29, 2014 at 10:43 AM, Brian LeRoux b...@brian.io wrote: thats def a bug John / pls file! On Wed, Oct 29, 2014 at 5:52 AM, John M. Wargo

Re: Plugman issues/questions

2014-10-30 Thread John M. Wargo
://issues.apache.org/jira/browse/CB-7246 On Wed, Oct 29, 2014 at 10:43 AM, Brian LeRoux b...@brian.io wrote: thats def a bug John / pls file! On Wed, Oct 29, 2014 at 5:52 AM, John M. Wargo jwarg...@gmail.com wrote: I'm playing around with plugman in Cordova 4.0 and have found some issues

Plugman issues/questions

2014-10-29 Thread John M. Wargo
, it doesn't explain anywhere how to set the description for the plugin - I'm assuming it's through a readme.md file. I also don't see anywhere I can login to the registry site and edit my entry. I'm assuming also that keywords are set through the package.json file? -- John M. Wargo @johnwargo http

Re: Plugman issues/questions

2014-10-29 Thread John M. Wargo
] https://issues.apache.org/jira/browse/CB-7246 On Wed, Oct 29, 2014 at 10:43 AM, Brian LeRoux b...@brian.io wrote: thats def a bug John / pls file! On Wed, Oct 29, 2014 at 5:52 AM, John M. Wargo jwarg...@gmail.com wrote: I'm playing around with plugman in Cordova 4.0 and have found some issues

Re: Plugman issues/questions

2014-10-29 Thread John M. Wargo
, 2014 at 1:41 PM, John M. Wargo jwarg...@gmail.com wrote: Steve, I'd love to make the changes, but I can't right now. With my day job and trying to finish up Apache Cordova 4 Programming at night, I won't be able to contribute any doc changes until after that is done. Yeah, I figured as much

Re: Plugman issues/questions

2014-10-29 Thread John M. Wargo
Filed: https://issues.apache.org/jira/browse/CB-7900. On 10/29/2014 1:43 PM, Brian LeRoux wrote: thats def a bug John / pls file! On Wed, Oct 29, 2014 at 5:52 AM, John M. Wargo jwarg...@gmail.com wrote: I'm playing around with plugman in Cordova 4.0 and have found some issues and have some

Ubuntu requirements not met with CLI installation

2014-09-28 Thread John M. Wargo
I setup a clean ubuntu installation yesterday and get an error when creating a new project. Apparently during the CLI installation a required module isn't being installed. When you install QTCreator, the error goes away. I've created a JIRA ticket for this:

Re: Node Hook?

2014-09-23 Thread John M. Wargo
: console.log('this is a node module'); When I do that, I get a different error: Hook failed with error code Unknown system errno 193: C:\Users\jwargo\dev\lunchmenu\hooks\before_prepare\test.js -- John M. Wargo @johnwargo http://twitter.com/johnwargo www.johnwargo.com http

Re: Node Hook?

2014-09-23 Thread John M. Wargo
is in extractSheBangInterpreter https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/cordova/hooker.js#L87. Not sure, but it looks like you have a space after #! in your shebang line and the regexp in extractSheBangInterpreter is not expecting it. On Mon, Sep 22, 2014 at 12:46 PM, John M. Wargo jwarg...@gmail.com

Node Hook?

2014-09-22 Thread John M. Wargo
('this is a node module'); When I do that, I get a different error: Hook failed with error code Unknown system errno 193: C:\Users\jwargo\dev\lunchmenu\hooks\before_prepare\test.js -- John M. Wargo @johnwargo http://twitter.com/johnwargo www.johnwargo.com http://www.johnwargo.com --

Re: Cordova-Create Module

2014-09-19 Thread John M. Wargo
shell (aka what `cordova create` does). I think this is more like a boilerplate app (akin to what yeoman does, perhaps). No suggestions beyond that. Anyway, thanks for sharing! -Michal On Sun, Sep 14, 2014 at 10:00 AM, John M. Wargo jwarg...@gmail.com wrote: I recently created a node module

targetWidth and targetHeight are not being interpreted consistently across platforms

2014-09-18 Thread John M. Wargo
. Is this something someone can take a look at? It's an inconsistency in the API. -- John M. Wargo @johnwargo http://twitter.com/johnwargo www.johnwargo.com http://www.johnwargo.com --

Re: Need help to develop a plugin to call a native IOS Libraries from the Phone gap

2014-09-14 Thread John M. Wargo
Ram, This is the list used by the developers of Apache Cordova. If you want to know how to do anything with Apache Cordova, the best place to start is the documentation at http://cordova.apache.org/docs/en/3.5.0/. Support questions are best answered on Stack Overflow:

Cordova-Create Module

2014-09-14 Thread John M. Wargo
I recently created a node module called Cordova-create that takes care of the typical developer new project workflow. It makes calls to create, then adds a set of platforms and a set of plugins to the project. I did this because I found myself performing the same steps over and over again

Re: HTML5DevConf Intro talk slides interview

2014-07-02 Thread John M. Wargo
UI is way beyond the scope of Cordova. If one were included, most would yank it out and use something else. Use whatever you want, it's HTML, CSS and JavaScript. John M. Wargo On Jun 27, 2014, at 3:34 PM, Ajai Khattri a...@bitblit.net wrote: On Wed, May 28, 2014 at 04:27:24PM -0400, Lisa

Re: cordova-lib versioning proposal

2014-04-25 Thread John M. Wargo
Rush album titles. On 4/17/2014 5:08 PM, Brian LeRoux wrote: Since cordova-lib is going to be a sort of container for a whole bunch of node modules with their own versioning in package.json we need to come up with our convention for tagging releases of the aggregate cordova-lib itself. Ubuntu

Re: Hooks

2014-04-25 Thread John M. Wargo
But a complete project template could include hooks and even merges. John M. Wargo On Apr 22, 2014, at 12:11 PM, Brian LeRoux b...@brian.io wrote: working only for www makes sense to me. if I'm creating a wholesale copy why not just cp -r? changing the namespace? On Tue, Apr 22, 2014

Re: Looking forward to contribute | Introducing myself

2014-02-06 Thread John M. Wargo
Have you looked here: http://cordova.apache.org/docs/en/3.3.0/guide_hybrid_plugins_index.md.html#Plugin%20Development%20Guide. On 2/5/2014 11:08 PM, Asanka Nissanka wrote: I would love to share my experience on plugin development. I had a look at the wiki and I need to whether there are any

Re: Hangout?

2014-01-29 Thread John M. Wargo
@cordova.apache.org Subject: Hangout? The hangout is in a few minutes, right? John M. Wargo Twitter: @johnwargohttps://twitter.com/johnwargo

Hooks?

2014-01-29 Thread John M. Wargo
So, what exactly are hooks? -- John M. Wargo @johnwargo http://twitter.com/johnwargo www.johnwargo.com http://www.johnwargo.com --

Re: Hooks?

2014-01-29 Thread John M. Wargo
, with subdirectories for each time: pre-prepare, post-prepare, pre-build, post-build, etc. They're part of cordova-cli, which runs them automatically. I don't know if they're properly documented anywhere. On Wed, Jan 29, 2014 at 12:59 PM, John M. Wargo jwarg...@gmail.com wrote: So, what

targetWidth and targetHeight are not being interpreted consistently across platforms

2014-01-29 Thread John M. Wargo
Finally got around to submitting the JIRA ticket on the camera api targetWidth and targetHeight issues I documented last year. Sorry for the delay - had yet another book to finish... https://issues.apache.org/jira/browse/CB-5942 -- John M. Wargo @johnwargo http://twitter.com/johnwargo

Re: template?

2014-01-03 Thread John M. Wargo
sorry, not JSON file, but JSON string. On 1/3/2014 11:16 AM, John Wargo wrote: 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

Re: CLI version to install

2013-12-24 Thread John M. Wargo
I did not know that, thanks! On 12/24/2013 2:41 PM, Dan Moore wrote: Hi John, I believe npm view cordova shows all the versions available in npm. Dan

Re: CLI version to install

2013-12-24 Thread John M. Wargo
I didn't know that either, thanks. Learn something new every day. Merry Christmas all and to all a good night. On 12/24/2013 3:40 PM, Brian LeRoux wrote: Or `npm info cordova` On Dec 25, 2013 5:49 AM, Dan Moore moore...@yahoo.com wrote: Hi John, I believe npm view cordova shows all the

Fwd: Camera targetWidth targetHeight

2013-12-16 Thread John M. Wargo
the other. Original Message Subject:Camera targetWidth targetHeight Date: Mon, 02 Dec 2013 22:15:06 -0500 From: John M. Wargo jwarg...@gmail.com To: Cordova Dev dev@cordova.apache.org A while back I posted a question regarding Camera targetWidth targetHeight

Re: Help required on moving files

2013-12-06 Thread John M. Wargo
Prasad, This is a list for developers working on the Cordova Framework. If you want help using Cordova, you should post your questions to: https://groups.google.com/forum/#!forum/phonegap https://groups.google.com/forum/#%21forum/phonegap The Camera API has an option for saving photos to the

Re: Camera API: correctOrientation

2013-12-05 Thread John M. Wargo
That makes sense. As I only have this iOS 7 device, can someone do a quick test on an older version of the OS? On 12/5/2013 9:51 AM, Andrew Grieve wrote: One explanation is that the iOS camera now always rotates the image for you? On Thu, Dec 5, 2013 at 9:11 AM, John M. Wargo jwarg

Re: Camera API: correctOrientation

2013-12-05 Thread John M. Wargo
, correctOrientation doesn't modify exif, it rotates image bits. Can you share your test app John? Sent from my iPhone On Dec 5, 2013, at 7:42 AM, John M. Wargo jwarg...@gmail.com wrote: That makes sense. As I only have this iOS 7 device, can someone do a quick test on an older version of the OS

Camera API: correctOrientation

2013-12-04 Thread John M. Wargo
: false. either I don't know what I'm looking for, I can't code or this option simply does nothing. :-) -- John M. Wargo @johnwargo http://twitter.com/johnwargo www.johnwargo.com http://www.johnwargo.com --

Re: Camera API: correctOrientation

2013-12-04 Thread John M. Wargo
I can't get it to do anything on iOS, so I think it's broken. Any chance someone can do a quick test to confirm my suspicion? Probably need to remove it from the docs if it doesn't do anything. On 12/4/2013 8:41 PM, Jesse wrote: It appears to do nothing, except on iOS. It is listed as

Cordova download link broken

2013-12-02 Thread John M. Wargo
The default download link on cordova.io points to https://www.apache.org/dist/cordova/cordova-3.1.0-src.zip Which is currently generating an error: Not Found The requested URL /dist/cordova/cordova-3.1.0-src.zip was not found on this server.

Camera targetWidth targetHeight

2013-12-02 Thread John M. Wargo
and a spreadsheet with my results to https://github.com/johnwargo/camera_res_test -- John M. Wargo @johnwargo http://twitter.com/johnwargo www.johnwargo.com http://www.johnwargo.com --

Re: Camera targetWidth targetHeight

2013-12-02 Thread John M. Wargo
specify the width or height it will determine what the other value should be by using the same aspect ration as the original image. Simon Mac Donald http://hi.im/simonmacdonald On Mon, Dec 2, 2013 at 10:15 PM, John M. Wargo jwarg...@gmail.com wrote: A while back I posted a question regarding

Re: Publishing plugins to Git

2013-09-09 Thread John M. Wargo
Andrew, Thank you, I'll try that. On 9/8/2013 8:16 PM, Andrew Grieve wrote: You didn't use the correct URL. Try: https://github.com/johnwargo/cordova-programming-code.git#master:plugins/carrier On Sun, Sep 8, 2013 at 1:33 PM, John Wargo j...@johnwargo.com wrote: Is there anything special

Re: Camera API

2013-08-28 Thread John M. Wargo
I could spend some time working through the permutations on a few platforms (Android, BB 10, iOS and Windows Phone), but will be a while before I can get to it - I've got a day job and I'm trying to finish writing a book with three chapters to go and a deadline approaching. If nobody else can

Re: Camera API

2013-08-28 Thread John M. Wargo
I went back and looked at the manuscript for PhoneGap Essentials and back then (a year and a half ago) I had tested this and wrote the following: The targetHeight targetWidth parameters are supposed to control the height and width of the image obtained using getPicture. In my testing though,

Re: core APIs and the CLI

2013-08-22 Thread John M. Wargo
OK, I just whacked everything and started over. I opened a terminal window on Macintosh and issued the following commands: jmw-mini:~ jwargo$ cd dev jmw-mini:dev jwargo$ cordova create test jmw-mini:dev jwargo$ cd test jmw-mini:test jwargo$ cordova platform add android ios jmw-mini:test jwargo$

Serve vs. opening an HTML file in the browser

2013-08-02 Thread John M. Wargo
Can someone help me understand why I would want to use cordova serve rather than just loading the web content in the browser directly (through File - Open for example)? Is there something special that serve does that makes this approach better?

console.log

2013-07-28 Thread John M. Wargo
or something? -- John M. Wargo @johnwargo http://twitter.com/johnwargo www.johnwargo.com http://www.johnwargo.com --

Re: console.log

2013-07-28 Thread John M. Wargo
Nevermind, I found it. On 7/28/2013 9:32 AM, John M. Wargo wrote: I remember seeing something on the dev lists a while back about console.log and I can't remember the resolution. It doesn't seem to be working in Cordova on iOS (my Android config stopped working with the latest ADT, so I can't