[jira] [Commented] (CB-2823) window.openDatabase() throws exception 18 on BlackBerry and WP

2013-04-03 Thread Anton Merkulov (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13621851#comment-13621851
 ] 

Anton Merkulov commented on CB-2823:


And what about BlackBerry?

> window.openDatabase() throws exception 18 on BlackBerry and WP
> --
>
> Key: CB-2823
> URL: https://issues.apache.org/jira/browse/CB-2823
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: BlackBerry
>Affects Versions: 2.4.0, 2.5.0
>Reporter: Anton Merkulov
>Assignee: Tim Kim
> Attachments: IMAG0149.jpg
>
>
> For example this string
> {code}
> document.addEventListener("deviceready", function onDeviceReady() {
>   var db = this.window.openDatabase('blackBerryDB', '1.0', 
> 'blackBerryDBName', 500);
> }, false);
> {code}
> will throw SECURITY_ERR: DOM Exception 18
> Looks like this problemm was resolved for androis and ios and stay actual for 
> BlackBerry and WP
> Example cordova.2.4.js for android
> {code:title=cordova.2.4.js|borderStyle=solid}
>   // some Android devices will throw a SECURITY_ERR -
>   // so we wrap the whole thing in a try-catch and shim in our own
>   // if the device has Android bug 16175.
>   var originalOpenDatabase = window.openDatabase;
>   window.openDatabase = function(name, version, desc, size) {
> var db = null;
> try {
>   db = originalOpenDatabase(name, version, desc, size);
> } catch (ex) {
>   if (ex.code === 18) {
> db = null;
>   } else {
> throw ex;
>   }
> }
> if (db === null) {
>   return storage.openDatabase(name, version, desc, size);
> } else {
>   return db;
> }
>   };
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-2622) APK files not generated after build

2013-04-03 Thread Nithin Kamble (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13621782#comment-13621782
 ] 

Nithin Kamble commented on CB-2622:
---

No, i ran build command from both the paths, but still not getting the apk 
files.

> APK files not generated after build
> ---
>
> Key: CB-2622
> URL: https://issues.apache.org/jira/browse/CB-2622
> Project: Apache Cordova
>  Issue Type: Task
>  Components: CLI
>Affects Versions: 2.5.0, 2.6.0
> Environment: Windows 7
>Reporter: Nithin Kamble
>Assignee: Filip Maj
> Fix For: 2.7.0
>
>
> I created a project using the "cordova create" command. The files were 
> created OK. I added the Andriod platform using "cordova platform add 
> andriod", again no issues. Then i ran "cordova build" command, it did not 
> throw any error(so i'm assuming build was successful) but in 
> "/platform/android/bin/" i didnt find any .apk files. Could 
> anyone help?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-2301) EXC_BAD_ACCESS on resume/wake on iOS device

2013-04-03 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13621643#comment-13621643
 ] 

Shazron Abdullah commented on CB-2301:
--

If you can repro in a new project, and attach it to this issue that would be 
great. This is so we are on the same page regarding repro code.

> EXC_BAD_ACCESS on resume/wake on iOS device
> ---
>
> Key: CB-2301
> URL: https://issues.apache.org/jira/browse/CB-2301
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.2.0
> Environment: iPhone 5 running iOS 6.0.2 and Phonegap 2.2.0. (Xcode 
> 4.5.2 on Mountain Lion)
>Reporter: Ross Holdway
>Assignee: Shazron Abdullah
>Priority: Critical
>  Labels: cordova, ios, phonegap
> Fix For: 2.5.0
>
>
> I have implemented a websocket connection (using socket.io) within my app 
> which it uses to communicate with the server. On locking and waking the 
> device, it disconnects and reconnects correctly, but on leaving the device 
> locked for 1 minute or longer when unlocking, the application will crash 
> sometimes instantly, or sometimes after reconnecting with the server.
> If I do the same, but run my app within mobile Safari, it does not crash, 
> leading me to believe this is an issue with Phonegap/Cordova. 
> On app crash, within Xcode I get within WebThread - 
> WebCore::ThreadTImers::sharedTimerFiredInternal() an EXC_BAD_ACCESS (code=1) 
> error
> Screenshot of crash state in Xcode 
> -http://pictat.com/i/2013/1/28/24904screenshot.jpg
> Hopefully someone will have an idea as to what could be causing this, or 
> recommend some tests for me to run etc because I'm really clueless on how to 
> proceed with fixing this!
> Many Thanks,
> Ross

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-2301) EXC_BAD_ACCESS on resume/wake on iOS device

2013-04-03 Thread Henrique Moreira (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13621545#comment-13621545
 ] 

Henrique Moreira commented on CB-2301:
--

