Re: PhoneGap Day US - In Utah next week

2016-01-20 Thread Don Coleman
I'll be there. On Wed, Jan 20, 2016 at 8:25 PM, Jesse wrote: > Who all from this list is attending PGD next week in Utah? > Of course the whole Adobe PhoneGap team will be there, including members > from 4 corners of North America, and 1.5 Australians. > > Cheers, >

moving plugins to npm

2015-04-16 Thread Don Coleman
I'm little nervous about changing the ids for my plugins for npm. I like the cordova-plugin-* prefix. I think the consistency is good. Is there any concern that the namespace is too small? Will newer versions of plugman automatically install the right plugin based on the id mapping or does it

Re: plugin install using old version with cordova 4.2

2015-03-05 Thread Don Coleman
config.xml for your plugin? Have you used the --save switch earlier for instance? -- Gorkem On 4 Mar 2015, at 23:22, Don Coleman wrote: I published a new version of my plugin http://plugins.cordova.io/#/package/com.megster.cordova.ble, but my local machine keeps installing the old 0.1.3

plugin install using old version with cordova 4.2

2015-03-04 Thread Don Coleman
I published a new version of my plugin http://plugins.cordova.io/#/package/com.megster.cordova.ble, but my local machine keeps installing the old 0.1.3 version. $ cordova -d plugin add com.megster.cordova.ble Calling plugman.fetch on plugin com.megster.cordova.ble Fetching plugin

Re: BB10 Invoke Plugin

2015-02-25 Thread Don Coleman
Thanks Josh. This isn't high priority, any help is appreciated. I'll look for you on irc. On Wed, Feb 25, 2015 at 11:32 AM, Josh Soref jso...@blackberry.com wrote: Don wrote: I'm seeing both the success and failure callbacks being called on success with the BlackBerry invoke plugin

BB10 Invoke Plugin

2015-02-24 Thread Don Coleman
I'm seeing both the success and failure callbacks being called on success with the BlackBerry invoke plugin http://plugins.cordova.io/#/package/com.blackberry.invoke. cordova.exec(success, failure, com.blackberry.invoke, invoke, {request: query}); See

ArrayBuffers in WP8 Plugins

2015-02-10 Thread Don Coleman
Are there any examples of deserializing arraybuffers in WP8 plugins? I'm looking for the WP8 equivalent of Android's byte[] data = args. getArrayBuffer(3);

Re: [All Platforms][CordovaJS] NO_RESULT handling

2015-01-08 Thread Don Coleman
I know this is an old thread but I'm seeing problems with this in my Bluetooth plugins now that people are upgrading. Cordova 4.1.2 with iOS 3.7.0 is broken. NO_RESULT calls the failure callback. After downgrading to Cordova 4.0.0 with iOS 3.6.0 the plugin works as expected. I use NO_RESULT

Re: [All Platforms][CordovaJS] NO_RESULT handling

2015-01-08 Thread Don Coleman
at 3:30 PM, Shazron shaz...@gmail.com wrote: Don, this change was just proposed and hasn't been implemented yet, so I'm not sure how you see a difference. https://github.com/apache/cordova-ios/compare/3.6.x...3.7.x On Thu, Jan 8, 2015 at 11:02 AM, Don Coleman don.cole...@gmail.com wrote: I

Re: cordova-browser plugin polyfills -- which projects already have work in this space?

2014-11-14 Thread Don Coleman
Does the browser platform always target Chrome? When implementing the browser platform in a plugin can I access protected chrome APIs such as https://developer.chrome.com/apps/bluetooth and https://developer.chrome.com/apps/bluetoothLowEnergy? On Fri, Nov 14, 2014 at 4:07 PM, Ray Camden

Re: PhoneGap day

2014-10-17 Thread Don Coleman
I'll be there On Oct 17, 2014, at 9:29 PM, tommy-carlos williams to...@devgeeks.org wrote: I will certainly be there. On 18 October 2014 at 12:08:49, Jesse (purplecabb...@gmail.com) wrote: Who all is coming? I will be there for my first ever phonegap day. I've only been

Re: NFC and IOS

2014-09-16 Thread Don Coleman
Apple closed my by Add NFC APIs bug report as a duplicate. Engineering has determined that your bug report (18295114) is a duplicate of another issue (18337769) and will be closed. Is there any way to see the status or watch an Apple bug I didn't report? On Tue, Sep 16, 2014 at 3:31 PM, Kerri

plugin registry missing info from plugins.xml

2014-09-11 Thread Don Coleman
The plugins registry isn't listing platforms or the repository for my plugin. http://plugins.cordova.io/#/package/com.megster.cordova.ble https://github.com/don/cordova-plugin-ble-central/blob/master/plugin/plugin.xml I could use some help figuring out what the parser doesn't like with

Re: NFC and IOS

2014-09-10 Thread Don Coleman
Brian LeRoux b...@brian.io on Mon, 20 Jan 2014 09:29:58 -0800 - To: de...@cordova.apache.org de...@cordova.apache.org Subject: NFC API at W3C Of potential interest. (Esp to Don Coleman!) http://www.w3.org/blog/news/archives/3586 © 2007-2014 MarkLogic Corporation. All rights reserved. Home

Re: Plugin path when installing from git

2014-08-22 Thread Don Coleman
/edge/guide_cli_index.md.html You can also combine both the git-ref and the subdirectory: $ cordova plugin add https://github.com/someone/aplugin.git#r0.0.1:/my/sub/dir On Thu, Aug 21, 2014 at 2:31 PM, Don Coleman don.cole...@gmail.com wrote: What's the syntax for installing a plugin

Plugin path when installing from git

2014-08-21 Thread Don Coleman
What's the syntax for installing a plugin from a subdirectory in git? I can install the plugin from a local copy with cordova plugin add ~/phonegap-nfc/tests But I can't figure out the URL to install this from git https://github.com/chariotsolutions/phonegap-nfc/tree/master/tests

Re: iOS equivalent of CordovaArgs getJSONArray() and getArrayBuffer()

2014-08-19 Thread Don Coleman
, 2014 at 9:28 PM, Don Coleman don.cole...@gmail.com wrote: Is there an iOS equivalent of Android's CordovaArgs getJSONArray() and getArrayBuffer()?

iOS equivalent of CordovaArgs getJSONArray() and getArrayBuffer()

2014-08-18 Thread Don Coleman
Is there an iOS equivalent of Android's CordovaArgs getJSONArray() and getArrayBuffer()?

Re: sans sudo on npm install

2014-05-11 Thread Don Coleman
+1 On May 11, 2014 6:37 AM, Marcel Kinard cmarc...@gmail.com wrote: I'm not a Node.js expert, but the Linux person inside me says that using sudo to install and run things ought to be avoided if possible. Would there be objection if I changed cordova-docs to omit sudo from the npm install

Re: [VOTE] Cordova 3.2.0

2014-02-25 Thread Don Coleman
+1 On Tue, Feb 25, 2014 at 4:55 PM, RUDD, Brett brettr...@gmail.com wrote: +1 On Feb 25, 2014, at 12:24, Steven Gill stevengil...@gmail.com wrote: Please review and vote on our past release of Cordova 3.2.0. You can find the src + asc + md5 + sha at the following links: *

Re: MessageQueue seems to stop sending messages to the webView

2014-02-24 Thread Don Coleman
Andrew, I'm seeing similar behavior for a plugin I'm working on. I might be able to get you a sample if James doesn't have one. - Don On Mon, Feb 24, 2014 at 2:14 PM, Andrew Grieve agri...@chromium.org wrote: On Mon, Feb 24, 2014 at 2:14 PM, Andrew Grieve agri...@chromium.org wrote:

Re: cordova launcher icon support https://github.com/apache/cordova-cli/pull/126

2014-02-21 Thread Don Coleman
Icons are a drag. Explicit configuration sucks, but is the way to go. It would be nice if the Cordova solution was compatible with PhoneGap Build iconshttp://docs.build.phonegap.com/en_US/3.1.0/configuring_icons_and_splash.md.html#Icons%20and%20Splash%20Screens . On Fri, Feb 21, 2014 at 11:24

Re: BlackBerry 10 - config.xml iicon entries are not filtered for gap:platform

2014-02-21 Thread Don Coleman
...@bryanhiggins.netwrote: I'd like to see config.xml have a platform tag similar to plugin.xml. Neither Cordova nor BlackBerry native tools should understand PhoneGap attributes. On Thu, Feb 20, 2014 at 5:26 PM, Don Coleman don.cole...@gmail.com wrote: I have a project that uses PhoneGap build for iOS

Re: Cordova 3.3.1-0.4.2 and BlackBerry 10 can't deploy to connected device

2014-02-20 Thread Don Coleman
behaviour. In 3.3.1-0.4.2, you can work around by passing in --device. I'll look into the issue you're seeing with release builds. Thanks, Bryan On Tue, Feb 18, 2014 at 8:10 PM, Don Coleman don.cole...@gmail.com wrote: It looks like 3.3.1-0.4.2 has more problems * release builds