I still have this bug.
I tried on Cordova 2.2.0, 2.5.0 and 2.6.0rc1 and always crash on resume.
Using websockets/socket.io (version 0.9.10 or 0.9.13), when I return to app 
(after 2 minutes on background), he crash after reconnect or immediately 
("EXC_BAD_ACCESS").
Even changing "BackupWebStorage" to none and auto-reconnecting...
What can I do now?

> EXC_BAD_ACCESS on resume/wake on iOS device
> ---
>
> Key: CB-2301
> URL: https://issues.apache.org/jira/browse/CB-2301
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.2.0
> Environment: iPhone 5 running iOS 6.0.2 and Phonegap 2.2.0. (Xcode 
> 4.5.2 on Mountain Lion)
>Reporter: Ross Holdway
>Assignee: Shazron Abdullah
>Priority: Critical
>  Labels: cordova, ios, phonegap
> Fix For: 2.5.0
>
>
> I have implemented a websocket connection (using socket.io) within my app 
> which it uses to communicate with the server. On locking and waking the 
> device, it disconnects and reconnects correctly, but on leaving the device 
> locked for 1 minute or longer when unlocking, the application will crash 
> sometimes instantly, or sometimes after reconnecting with the server.
> If I do the same, but run my app within mobile Safari, it does not crash, 
> leading me to believe this is an issue with Phonegap/Cordova. 
> On app crash, within Xcode I get within WebThread - 
> WebCore::ThreadTImers::sharedTimerFiredInternal() an EXC_BAD_ACCESS (code=1) 
> error
> Screenshot of crash state in Xcode 
> -http://pictat.com/i/2013/1/28/24904screenshot.jpg
> Hopefully someone will have an idea as to what could be causing this, or 
> recommend some tests for me to run etc because I'm really clueless on how to 
> proceed with fixing this!
> Many Thanks,
> Ross

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-2878) Tag BlackBerry

2013-04-03 Thread Tim Kim (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13621455#comment-13621455
 ] 

Tim Kim commented on CB-2878:
-

Fixed here: 
https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry.git;a=commit;h=b91a32e500617fc31341c1c69556c28ea78dc078

> Tag BlackBerry
> --
>
> Key: CB-2878
> URL: https://issues.apache.org/jira/browse/CB-2878
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: BlackBerry
>Reporter: Steve Gill
>Assignee: Tim Kim
> Fix For: 2.6.0
>
>
> After updating the JavaScript and sample application, the release can be 
> tagged.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-2878) Tag BlackBerry

2013-04-03 Thread Tim Kim (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-2878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tim Kim resolved CB-2878.
-

Resolution: Fixed

> Tag BlackBerry
> --
>
> Key: CB-2878
> URL: https://issues.apache.org/jira/browse/CB-2878
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: BlackBerry
>Reporter: Steve Gill
>Assignee: Tim Kim
> Fix For: 2.6.0
>
>
> After updating the JavaScript and sample application, the release can be 
> tagged.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-2870) Update www/ Application for BlackBerry

2013-04-03 Thread Tim Kim (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13621439#comment-13621439
 ] 

Tim Kim commented on CB-2870:
-

No need to update since there are no changes to www/ app

> Update www/ Application for BlackBerry
> --
>
> Key: CB-2870
> URL: https://issues.apache.org/jira/browse/CB-2870
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: BlackBerry
>Reporter: Steve Gill
>Assignee: Tim Kim
> Fix For: 2.6.0
>
>
> Update the www/ sample application after App-Hello-World has been tagged. 
> IMPORTANT: Remove irrelevant platfroms from www/res/icon and www/res/screen.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-2870) Update www/ Application for BlackBerry

2013-04-03 Thread Tim Kim (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-2870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tim Kim resolved CB-2870.
-

Resolution: Fixed

> Update www/ Application for BlackBerry
> --
>
> Key: CB-2870
> URL: https://issues.apache.org/jira/browse/CB-2870
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: BlackBerry
>Reporter: Steve Gill
>Assignee: Tim Kim
> Fix For: 2.6.0
>
>
> Update the www/ sample application after App-Hello-World has been tagged. 
> IMPORTANT: Remove irrelevant platfroms from www/res/icon and www/res/screen.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-2858) Update JavaScript for BlackBerry

2013-04-03 Thread Tim Kim (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-2858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tim Kim resolved CB-2858.
-

Resolution: Fixed

> Update JavaScript for BlackBerry
> 
>
> Key: CB-2858
> URL: https://issues.apache.org/jira/browse/CB-2858
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: BlackBerry
>Reporter: Steve Gill
>Assignee: Tim Kim
> Fix For: 2.6.0
>
>
> Update the cordova.js after CordovaJS has been tagged.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-2858) Update JavaScript for BlackBerry

2013-04-03 Thread Tim Kim (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13621434#comment-13621434
 ] 

Tim Kim commented on CB-2858:
-