Re: Cordova 3.3.1-0.4.2 and BlackBerry 10 can't deploy to connected device

2014-02-20 Thread Don Coleman
this would be a problem. For 3.4, I've updated cordova-blackberry to make this the default behaviour. In 3.3.1-0.4.2, you can work around by passing in --device. I'll look into the issue you're seeing with release builds. Thanks, Bryan On Tue, Feb 18, 2014 at 8:10 PM, Don Coleman

BlackBerry 10 - config.xml iicon entries are not filtered for gap:platform

2014-02-20 Thread Don Coleman
I have a project that uses PhoneGap build for iOS and Android, and uses Cordova to build for BlackBerry 10. The icons are specified in config.xml icon src=icon.png / icon src=res/icon/android/icon-36-ldpi.png gap:platform=android gap:density=ldpi / icon

Re: ApacheCon attendees and talks

2014-02-19 Thread Don Coleman
: The Cordova Development Lifecycle (how we manage 50 repos and not go insane) lightning talk: Cordova's Sweet Spot (e.g. what kind of apps are good fits for hybrid) Steve Gill Don Coleman Presentation - Connecting Arduino and Phones with Bluetooth and Cordova Presentation

Cordova 3.3.1-0.4.2 and BlackBerry 10 can't deploy to connected device

2014-02-18 Thread Don Coleman
Cordova 3.3.1-0.4.2 can't find an deploy to locally attached devices. $ cordova run blackberry10 --devicepass ff Generating config.xml from defaults for platform blackberry10 Preparing blackberry10 project Running app on platform blackberry10 via command

Re: Cordova 3.3.1-0.4.2 and BlackBerry 10 can't deploy to connected device

2014-02-18 Thread Don Coleman
It looks like 3.3.1-0.4.2 has more problems * release builds don't get the version number from config.xml * release builds don't get use the launch icon from config.xml Is anyone using 3.4 with BB10? On Tue, Feb 18, 2014 at 6:02 PM, Don Coleman don.cole...@gmail.com wrote: Cordova 3.3.1

Re: Fw: Help us make ApacheCon a huge success

2014-02-01 Thread Don Coleman
I submitted 2 talks and a lab Presentation - Connecting Arduino and Phones with Bluetooth and Cordova Presentation - Writing NFC applications with Apache Cordova Lab - Hands on with NFC and Apache Cordova On Fri, Jan 31, 2014 at 7:40 PM, Andrew Savory asav...@apache.org wrote: Hey Joe,

Re: Camera does too many things!!!!

2014-01-24 Thread Don Coleman
I like the Camera API because it's simple. Capture might be standard but it seems too complex. Resizing and orientation are important features. I never use data URLs. What's going on in the standards bodies around image capture? Is there an emerging standard that we could scope down to, or is

Re: NFC API at W3C

2014-01-20 Thread Don Coleman
@cordova.apache.org Subject: NFC API at W3C Of potential interest. (Esp to Don Coleman!) http://www.w3.org/blog/news/archives/3586

Re: Something up with plugins.cordova.io?

2014-01-14 Thread Don Coleman
http://plugins.cordova.io seems borked. It's slow, pages aren't loading, search is broken. Does something need to be restarted? On Thu, Jan 9, 2014 at 4:16 AM, Erik Jan de Wit ede...@redhat.com wrote: Still something strange going on, there is no way to search! Cheers, Erik Jan

Re: Cordova 3.3.1-0.1.2 doesn't load javascript for plugins

2013-12-20 Thread Don Coleman
not updated) just repro'ed your steps with 3.3.1-0.1.2 if you tried device.model - it should work On Thu, Dec 19, 2013 at 3:49 PM, Don Coleman don.cole...@gmail.com wrote: I upgraded to 3.3.1-0.1.2 and iOS isn't working anymore. Based on Greg's bug report it looks like Android has a similar

Re: Cordova 3.3.1-0.1.2 doesn't load javascript for plugins

2013-12-20 Thread Don Coleman
/. Braden - did you ever file this bug? On Fri, Dec 20, 2013 at 9:35 AM, Don Coleman don.cole...@gmail.com wrote: *device.name http://device.name *was a bad example. The problems I'm seeing is that *device* doesn't exist. This also happens with other plugins I've tried

Cordova 3.3.1-0.1.2 doesn't load javascript for plugins

2013-12-19 Thread Don Coleman
I upgraded to 3.3.1-0.1.2 and iOS isn't working anymore. Based on Greg's bug report it looks like Android has a similar problem https://issues.apache.org/jira/browse/CB-5647 I'm using Cordova 3.3.1-0.1.2 on OS X 10.9.1, Xcode 5.0.2 (5A3005), Node v0.10.22 $ cordova create foo com.example.foo Foo

Re: JAVA_HOME

2013-12-05 Thread Don Coleman
I was hoping this fix was going to make 3.2.0-0.4.0 but it looks like it's marked as 3.3 in JIRA. Would it be difficult to get this fix into 3.2.0-0.5.0? https://issues.apache.org/jira/browse/CB-5422 On Tue, Dec 3, 2013 at 12:08 PM, Marcel Kinard cmarc...@gmail.com wrote: Yeah. It's really

Re: plugins tag, and accessing the plugin list

2013-11-14 Thread Don Coleman
JavaScript only plugin implementations are valid on BlackBerry 10. Some things that require native code on Android can be implemented in client side JavaScript on BlackBerry using com.blackberry.invoke. On Thu, Nov 14, 2013 at 12:26 PM, Joe Bowser bows...@gmail.com wrote: On Thu, Nov 14, 2013

source repository info in plugin spec?

2013-11-08 Thread Don Coleman
I'm glad we have a plugin repo http://plugins.cordova.io/, but it doesn't provide a lot of info about plugins. Can we consider adding a source repository tag to plugin.xml to help people get to the source and docs for plugins? https://npmjs.org/doc/json.html#repository

engines tag breaks cordova cli / plugman for BB10

2013-11-06 Thread Don Coleman
When plugin.xml contains an engines tag, the plugin fails to install with cordova or plugman If the engines tag is removed from plugin.xml, the plugin installs OK $ cordova create foo $ cd foo $ cordova platform add blackberry10 $ cordova plugin add

Re: BlackBerry 10 plugins and config.xml

2013-11-04 Thread Don Coleman
at 01:00:47PM -0500, Don Coleman wrote: I'm trying to update a BlackBerry 10 plugin to use Cordova 3.1.0. I'd like to map the plugin id, com.chariotsolutions.nfc.plugin, to NfcPlugin so the cordova.exec calls work across all platforms. No matter what I put in config.xml, Corodva appears

Re: CLI problems with WP8

2013-11-04 Thread Don Coleman
- From: Don Coleman [mailto:don.cole...@gmail.com] Sent: Monday, November 4, 2013 12:02 AM To: dev@cordova.apache.org Subject: CLI problems with WP8 cordova platform add wp8 is failing for me The cli add script is trying to run bin/create instead of wp8/bin/create Cordova 3.1.0-0.2.0 Windows

BlackBerry 10 plugins and config.xml

2013-11-03 Thread Don Coleman
I'm trying to update a BlackBerry 10 plugin to use Cordova 3.1.0. I'd like to map the plugin id, com.chariotsolutions.nfc.plugin, to NfcPlugin so the cordova.exec calls work across all platforms. No matter what I put in config.xml, Corodva appears to ignore it and use the plugin's id for calls

platform add android skips bat files on os x

2013-11-03 Thread Don Coleman
For cordova 3.1.0-0.2.0 cordova platform add android doesn't add platforms/android/cordova/*.bat files on OS X. Obviously I don't need the bat files on OS X but it causes cordova run android to fail when the project is checked out on windows. Is this intentional or should I file a bug?

Re: platform add android skips bat files on os x

2013-11-03 Thread Don Coleman
the need to checkin platforms now but still this was a hurdle we would like to get rid off. Axel Am 03.11.2013 19:10 schrieb Don Coleman don.cole...@gmail.com: For cordova 3.1.0-0.2.0 cordova platform add android doesn't add platforms/android/cordova/*.bat files on OS X

CLI problems with WP8

2013-11-03 Thread Don Coleman
cordova platform add wp8 is failing for me The cli add script is trying to run bin/create instead of wp8/bin/create Cordova 3.1.0-0.2.0 Windows 8.1 I'm hoping I might have something configured incorrectly? C:\Users\doncordova create foo Creating a new cordova project with name HelloCordova and

Cordova Plugins and CocoaPods

2013-10-31 Thread Don Coleman
I have some iOS code that we are converting into a Cordova plugin. The project uses CocoaPods to manage dependencies. Have you see any Cordova plugins that use CocoaPods or can you think of a way to make CLI and CocoaPods play nice together?

Re: endless recursion on phonegap local plugin add ../..