Fix here: 
https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry.git;a=commit;h=e4dc9dd6300387c7536a7cede7157c882eb03b20

> Update JavaScript for BlackBerry
> 
>
> Key: CB-2858
> URL: https://issues.apache.org/jira/browse/CB-2858
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: BlackBerry
>Reporter: Steve Gill
>Assignee: Tim Kim
> Fix For: 2.6.0
>
>
> Update the cordova.js after CordovaJS has been tagged.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-2732) Camera.getPicture crashes when choosing from photo library

2013-04-03 Thread Max Woghiren (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13621366#comment-13621366
 ] 

Max Woghiren commented on CB-2732:
--

My pull request is here:

https://github.com/apache/cordova-ios/pull/48

I'll push it tomorrow if no one has any objections, and will also cherry-pick 
it into 2.6.  Camera.getPicture using the photo library does not work without 
it.

> Camera.getPicture crashes when choosing from photo library
> --
>
> Key: CB-2732
> URL: https://issues.apache.org/jira/browse/CB-2732
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.6.0
>Reporter: Max Woghiren
>Assignee: Max Woghiren
>
> This is caused by a fix to CB-1688.  UIImagePickerController.cameraDevice can 
> only be set if the source type is UIImagePickerControllerSourceTypeCamera.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-2732) Camera.getPicture crashes when choosing from photo library

2013-04-03 Thread Max Woghiren (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13621326#comment-13621326
 ] 

Max Woghiren commented on CB-2732:
--

Lorin: no problem. :)

Kristofor: You're right, thanks again!  That'll be remedied in my forthcoming 
commit.

> Camera.getPicture crashes when choosing from photo library
> --
>
> Key: CB-2732
> URL: https://issues.apache.org/jira/browse/CB-2732
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.6.0
>Reporter: Max Woghiren
>Assignee: Max Woghiren
>
> This is caused by a fix to CB-1688.  UIImagePickerController.cameraDevice can 
> only be set if the source type is UIImagePickerControllerSourceTypeCamera.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-2852) Tag 2.6.0

2013-04-03 Thread Jesse MacFadyen (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13621321#comment-13621321
 ] 

Jesse MacFadyen commented on CB-2852:
-

Windows Phone 7, 8 and Windows 8 have all been tagged and are ready to 
distribute!
How are the rest coming?

> Tag 2.6.0
> -
>
> Key: CB-2852
> URL: https://issues.apache.org/jira/browse/CB-2852
> Project: Apache Cordova
>  Issue Type: Task
>Reporter: Steve Gill
> Fix For: 2.6.0
>
>
> Parent issue to track the release steps for 2.6.0.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-2866) Update JavaScript for Windows 8

2013-04-03 Thread Jesse MacFadyen (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-2866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jesse MacFadyen resolved CB-2866.
-

Resolution: Fixed

> Update JavaScript for Windows 8
> ---
>
> Key: CB-2866
> URL: https://issues.apache.org/jira/browse/CB-2866
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: Windows 8
>Reporter: Steve Gill
>Assignee: Jesse MacFadyen
> Fix For: 2.6.0
>
>
> Update the cordova.js after CordovaJS has been tagged.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-2890) Tag Windows 8

2013-04-03 Thread Jesse MacFadyen (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-2890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jesse MacFadyen resolved CB-2890.
-

Resolution: Fixed

> Tag Windows 8
> -
>
> Key: CB-2890
> URL: https://issues.apache.org/jira/browse/CB-2890
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: Windows 8
>Reporter: Steve Gill
>Assignee: Jesse MacFadyen
> Fix For: 2.6.0
>
>
> After updating the JavaScript and sample application, the release can be 
> tagged.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-2877) Update www/ Application for Windows 8

2013-04-03 Thread Jesse MacFadyen (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-2877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jesse MacFadyen resolved CB-2877.
-

Resolution: Fixed

> Update www/ Application for Windows 8
> -
>
> Key: CB-2877
> URL: https://issues.apache.org/jira/browse/CB-2877
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: Windows 8
>Reporter: Steve Gill
>Assignee: Jesse MacFadyen
> Fix For: 2.6.0
>
>
> Update the www/ sample application after App-Hello-World has been tagged. 
> IMPORTANT: Remove irrelevant platfroms from www/res/icon and www/res/screen.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-2833) dist is building js from an outdated mirror

2013-04-03 Thread Jesse MacFadyen (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-2833?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jesse MacFadyen resolved CB-2833.
-

Resolution: Fixed

> dist is building js from an outdated mirror
> ---
>
> Key: CB-2833
> URL: https://issues.apache.org/jira/browse/CB-2833
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: WP7, WP8
>Affects Versions: 2.6.0
>Reporter: Jesse MacFadyen
>Assignee: Benn Mapes
>
> The dist.js helper script ( buildjs.js actually ) is pulling javascript from 
> the github mirror of apache.
> This mirror may be up to 24 hours behind the real repo
> git://github.com/apache/cordova-js.git
> does not always equal 
> https://git-wip-us.apache.org/repos/asf/cordova-js.git

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-2888) Tag WP8