2013-10-23 Thread Don Coleman
I've seen this problem with cordova. My instructions for the examples have people copy the example folder out of the project before installing the plugin as a work around. On Oct 23, 2013, at 7:57 AM, Axel Nennker ignisvul...@gmail.com wrote: Hi, the above phonegap command fails (name

Re: endless recursion on phonegap local plugin add ../..

2013-10-23 Thread Don Coleman
of exactly the member files of the plugin. Braden On Wed, Oct 23, 2013 at 9:24 AM, Don Coleman don.cole...@gmail.com wrote: I've seen this problem with cordova. My instructions for the examples have people copy the example folder out of the project before installing the plugin

Re: endless recursion on phonegap local plugin add ../..

2013-10-23 Thread Don Coleman
and no problem. Braden On Wed, Oct 23, 2013 at 2:13 PM, Don Coleman don.cole...@gmail.com wrote: It would be useful for plugin.xml to exclude a directory such as examples when copying. I think examples are important, especially for 3rd party plugins and it's convenient to keep examples

Re: Publishing plugins to Git

2013-09-08 Thread Don Coleman
Plugman needs to clone the project, I'm not sure if you can clone a directory. I create a git project for each of my plugins e.g. https://github.com/don/BluetoothSerial.git On Sun, Sep 8, 2013 at 8:16 PM, Andrew Grieve agri...@chromium.org wrote: You didn't use the correct URL. Try:

Re: [CLI,Android] Removing FileTransfer plugin fails with ENOENT

2013-08-03 Thread Don Coleman
This is probably and issue, plugman doesn't work well when files are missing Usually you can touch the missing files and then uninstall $ touch /home/bdube/workspace/DropIt/**platforms/android/src/org/**apac he/cordova/core/**FileTransfer.java $ cordova -d plugin rm

Re: Android - Removing the .api namespace

2013-07-30 Thread Don Coleman
Is there a suggested way for plugins to support 2.9 and 3.0 with one code base? Currently I'm adding org.apache.corodva.api.Dummy.java to my project and using wildcard imports for org.apache.cordova.* and org.apache.cordova.api.* Normally I wouldn't care about 2.9 but I'm trying to support

cli docs - spaces in main activity name

2013-07-22 Thread Don Coleman
The CLI docs for creating an app, use a main activity name containing a space $ cordova create HelloWorld com.example.hello Hello World This works for iOS but fails on Android. Should we adjust the docs, or attempt to make the Android scripts remove spaces?

Re: cli docs - spaces in main activity name

2013-07-22 Thread Don Coleman
! Maybe we add a fourth param. On Mon, Jul 22, 2013 at 12:10 PM, Andrew Grieve agri...@chromium.org wrote: The third parameter is the app's title, so I think it should be made to work with spaces. On Mon, Jul 22, 2013 at 12:07 PM, Don Coleman don.cole...@gmail.com wrote: The CLI docs

Re: cli docs - spaces in main activity name

2013-07-22 Thread Don Coleman
Had those backwards https://issues.apache.org/jira/browse/CB-4198 is the issue. On Mon, Jul 22, 2013 at 1:41 PM, Don Coleman don.cole...@gmail.com wrote: Stripping spaces and other invalid chars seems preferable to adding another parameter. There is an issue https://issues.apache.org/jira

Re: using node modules in cordova plugins?

2013-07-03 Thread Don Coleman
more difficult to install. On Wed, Jul 3, 2013 at 9:59 AM, Bryan Bishop kanz...@gmail.com wrote: On Tue, Jul 2, 2013 at 5:53 PM, Don Coleman don.cole...@gmail.com wrote: I ripped a bunch of Javascript code out of my Cordova NFC plugin and created a NPM so I could reuse the code elsewhere

Re: using node modules in cordova plugins?

2013-07-03 Thread Don Coleman
:15 AM, Don Coleman don.cole...@gmail.com wrote: The code runs on a phone. https://github.com/don/phonegap-nfc I've moved some of the javascript from my cordova plugin into a node module so I could re-use it in other projects. I haven't integrated the node module back into the plugin

using node modules in cordova plugins?

2013-07-02 Thread Don Coleman
I ripped a bunch of Javascript code out of my Cordova NFC plugin and created a NPM so I could reuse the code elsewhere. Now, that the code is improved and tested, I'd like the plugin to use the code from the node package. Are there good ways to do this? Have you seen any examples?

Re: Developing Cordova plug-ins