2013-04-03 Thread Jesse MacFadyen (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-2888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jesse MacFadyen resolved CB-2888.
-

Resolution: Fixed

> Tag WP8
> ---
>
> Key: CB-2888
> URL: https://issues.apache.org/jira/browse/CB-2888
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: WP8
>Reporter: Steve Gill
>Assignee: Jesse MacFadyen
> Fix For: 2.6.0
>
>
> After updating the JavaScript and sample application, the release can be 
> tagged.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-2887) Tag WP7

2013-04-03 Thread Jesse MacFadyen (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-2887?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jesse MacFadyen resolved CB-2887.
-

Resolution: Fixed

> Tag WP7
> ---
>
> Key: CB-2887
> URL: https://issues.apache.org/jira/browse/CB-2887
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: WP7
>Reporter: Steve Gill
>Assignee: Jesse MacFadyen
> Fix For: 2.6.0
>
>
> After updating the JavaScript and sample application, the release can be 
> tagged.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-2865) Update JavaScript for WP8

2013-04-03 Thread Jesse MacFadyen (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-2865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jesse MacFadyen resolved CB-2865.
-

Resolution: Fixed

> Update JavaScript for WP8
> -
>
> Key: CB-2865
> URL: https://issues.apache.org/jira/browse/CB-2865
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: WP8
>Reporter: Steve Gill
>Assignee: Jesse MacFadyen
> Fix For: 2.6.0
>
>
> Update the cordova.js after CordovaJS has been tagged.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-2863) Update JavaScript for WP7

2013-04-03 Thread Jesse MacFadyen (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-2863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jesse MacFadyen resolved CB-2863.
-

Resolution: Fixed

> Update JavaScript for WP7
> -
>
> Key: CB-2863
> URL: https://issues.apache.org/jira/browse/CB-2863
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: WP7
>Reporter: Steve Gill
>Assignee: Jesse MacFadyen
> Fix For: 2.6.0
>
>
> Update the cordova.js after CordovaJS has been tagged.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-2876) Update www/ Application for WP7

2013-04-03 Thread Jesse MacFadyen (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-2876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jesse MacFadyen resolved CB-2876.
-

Resolution: Fixed

> Update www/ Application for WP7
> ---
>
> Key: CB-2876
> URL: https://issues.apache.org/jira/browse/CB-2876
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: WP7
>Reporter: Steve Gill
>Assignee: Jesse MacFadyen
> Fix For: 2.6.0
>
>
> Update the www/ sample application after App-Hello-World has been tagged. 
> IMPORTANT: Remove irrelevant platfroms from www/res/icon and www/res/screen.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-2875) Update www/ Application for WP8

2013-04-03 Thread Jesse MacFadyen (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-2875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jesse MacFadyen resolved CB-2875.
-

Resolution: Fixed

> Update www/ Application for WP8
> ---
>
> Key: CB-2875
> URL: https://issues.apache.org/jira/browse/CB-2875
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: WP8
>Reporter: Steve Gill
>Assignee: Jesse MacFadyen
> Fix For: 2.6.0
>
>
> Update the www/ sample application after App-Hello-World has been tagged. 
> IMPORTANT: Remove irrelevant platfroms from www/res/icon and www/res/screen.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-2906) Update BlackBerry Getting Started Guide

2013-04-03 Thread Lorin Beer (JIRA)
Lorin Beer created CB-2906:
--

 Summary: Update BlackBerry Getting Started Guide
 Key: CB-2906
 URL: https://issues.apache.org/jira/browse/CB-2906
 Project: Apache Cordova
  Issue Type: Bug
  Components: Docs
Affects Versions: 2.5.0, 2.6.0
Reporter: Lorin Beer
Assignee: Lorin Beer
 Fix For: 2.7.0


Getting started guide for blackberry is a little out of date, instructs ant to 
build rather than ./create
Could use a little more hand holding in terms the details of setting up 
Playbook and QNX projects as well

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-2904) Problem with jQTouch in initilization

2013-04-03 Thread Roberto (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-2904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Roberto updated CB-2904:


Environment: Mac OSx Lion, iOS 6.1, jQTouch version 1 beta 4 
(https://github.com/senchalabs/jQTouch)  (was: Mac OSx Lion, iOS 6.1)

> Problem with jQTouch in initilization
> -
>
> Key: CB-2904
> URL: https://issues.apache.org/jira/browse/CB-2904
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.5.0
> Environment: Mac OSx Lion, iOS 6.1, jQTouch version 1 beta 4 
> (https://github.com/senchalabs/jQTouch)
>Reporter: Roberto
>Assignee: Shazron Abdullah
>Priority: Critical
>
> Hi There,
> With version 2.5.0 (i can't report for versions between 2.2 and 2.4 since 
> i've upgraded from 2.2 to 2.5 directly) jQTouch seems to not initialize 
> correclty.
> Normally jQTouch it's initialized with:
> var jQT = new $.jQTouch({});
> Outside the:
> document.addEventListener("deviceready", onDeviceReady, true);
> // PhoneGap is ready
> function onDeviceReady() {
>   dosomething();
> }
> Now it's not working the app hang on splashscreen, if we put the 
> initialization inside the "onDeviceReady" the app start but the global jQT 
> object it's not seen inside the code.
> I've been suggested by Shazron to file a bug here.
> Thanks a lot Ciao
> Rob

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-2904) Problem with jQTouch in initilization

2013-04-03 Thread Roberto (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13621116#comment-13621116
 ] 

Roberto commented on CB-2904:
-

Hi Shazron,
I've modified it Thanks a lot!
Ciao Rob

> Problem with jQTouch in initilization
> -
>
> Key: CB-2904
> URL: https://issues.apache.org/jira/browse/CB-2904
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.5.0
> Environment: Mac OSx Lion, iOS 6.1, jQTouch version 1 beta 4 
> (https://github.com/senchalabs/jQTouch)
>Reporter: Roberto
>Assignee: Shazron Abdullah
>Priority: Critical
>
> Hi There,
> With version 2.5.0 (i can't report for versions between 2.2 and 2.4 since 
> i've upgraded from 2.2 to 2.5 directly) jQTouch seems to not initialize 
> correclty.
> Normally jQTouch it's initialized with:
> var jQT = new $.jQTouch({});
> Outside the:
> document.addEventListener("deviceready", onDeviceReady, true);
> // PhoneGap is ready
> function onDeviceReady() {
>   dosomething();
> }
> Now it's not working the app hang on splashscreen, if we put the 
> initialization inside the "onDeviceReady" the app start but the global jQT 
> object it's not seen inside the code.
> I've been suggested by Shazron to file a bug here.
> Thanks a lot Ciao
> Rob

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-2732) Camera.getPicture crashes when choosing from photo library

2013-04-03 Thread Kristofor Selden (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13621099#comment-13621099
 ] 

Kristofor Selden commented on CB-2732:
--

Your variable is declared as UIImagePickerControllerCameraDevice cameraDevice 
but you are setting to an intValue that is cast to 
(UIImagePickerControllerSourceType)[cameraDirection intValue] generating the 
above warning.

> Camera.getPicture crashes when choosing from photo library
> --
>
> Key: CB-2732
> URL: https://issues.apache.org/jira/browse/CB-2732
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.6.0
>Reporter: Max Woghiren
>Assignee: Max Woghiren
>
> This is caused by a fix to CB-1688.  UIImagePickerController.cameraDevice can 
> only be set if the source type is UIImagePickerControllerSourceTypeCamera.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-2905) GeoLocation Exif Data

2013-04-03 Thread Lorin Beer (JIRA)
Lorin Beer created CB-2905:
--

 Summary: GeoLocation Exif Data
 Key: CB-2905
 URL: https://issues.apache.org/jira/browse/CB-2905
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 2.6.0
Reporter: Lorin Beer
Assignee: Lorin Beer
 Fix For: 2.6.0


Geolocation metadata is not included in the metadata dictionaries provided by 
UIImagePickerController, if we want that data included, we'll need to manually 
add it ourselves.

Add geotags to the metadata dict before passing it to the JpegHeaderWriter for 
writing and splicing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-2732) Camera.getPicture crashes when choosing from photo library

2013-04-03 Thread Kristofor Selden (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13621097#comment-13621097
 ] 

Kristofor Selden commented on CB-2732:
--

Implicit conversion from enumeration type 'UIImagePickerControllerSourceType' 
(aka 'enum UIImagePickerControllerSourceType') to different enumeration type 
'UIImagePickerControllerCameraDevice' (aka 'enum 
UIImagePickerControllerCameraDevice')

> Camera.getPicture crashes when choosing from photo library
> --
>
> Key: CB-2732
> URL: https://issues.apache.org/jira/browse/CB-2732
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.6.0
>Reporter: Max Woghiren
>Assignee: Max Woghiren
>
> This is caused by a fix to CB-1688.  UIImagePickerController.cameraDevice can 
> only be set if the source type is UIImagePickerControllerSourceTypeCamera.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-2732) Camera.getPicture crashes when choosing from photo library

2013-04-03 Thread Lorin Beer (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13621090#comment-13621090
 ] 

Lorin Beer commented on CB-2732:


Ack! Sorry for the trouble Max!


> Camera.getPicture crashes when choosing from photo library
> --
>
> Key: CB-2732
> URL: https://issues.apache.org/jira/browse/CB-2732
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.6.0
>Reporter: Max Woghiren
>Assignee: Max Woghiren
>
> This is caused by a fix to CB-1688.  UIImagePickerController.cameraDevice can 
> only be set if the source type is UIImagePickerControllerSourceTypeCamera.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-2904) Problem with jQTouch in initilization

2013-04-03 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13621059#comment-13621059
 ] 