2013-07-02 Thread Don Coleman
I develop plugins in a sample project, then copy the files into the plugman directory structure. If multiple projects use the plugin, I usually uninstall and re-install the plugin after making updates $ cordova plugin remove plugin_name $ cordova plugin add /path/to/plugin For cordovalib,

Re: missing www resources

2013-07-02 Thread Don Coleman
I've seen this error too with 2.9.0. Deleting ~/.cordova fixed it. I have not been able to duplicate. On Tue, Jul 2, 2013 at 11:13 PM, Andrew Grieve agri...@chromium.org wrote: Hey Tyler, I think your feedback here is actually quite valuable. Thanks for testing out the CLI tools! As you

Which repo?

2013-06-25 Thread Don Coleman
Should fixes for Media Capture go in cordova-android or cordova-plugin-media-capture or both?

Re: cordova-cli emulate deletes plugin's javascript

2013-06-03 Thread Don Coleman
the 2.7 and 2.8 config.xml? On Mon, Jun 3, 2013 at 7:54 PM, Filip Maj f...@adobe.com wrote: FYI cordova-cli is now at 2.8.0 on NPM. Don can you give that a shot and see if you're still seeing that problem? On 5/30/13 9:00 PM, Don Coleman don.cole...@gmail.com wrote: CB-2820 is similar

cordova-cli emulate deletes plugin's javascript

2013-05-30 Thread Don Coleman
cordova-cli 2.7.4 is deleting the javascript files for plugins when I run cordova emulate with Android. Anyone have ideas about how to track this down and fix it? It's pretty easy to duplicate $ git clone https://github.com/don/FileOpener.git $ cordova create foo $ cd foo $

Re: cordova-cli emulate deletes plugin's javascript

2013-05-30 Thread Don Coleman
https://issues.apache.org/jira/browse/CB-3556 On Thu, May 30, 2013 at 5:01 PM, Shazron shaz...@gmail.com wrote: Hi Don, do you mind filing an issue in JIRA so this doesn't get lost? A lot of devs are away at @jsconf currently On Thu, May 30, 2013 at 12:45 PM, Don Coleman don.cole

Re: cordova-cli problems on linux

2013-05-28 Thread Don Coleman
that directory? I agree that this sucks and it would be great to fix it. Braden On Tue, May 28, 2013 at 8:46 AM, Andrew Grieve agri...@chromium.org wrote: One hope here is that the problem will go away once we lazily fetch the platform repos. On Tue, May 28, 2013 at 12:28 AM, Don

cordova-cli problems on linux

2013-05-27 Thread Don Coleman
cordova platform add android was failing on linux with an error about the android-sdk-macosx don@localhost:~/tmp/foo$ cordova platform add android [Error: An error occured during creation of android sub-project. BUILD FAILED

Re: Sending BB7 to the farm

2013-05-08 Thread Don Coleman
I'd be happy to see BB7 go away. It seems like 3.0 could drop support, especially if BlackBerry is concentrating on 10 and not releasing webworks updates. I have a client asking for support BB7 along with Android and iOS. This probably means that I have a cordova-cli project and a separate BB7

Roadmap for BB7

2013-05-07 Thread Don Coleman
Is there a roadmap for BlackBerry 7 support in future versions of Cordova?

__MACOSX in 2.7.0 zipfile

2013-05-05 Thread Don Coleman
The phonegap-2.7.0.zip for distribution contains a __MACOSX directory with a bunch resource forks. Can we remove this files from the next distribution? If Finder's compress function is used to create the zip, we can remove the files after with zip -d phonegap-2.7.0.zip __MACOSX/* If the

Re: Ignore .svn files for building

2013-05-02 Thread Don Coleman
You're seeing this in cordova-cli? until.findPlugins could filter out .svn too https://github.com/apache/cordova-cli/blob/master/src/util.js#L67 On May 2, 2013 5:33 AM, tommy-carlos Williams to...@devgeeks.org wrote: This is a recurring theme. The logic for iterating the folders for things

Re: plugman + plugin spec final q's

2013-04-17 Thread Don Coleman
On Windows Phone the permission required to access NFC is ID_CAP_PROXIMITY. The ID_REQ_NFC restricts the application to running on only devices that have NFC. This would be equivalent to setting android:required to true for a feature uses-feature android:name=android.hardware.nfc

Re: WP8 Replacement for BaseCommand.InvokeCustomScript?

2013-04-16 Thread Don Coleman
@purplecabbage risingj.com On Mon, Apr 15, 2013 at 9:23 PM, Don Coleman don.cole...@gmail.com wrote: BaseCommand.InvokeCustomScript is marked as obsolete in cordova-wp8. My plugin has native code fire a JavaScript event. On Android I do this with plugin.webView.sendJavascript(command

WP8 Replacement for BaseCommand.InvokeCustomScript?

2013-04-15 Thread Don Coleman
BaseCommand.InvokeCustomScript is marked as obsolete in cordova-wp8. My plugin has native code fire a JavaScript event. On Android I do this with plugin.webView.sendJavascript(command). On WP8, I can't access the webView, so I use a custom script to fire the event. Is there a replacement for

Re: File Transfer is failing in MobileSpec on Android.

2013-04-09 Thread Don Coleman
for our testing purposes? This way we can have this server running on apache infra that all of our committers can access and tweak and fix etc. http://apache.org/dev/freebsd-jails On 4/8/13 8:54 PM, Don Coleman don.cole...@gmail.com wrote: I restarted the nodejitsu server. Uploads

Re: Capture - specify video quality

2013-03-24 Thread Don Coleman
complaints about hybrid apps of late are that they sometimes abstract too much of the underlying platform, I generally do think sensible simplification is the way to go) On Fri, Mar 22, 2013 at 8:41 PM, Shazron shaz...@gmail.com wrote: I would map them. On Fri, Mar 22, 2013 at 2:35 PM, Don

Re: http://cordova-filetransfer.jitsu.com/

2013-03-20 Thread Don Coleman
, 2013 at 8:03 PM, Don Coleman don.cole...@gmail.com wrote: Shazron, I updated the code and redeployed to nodejitsu Fil, I added the code to a fork. https://github.com/don/cordova-labs Should I issue the pull request against master or should someone create a 'cordova-filetransfer

Re: http://cordova-filetransfer.jitsu.com/

2013-03-20 Thread Don Coleman
-filetransfer branch On Tue, Mar 19, 2013 at 8:03 PM, Don Coleman don.cole...@gmail.com wrote: Shazron, I updated the code and redeployed to nodejitsu Fil, I added the code to a fork. https://github.com/don/cordova-labs Should I issue the pull request against master or should

Re: http://cordova-filetransfer.jitsu.com/

2013-03-19 Thread Don Coleman
That code has been crashing on nodejitsu, not sure why. I think I might need to upgrade node to 0.6. It's also deployed to http://cordova-filetransfer.herokuapp.com/ as an alternate. On Tue, Mar 19, 2013 at 7:09 PM, Shazron shaz...@gmail.com wrote: Thanks Fil. Now getting mobile-spec

Re: http://cordova-filetransfer.jitsu.com/

2013-03-19 Thread Don Coleman
I'll add a pull request, and see if I can fix Shaz's error. On Tue, Mar 19, 2013 at 7:22 PM, Filip Maj f...@adobe.com wrote: We should move the file transfer server code over to a branch on labs for now, so we can all fix stuff easily. On 3/19/13 4:15 PM, Don Coleman don.cole...@gmail.com

Re: http://cordova-filetransfer.jitsu.com/

2013-03-19 Thread Don Coleman
Shazron, I updated the code and redeployed to nodejitsu Fil, I added the code to a fork. https://github.com/don/cordova-labs Should I issue the pull request against master or should someone create a 'cordova-filetransfer' branch first? On Tue, Mar 19, 2013 at 7:23 PM, Don Coleman don.cole

Re: HideKeyboardFormAccessoryBar

2013-03-13 Thread Don Coleman
at 7:50 PM, Shazron shaz...@gmail.com wrote: Thanks Don, not sure I understand how the scrollview fix works, I'll take look Monday. Pull request welcome as well ... On Saturday, March 9, 2013, Don Coleman wrote: Check out https://github.com/don/KeyboardToolbarRemover I think

Re: HideKeyboardFormAccessoryBar

2013-03-09 Thread Don Coleman
Check out https://github.com/don/KeyboardToolbarRemover I think it has the code you need. On Mar 9, 2013 9:22 PM, Shazron shaz...@gmail.com wrote: Hmm the fix will be more gnarly than expected. I think the parent view for the accessory bar has to be resized as well to shrink it, it is still

Re: Issues with CLI

2013-03-06 Thread Don Coleman
I'd like to see cordova-cli get the phonegap version from config.xml like phonegap build. preference name=phonegap-version value=2.3.0 / I'd also rather have cordova.js without the version appended. On Wed, Mar 6, 2013 at 12:31 PM, Patrick Mueller pmue...@gmail.com wrote: On Wed, Mar

Re: best practice plugin authoring guidelines / window.plugins hate

2013-01-28 Thread Don Coleman
+1 On Mon, Jan 28, 2013 at 2:23 PM, Brian LeRoux b...@brian.io wrote: ah sorry that is what I meant actuallytho it does beg how cordova.require and various other requires might work (I think Pat brought this up last year.) On Mon, Jan 28, 2013 at 11:15 AM, Filip Maj f...@adobe.com

Re: Cordova CLI (and by proxy, platform) requirements

2013-01-28 Thread Don Coleman
I have the Android tools in my path but not BlackBerry. Prompting for the BlackBerry file locations and passwords etc works OK. It would be nice to search the default location, or at least store all this info in ~/.cordova-cli so the next time I run the tool I can just confirm the previous

Re: Cordova CLI (and by proxy, platform) requirements

2013-01-28 Thread Don Coleman
and fail noisily when they are not met. I thinks. Cheers, Jesse Sent from my iPhone5 On 2013-01-28, at 2:23 PM, Don Coleman don.cole...@gmail.com wrote: I have the Android tools in my path but not BlackBerry. Prompting for the BlackBerry file locations and passwords

Re: Getting Started (Android) feedback

2013-01-19 Thread Don Coleman
I think it's better to remove Eclipse from the instructions. Have users build and deploy with ./cordova/run. Suggest using a text editor like Sublime Text to edit assets/www. Note that Eclipse or IntelliJ IDEA works if they'd prefer. Link to external articles with more details. On Sat, Jan

Re: Binary data across exec bridge

2013-01-09 Thread Don Coleman
For the phonegap-nfc plugin I send binary data between native and javascript as a byte array in JSON. static JSONArray byteArrayToJSON(byte[] bytes) { JSONArray json = new JSONArray(); for (int i = 0; i bytes.length; i++) { json.put(bytes[i]); }

Re: Are these issues valid?

2013-01-08 Thread Don Coleman
CB-1130, CB-1131, CB-1132, CB-1133 are about the plugin guide. I think these can be closed. The current plugins docs http://docs.phonegap.com/en/2.3.0/guide_plugin-development_index.md.html#Plugin%20Development%20Guidelook have been updated and look good. On Tue, Jan 8, 2013 at 4:48 PM, Jesse

[jira] [Resolved] (CB-1132) Plugin Guide - JavaScript

2013-01-08 Thread Don Coleman (JIRA)
[ https://issues.apache.org/jira/browse/CB-1132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Don Coleman resolved CB-1132. - Resolution: Fixed Plugin Guide - JavaScript - Key: CB-1132

[jira] [Resolved] (CB-1133) Plugin Guide - Native

2013-01-08 Thread Don Coleman (JIRA)
[ https://issues.apache.org/jira/browse/CB-1133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Don Coleman resolved CB-1133. - Resolution: Fixed Plugin Guide - Native - Key: CB-1133

[jira] [Updated] (CB-1135) Plugin Guide - Best practices

2013-01-08 Thread Don Coleman (JIRA)
[ https://issues.apache.org/jira/browse/CB-1135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Don Coleman updated CB-1135: Description: - Using require('...'); - Writing Tests - Tagging to align with Cordova release

[jira] [Updated] (CB-1131) Plugin Guide - Plugin Spec

2013-01-08 Thread Don Coleman (JIRA)
[ https://issues.apache.org/jira/browse/CB-1131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Don Coleman updated CB-1131: Fix Version/s: (was: 2.3.0) Plugin Guide - Plugin Spec

[jira] [Updated] (CB-1130) Plugin Guide - Overview of Plugins

2013-01-08 Thread Don Coleman (JIRA)
[ https://issues.apache.org/jira/browse/CB-1130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Don Coleman updated CB-1130: Fix Version/s: (was: 2.3.0) Plugin Guide - Overview of Plugins

Re: 3rd party Plugin code structure

2012-12-20 Thread Don Coleman
+1 for using Andrew's cordova-plugin-spec On Thu, Dec 20, 2012 at 2:52 PM, Brian LeRoux b...@brian.io wrote: This is pretty close to Lunny's pluginstall spec: https://github.com/alunny/cordova-plugin-spec For which the tools are being built. View the current phonegap/phonegap-plugins repo

cordova/debug doesn't launch app on android

2012-11-11 Thread Don Coleman
cordova/debug doesn't launch the application on Android after deploying. Is this intentional? in 1.8.1 debug launched the app for 2.2.0, I need to do something like ./corodova debug ./cordova/cordova launch Is there any downside to patching the cordova debug to launch the app?