Shazron Abdullah commented on CB-2904:
--

jQT version? Amend the issue (Environment field)

> Problem with jQTouch in initilization
> -
>
> Key: CB-2904
> URL: https://issues.apache.org/jira/browse/CB-2904
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.5.0
> Environment: Mac OSx Lion, iOS 6.1
>Reporter: Roberto
>Assignee: Shazron Abdullah
>Priority: Critical
>
> Hi There,
> With version 2.5.0 (i can't report for versions between 2.2 and 2.4 since 
> i've upgraded from 2.2 to 2.5 directly) jQTouch seems to not initialize 
> correclty.
> Normally jQTouch it's initialized with:
> var jQT = new $.jQTouch({});
> Outside the:
> document.addEventListener("deviceready", onDeviceReady, true);
> // PhoneGap is ready
> function onDeviceReady() {
>   dosomething();
> }
> Now it's not working the app hang on splashscreen, if we put the 
> initialization inside the "onDeviceReady" the app start but the global jQT 
> object it's not seen inside the code.
> I've been suggested by Shazron to file a bug here.
> Thanks a lot Ciao
> Rob

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (CB-2845) CompassError, PositionError constants not attached to prototype as specified in W3C document

2013-04-03 Thread Filip Maj (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-2845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Filip Maj updated CB-2845:
--

Fix Version/s: 2.7.0
 Priority: Minor  (was: Major)
Affects Version/s: 2.6.0

Setting this up for 2.7. Will need tests as well.

> CompassError, PositionError constants not attached to prototype as specified 
> in W3C document
> 
>
> Key: CB-2845
> URL: https://issues.apache.org/jira/browse/CB-2845
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CordovaJS
>Affects Versions: 2.5.0, 2.6.0
> Environment: Any
>Reporter: Thomas K.
>Assignee: Filip Maj
>Priority: Minor
> Fix For: 2.7.0
>
>
> CompassError.js PositionError.js do not define the error constants on the 
> prototype of the object. Hence the constants are not passed into the error 
> function as specified in the W3C document 
> http://dev.w3.org/geo/api/spec-source.html#position_error_interface (see: 
> interface PositionError { const unsigned short PERMISSION_DENIED = 1; ...)
> Fix: define in the library PositionError.js and Compass.js constants 
> additionally like this:
> PositionError.prototype.PERMISSION_DENIED = 1;
> https://github.com/apache/incubator-cordova-js/blob/master/lib/common/plugin/PositionError.js#L34
> https://github.com/apache/incubator-cordova-js/blob/master/lib/common/plugin/CompassError.js#L31
> W3C compatible code is:
> positionError = function(gpsError)
>{
> switch(gpsError.code)
> {
> case gpsError.PERMISSION_DENIED:
> errorMessage = "Access to GPS denied!";
> break;
> ...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Resolved] (CB-2902) Add proper offset calculation given inclusion of multipart tages

2013-04-03 Thread Lorin Beer (JIRA)

 [ 
https://issues.apache.org/jira/browse/CB-2902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lorin Beer resolved CB-2902.


Resolution: Fixed

fixed here:
https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;a=commit;h=997359f0a0440816be93c23824bce9fb3a51aaf9

tags written include ASCII, SHORT and LONG

> Add proper offset calculation given inclusion of multipart tages
> 
>
> Key: CB-2902
> URL: https://issues.apache.org/jira/browse/CB-2902
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: iOS
>Affects Versions: 2.6.0
>Reporter: Lorin Beer
>Assignee: Lorin Beer
>Priority: Minor
> Fix For: 2.6.0
>
>
> calculation for 0x8769 Exif SubIFD Offset tag needs to be adjusted to 
> properly point to the subIFD with inclusion of multipart tags.
> Count bits, calculate offset, adjust constants.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-2732) Camera.getPicture crashes when choosing from photo library

2013-04-03 Thread Max Woghiren (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13620999#comment-13620999
 ] 

Max Woghiren commented on CB-2732:
--

Ah!  Looks like Lorin accidentally reverted my change during a merge (see 
https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;a=commit;h=ac0cb7c610098a7f56f6c33fc88ddf2eb65d8d1d).

Also, what do you mean about UIImagePickerControllerSourceType being the wrong 
enum type?  This is what needs to be checked; if it's equal to 
UIImagePickerControllerSourceTypeCamera, we can set the cameraDevice (see 
https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;a=commit;h=8d285676fcab25da70918d27d3b37210909d3e46).

Thanks for noticing this, Kristofor!

> Camera.getPicture crashes when choosing from photo library
> --
>
> Key: CB-2732
> URL: https://issues.apache.org/jira/browse/CB-2732
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.6.0
>Reporter: Max Woghiren
>Assignee: Max Woghiren
>
> This is caused by a fix to CB-1688.  UIImagePickerController.cameraDevice can 
> only be set if the source type is UIImagePickerControllerSourceTypeCamera.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-2622) APK files not generated after build

2013-04-03 Thread Filip Maj (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13620967#comment-13620967
 ] 

Filip Maj commented on CB-2622:
---

Sooo.. is the issue fixed?

As for internationalization, there is a Globalization API: 
http://cordova.apache.org/docs/en/2.5.0/cordova_globalization_globalization.md.html#Globalization

> APK files not generated after build
> ---
>
> Key: CB-2622
> URL: https://issues.apache.org/jira/browse/CB-2622
> Project: Apache Cordova
>  Issue Type: Task
>  Components: CLI
>Affects Versions: 2.5.0, 2.6.0
> Environment: Windows 7
>Reporter: Nithin Kamble
>Assignee: Filip Maj
> Fix For: 2.7.0
>
>
> I created a project using the "cordova create" command. The files were 
> created OK. I added the Andriod platform using "cordova platform add 
> andriod", again no issues. Then i ran "cordova build" command, it did not 
> throw any error(so i'm assuming build was successful) but in 
> "/platform/android/bin/" i didnt find any .apk files. Could 
> anyone help?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-2732) Camera.getPicture crashes when choosing from photo library

2013-04-03 Thread Kristofor Selden (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13620957#comment-13620957
 ] 

Kristofor Selden commented on CB-2732:
--

You marked as Resolved but this isn't on the 2.6.x branch or in master as far 
as I can tell.  And UIImagePickerControllerSourceType is the wrong enum type.

> Camera.getPicture crashes when choosing from photo library
> --
>
> Key: CB-2732
> URL: https://issues.apache.org/jira/browse/CB-2732
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.6.0
>Reporter: Max Woghiren
>Assignee: Max Woghiren
>
> This is caused by a fix to CB-1688.  UIImagePickerController.cameraDevice can 
> only be set if the source type is UIImagePickerControllerSourceTypeCamera.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-2293) File Transfer of picture fails on every other picture

2013-04-03 Thread Ian Clelland (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13620872#comment-13620872
 ] 

Ian Clelland commented on CB-2293:
--

Okay, I've done some analysis on this, and this is what I'm seeing --

. The first request succeeds normally; the client requests that the connection 
remain open with "Connection: Keep-Alive" (explicit, but its the HTTP default 
anyway).
. Five seconds later, if there are no other requests, the server closes its end 
of the connection. That close isn't ACK'ed by the client, so it will still 
attempt to send data.
. The next request is sent on the same connection, and the server immediately 
sends RSTs to indicate that it will not accept it (as far as it is concerned, 
the connection should be closed)
. Rather than reopen the connection to retry the request, Android's HTTP Client 
rethrows the EOFException, and the second request simply fails. At this point, 
the client accepts that the connection is closed.
. A third request will open a new connection and succeed like the first.

Android's behaviour in this case is buggy; it shouldn't be up to the 
application code to explicitly retry the request.

(In fact, it looks like this was considered a bug 
(https://code.google.com/p/android/issues/detail?id=41576) and just fixed 
recently -- but that's not a solution for anyone with an existing device)

This particular issue is not (yet) fixed in OkHttp, but I'm going to look at 
patching it there.

(We could also just wrap the FileTransfer request in a block that retries it 
once on failure, but I'd rather not do that. There may be other reasons that a 
request failed, and it may not be appropriate to retry a PUT/POST request if 
the request may have been received and processed)

> File Transfer of picture fails on every other picture
> -
>
> Key: CB-2293
> URL: https://issues.apache.org/jira/browse/CB-2293
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 2.2.0, 2.3.0
> Environment: Tested on a Motorola Atrix HD(Android 4.1.2) as well as 
> a Samsung Galaxy S3(Android 4.1.1)
>Reporter: Amrit Kahlon
>Assignee: Ian Clelland
> Attachments: cordova-2.4.0rc1.jar
>
>
> When uploading pictures using the File Transfer function on android, the 
> first picture will upload fine. Then the second upload will give the 
> following error:
> 01-21 13:48:02.545: W/FileTransfer(8894): Error getting HTTP status code from 
> connection.
> 01-21 13:48:02.545: W/FileTransfer(8894): java.io.EOFException
> 01-21 13:48:02.545: W/FileTransfer(8894): at 
> libcore.io.Streams.readAsciiLine(Streams.java:203)
> 01-21 13:48:02.545: W/FileTransfer(8894): at 
> libcore.net.http.HttpEngine.readResponseHeaders(HttpEngine.java:560)
> 01-21 13:48:02.545: W/FileTransfer(8894): at 
> libcore.net.http.HttpEngine.readResponse(HttpEngine.java:813)
> 01-21 13:48:02.545: W/FileTransfer(8894): at 
> libcore.net.http.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:274)
> 01-21 13:48:02.545: W/FileTransfer(8894): at 
> libcore.net.http.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:486)
> 01-21 13:48:02.545: W/FileTransfer(8894): at 
> org.apache.cordova.FileTransfer.createFileTransferError(FileTransfer.java:535)
> 01-21 13:48:02.545: W/FileTransfer(8894): at 
> org.apache.cordova.FileTransfer.access$500(FileTransfer.java:62)
> 01-21 13:48:02.545: W/FileTransfer(8894): at 
> org.apache.cordova.FileTransfer$1.run(FileTransfer.java:437)
> 01-21 13:48:02.545: W/FileTransfer(8894): at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
> 01-21 13:48:02.545: W/FileTransfer(8894): at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
> 01-21 13:48:02.545: W/FileTransfer(8894): at 
> java.lang.Thread.run(Thread.java:856)
> 01-21 13:48:02.555: E/FileTransfer(8894): 
> {"target":"http:\/\/xxx.xxx.xxx\/api\/photo_uploads\/create?version=2&api_key=x&source=androidapp-2.2.1","source":"file:\/\/\/storage\/sdcard0\/Android\/data\/com.hockeycommunity.hc_app\/cache\/resize.jpg?1358804880392","code":3}
> 01-21 13:48:02.555: E/FileTransfer(8894): java.net.SocketException: sendto 
> failed: EPIPE (Broken pipe)
> 01-21 13:48:02.555: E/FileTransfer(8894): at 
> libcore.io.IoBridge.maybeThrowAfterSendto(IoBridge.java:506)
> 01-21 13:48:02.555: E/FileTransfer(8894): at 
> libcore.io.IoBridge.sendto(IoBridge.java:475)
> 01-21 13:48:02.555: E/FileTransfer(8894): at 
> java.net.PlainSocketImpl.write(PlainSocketImpl.java:508)
> 01-21 13:48:02.555: E/FileTransfer(8894): at 
> java.net.PlainSocketImpl.access$100(PlainSocketImpl.java:46)
> 01-21 13:48:02.555: E/FileTransfer(8894):   

[jira] [Commented] (CB-2622) APK files not generated after build

2013-04-03 Thread Nithin Kamble (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-2622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13620868#comment-13620868
 ] 

Nithin Kamble commented on CB-2622:
---

Thank you for the help Filip. I'd one more question though. Is 
internationalization supported by Cordova? 

> APK files not generated after build
> ---
>
> Key: CB-2622
> URL: https://issues.apache.org/jira/browse/CB-2622
> Project: Apache Cordova
>  Issue Type: Task
>  Components: CLI
>Affects Versions: 2.5.0, 2.6.0
> Environment: Windows 7
>Reporter: Nithin Kamble
>Assignee: Filip Maj
> Fix For: 2.7.0
>
>
> I created a project using the "cordova create" command. The files were 
> created OK. I added the Andriod platform using "cordova platform add 
> andriod", again no issues. Then i ran "cordova build" command, it did not 
> throw any error(so i'm assuming build was successful) but in 
> "/platform/android/bin/" i didnt find any .apk files. Could 
> anyone help?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Created] (CB-2904) Problem with jQTouch in initilization

2013-04-03 Thread Roberto (JIRA)
Roberto created CB-2904:
---

 Summary: Problem with jQTouch in initilization
 Key: CB-2904
 URL: https://issues.apache.org/jira/browse/CB-2904
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 2.5.0
 Environment: Mac OSx Lion, iOS 6.1
Reporter: Roberto
Assignee: Shazron Abdullah
Priority: Critical


Hi There,
With version 2.5.0 (i can't report for versions between 2.2 and 2.4 since i've 
upgraded from 2.2 to 2.5 directly) jQTouch seems to not initialize correclty.

Normally jQTouch it's initialized with:

var jQT = new $.jQTouch({});

Outside the:

document.addEventListener("deviceready", onDeviceReady, true);

// PhoneGap is ready
function onDeviceReady() {
  dosomething();
}

Now it's not working the app hang on splashscreen, if we put the initialization 
inside the "onDeviceReady" the app start but the global jQT object it's not 
seen inside the code.

I've been suggested by Shazron to file a bug here.
Thanks a lot Ciao
Rob


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira