[jira] [Created] (CB-4541) MediaFile.getFormatData throws a MediaPlayer IOException but returns callback success for a video

2013-08-07 Thread Angela Fowler (JIRA)
Angela Fowler created CB-4541:
-

 Summary: MediaFile.getFormatData throws a MediaPlayer IOException 
but returns callback success for a video
 Key: CB-4541
 URL: https://issues.apache.org/jira/browse/CB-4541
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 2.9.0
 Environment: Galaxy GT-I9000 
Gingerbread 2.3.6
Reporter: Angela Fowler
Assignee: Joe Bowser
Priority: Minor


Here is the initial MediaFile success callback
"S01 Capture1970865120 
[{"lastModifiedDate":1375937605000,"fullPath":"file:\/\/\/mnt\/sdcard\/DCIM\/Camera\/video-2013-08-08-14-53-17.mp4","type":"video\/mp4","size":1824506,"name":"video-2013-08-08-14-53-17.mp4"}]"

Then try to get the format information about the media file using
  mediaFile.getFormatData(getFormatDataWin, getFormatDataError);


In Capture.java getAudioVideoData an exception is thrown by 
mediaplayer.prepare()
 java.io.IOException: Prepare failed.: status=0xFFFC
The error is logged but ignored.
 "Error: loading video file"

The Capture.java execute method calls success on the callback context.
Here is the getFormatData success callback message
"S01 Capture1970865121 
{"codecs":"","bitrate":0,"duration":0,"height":0,"width":0}"

Error callback is never returned for action "getFormatData".

Also what happens if another exception which is not caught is thrown? e.g. 
IllegalStateException
It appears that no callback would be made in this case.





--
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-4013) Globalization test cases 23,24 not quite doing what they claim.

2013-08-07 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CB-4013:
-

Commit 8c4c22c72a36acb9cc8c3bbba0e324f7e00d6a35 in branch refs/heads/2.9.x from 
[~max.woghiren]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=8c4c22c ]

[CB-4013] Added a missing import.


> Globalization test cases 23,24 not quite doing what they claim.
> ---
>
> Key: CB-4013
> URL: https://issues.apache.org/jira/browse/CB-4013
> Project: Apache Cordova
>  Issue Type: Test
>  Components: mobile-spec
>Affects Versions: 2.7.0
>Reporter: Peter
>Assignee: Filip Maj
>Priority: Minor
> Fix For: 3.0.0
>
>
> The automated globalization tests (autotest\tests\globalization.tests.js) for 
> *spec.23* and *spec.24* test cases say that they are testing setting 
> type=wide but the code is not setting type:'wide'.

--
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-4013) Globalization test cases 23,24 not quite doing what they claim.

2013-08-07 Thread Max Woghiren (JIRA)

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

Max Woghiren commented on CB-4013:
--

Ugh.  I perpetuated the typo.  Two more commits intended for CB-4103.

> Globalization test cases 23,24 not quite doing what they claim.
> ---
>
> Key: CB-4013
> URL: https://issues.apache.org/jira/browse/CB-4013
> Project: Apache Cordova
>  Issue Type: Test
>  Components: mobile-spec
>Affects Versions: 2.7.0
>Reporter: Peter
>Assignee: Filip Maj
>Priority: Minor
> Fix For: 3.0.0
>
>
> The automated globalization tests (autotest\tests\globalization.tests.js) for 
> *spec.23* and *spec.24* test cases say that they are testing setting 
> type=wide but the code is not setting type:'wide'.

--
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-4013) Globalization test cases 23,24 not quite doing what they claim.

2013-08-07 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CB-4013:
-

Commit 4fc26fb686f230ba417e078f7c1cefd9bc434778 in branch refs/heads/3.0.x from 
[~max.woghiren]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=4fc26fb ]

[CB-4013] Added a missing import.


> Globalization test cases 23,24 not quite doing what they claim.
> ---
>
> Key: CB-4013
> URL: https://issues.apache.org/jira/browse/CB-4013
> Project: Apache Cordova
>  Issue Type: Test
>  Components: mobile-spec
>Affects Versions: 2.7.0
>Reporter: Peter
>Assignee: Filip Maj
>Priority: Minor
> Fix For: 3.0.0
>
>
> The automated globalization tests (autotest\tests\globalization.tests.js) for 
> *spec.23* and *spec.24* test cases say that they are testing setting 
> type=wide but the code is not setting type:'wide'.

--
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-4540) Improved battery test

2013-08-07 Thread Peter (JIRA)

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

Peter updated CB-4540:
--

Attachment: index.html

Improved battery manual tests

> Improved battery test
> -
>
> Key: CB-4540
> URL: https://issues.apache.org/jira/browse/CB-4540
> Project: Apache Cordova
>  Issue Type: Test
>  Components: mobile-spec
>Affects Versions: 2.9.0
>Reporter: Peter
>Assignee: Filip Maj
>Priority: Minor
> Attachments: index.html
>
>
> We have been doing some battery tests recently and I found it necessary to 
> re-write the mobile-spec battery test to see better exactly what was 
> happening.
> The current mobile-spec battery test was difficult to use for a number of 
> reasons, including:
> * No indication which listeners are active made it hard to know what to expect
> * No if/else in updateInfo function, so "crit" and "low" values were 
> sometimes not updated
> * No way to clear the displayed info so not always sure when it was updating
> I would like to donate my updated test code (attached)

--
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-4540) Improved battery test

2013-08-07 Thread Peter (JIRA)
Peter created CB-4540:
-

 Summary: Improved battery test
 Key: CB-4540
 URL: https://issues.apache.org/jira/browse/CB-4540
 Project: Apache Cordova
  Issue Type: Test
  Components: mobile-spec
Affects Versions: 2.9.0
Reporter: Peter
Assignee: Filip Maj
Priority: Minor


We have been doing some battery tests recently and I found it necessary to 
re-write the mobile-spec battery test to see better exactly what was happening.

The current mobile-spec battery test was difficult to use for a number of 
reasons, including:
* No indication which listeners are active made it hard to know what to expect
* No if/else in updateInfo function, so "crit" and "low" values were sometimes 
not updated
* No way to clear the displayed info so not always sure when it was updating


I would like to donate my updated test code (attached)

--
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-4474) Globalization is not working in PhoneGap 3.0

2013-08-07 Thread Steve Gill (JIRA)

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

Steve Gill commented on CB-4474:


Looks like [~apla] has fixed the problem for ios on his repo. Looks like the 
issue was the old signature in the plugin. I will take a look at Android soon.

> Globalization is not working in PhoneGap 3.0
> 
>
> Key: CB-4474
> URL: https://issues.apache.org/jira/browse/CB-4474
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, iOS, Plugin Globalization
>Affects Versions: 3.0.0
> Environment: Android and iOS.
>Reporter: Raymond Camden
>Assignee: Steve Gill
>
> Discussed on this Google Groups thread, 
> https://groups.google.com/forum/#!topic/phonegap/5YmjhUcuuR8%5B1-25-false%5D, 
> Globalization is failing in 3.0. In iOS, the success/error handler never 
> fires. If you open XCode and run from there, you see:
> 2013-07-29 13:21:55.113 HelloWorld[21542:c07] ERROR: Method 
> 'getPreferredLanguage:' not defined in Plugin 'Globalization'
> 2013-07-29 13:21:55.113 HelloWorld[21542:c07] -[CDVCommandQueue 
> executePending] [Line 116] FAILED pluginJSON = [
>   "Globalization1890587700",
>   "Globalization",
>   "getPreferredLanguage",
>   [
>   ]
> ]
> In Android, the error handler fires with: Class not found

--
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-4474) Globalization is not working in PhoneGap 3.0

2013-08-07 Thread Steve Gill (JIRA)

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

Steve Gill commented on CB-4474:


I can confirm this is happening as well. Looking into fixing this

> Globalization is not working in PhoneGap 3.0
> 
>
> Key: CB-4474
> URL: https://issues.apache.org/jira/browse/CB-4474
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, iOS, Plugin Globalization
>Affects Versions: 3.0.0
> Environment: Android and iOS.
>Reporter: Raymond Camden
>Assignee: Steve Gill
>
> Discussed on this Google Groups thread, 
> https://groups.google.com/forum/#!topic/phonegap/5YmjhUcuuR8%5B1-25-false%5D, 
> Globalization is failing in 3.0. In iOS, the success/error handler never 
> fires. If you open XCode and run from there, you see:
> 2013-07-29 13:21:55.113 HelloWorld[21542:c07] ERROR: Method 
> 'getPreferredLanguage:' not defined in Plugin 'Globalization'
> 2013-07-29 13:21:55.113 HelloWorld[21542:c07] -[CDVCommandQueue 
> executePending] [Line 116] FAILED pluginJSON = [
>   "Globalization1890587700",
>   "Globalization",
>   "getPreferredLanguage",
>   [
>   ]
> ]
> In Android, the error handler fires with: Class not found

--
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-4036) tag should have a "version" attribute

2013-08-07 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CB-4036:
-

Commit e9f12a58c2d06cb96d90b43a19c4e83260b7a8c5 in branch 
refs/heads/engineCheck from [~timkim]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;h=e9f12a5 ]

[CB-4036] - another pass at the engine/platform check problem


>  tag should have a "version" attribute 
> -
>
> Key: CB-4036
> URL: https://issues.apache.org/jira/browse/CB-4036
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Plugman
>Reporter: Shazron Abdullah
>Assignee: Filip Maj
>
> This might be hole that we didn't consider.
> I know implicitly if the plugin supported an "engine" version we support what 
> the engine supports, but here could be one scenario.
> For example, with iOS 7, a plugin CDVFooBar use this awesome NSWhizBang 
> framework. Fine, with iOS 7, you have to of course build with the iOS 7 SDK, 
> and you can support iOS 6 with a Deploy Target build setting.
> It runs on iOS 7 - yay.
> It.. blows up on iOS 6 at runtime, because of course NSWhizBang framework 
> does not exist on iOS 6.
> Now you say, why don't you do Obj-C runtime checks and weak link the 
> framework? Yes, the plugin author can do that but a plugin user, by parsing 
> the plugin xml (using a tool, or optically, whatever) cannot know that the 
> plugin does NOT work on iOS 6 - and even though it "runs" on iOS 6, it does 
> nothing, which is useless and wastes a lot of time.
> So - my proposal is, to add a *"version"* attribute on the ** tag. 
> It should follow the syntax for the  version attribute. 
> What would be the default if the version attribute is not there? Not sure 
> what a reasonable default is yet.

--
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-4502) Create an app whose name starts with "x", and add one plugin, then build failed

2013-08-07 Thread Steve Gill (JIRA)

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

Steve Gill commented on CB-4502:


Doesn't matter if you install more than one plugin, problem persists. 

Seems like the plugin isn't being copied into xFactor/Plugins folder. Not sure 
why yet

> Create an app whose name starts with "x", and add one plugin, then build 
> failed
> ---
>
> Key: CB-4502
> URL: https://issues.apache.org/jira/browse/CB-4502
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 3.0.0
>Reporter: lmnbeyond
>Assignee: Steve Gill
>
> I ran the following commands:
>  
> $ cordova create xFactor com.example.xFactor xFactor
> $ cd xFactor/
> $ cordova platform add ios
> $ cordova plugin add 
> https://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git
> $ cordova build
> And I got the messages as follows:
> clang: error: no such file or directory: 
> '/somepath/xFactor/platforms/ios/xFactor/Plugins/org.apache.cordova.core.device/CDVDevice.m'
> clang: error: no input files
> ** BUILD FAILED **

--
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-4474) Globalization is not working in PhoneGap 3.0

2013-08-07 Thread Filip Maj (JIRA)

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

Filip Maj updated CB-4474:
--

Component/s: iOS
 Android

> Globalization is not working in PhoneGap 3.0
> 
>
> Key: CB-4474
> URL: https://issues.apache.org/jira/browse/CB-4474
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, iOS, Plugin Globalization
>Affects Versions: 3.0.0
> Environment: Android and iOS.
>Reporter: Raymond Camden
>Assignee: Steve Gill
>
> Discussed on this Google Groups thread, 
> https://groups.google.com/forum/#!topic/phonegap/5YmjhUcuuR8%5B1-25-false%5D, 
> Globalization is failing in 3.0. In iOS, the success/error handler never 
> fires. If you open XCode and run from there, you see:
> 2013-07-29 13:21:55.113 HelloWorld[21542:c07] ERROR: Method 
> 'getPreferredLanguage:' not defined in Plugin 'Globalization'
> 2013-07-29 13:21:55.113 HelloWorld[21542:c07] -[CDVCommandQueue 
> executePending] [Line 116] FAILED pluginJSON = [
>   "Globalization1890587700",
>   "Globalization",
>   "getPreferredLanguage",
>   [
>   ]
> ]
> In Android, the error handler fires with: Class not found

--
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-4474) Globalization is not working in PhoneGap 3.0

2013-08-07 Thread Ivan Baktsheev (JIRA)

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

Ivan Baktsheev commented on CB-4474:


[~eclectic], i cannot reproduce.
running fine on ios, test is passed:
{code}
mkdir cordova-globalization-test
cd cordova-globalization-test
phonegap create ./
cordova plugin add ~/tmp/cordova-plugin-globalization
cp -pr plugins/org.apache.cordova.core.globalization/test/* www/
phonegap local run ios
{code}

> Globalization is not working in PhoneGap 3.0
> 
>
> Key: CB-4474
> URL: https://issues.apache.org/jira/browse/CB-4474
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Globalization
>Affects Versions: 3.0.0
> Environment: Android and iOS.
>Reporter: Raymond Camden
>Assignee: Steve Gill
>
> Discussed on this Google Groups thread, 
> https://groups.google.com/forum/#!topic/phonegap/5YmjhUcuuR8%5B1-25-false%5D, 
> Globalization is failing in 3.0. In iOS, the success/error handler never 
> fires. If you open XCode and run from there, you see:
> 2013-07-29 13:21:55.113 HelloWorld[21542:c07] ERROR: Method 
> 'getPreferredLanguage:' not defined in Plugin 'Globalization'
> 2013-07-29 13:21:55.113 HelloWorld[21542:c07] -[CDVCommandQueue 
> executePending] [Line 116] FAILED pluginJSON = [
>   "Globalization1890587700",
>   "Globalization",
>   "getPreferredLanguage",
>   [
>   ]
> ]
> In Android, the error handler fires with: Class not found

--
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-4036) tag should have a "version" attribute

2013-08-07 Thread Tim Kim (JIRA)

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

Tim Kim commented on CB-4036:
-

Ok, I've made another pass at this with the commit in the comment above. It's 
not fully tested and I'm not even sure if it works right now (have to change 
the tests), but I figured I'd push it up just so I could show you all.

Anywho, I went with the idea that we do all of our version checks within the 
engine tag. I've also added support such that there are defaults for the 
engines we know about (placed in util/default-engines) as well the ability to 
add custom engines that need to be checked.



>  tag should have a "version" attribute 
> -
>
> Key: CB-4036
> URL: https://issues.apache.org/jira/browse/CB-4036
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Plugman
>Reporter: Shazron Abdullah
>Assignee: Filip Maj
>
> This might be hole that we didn't consider.
> I know implicitly if the plugin supported an "engine" version we support what 
> the engine supports, but here could be one scenario.
> For example, with iOS 7, a plugin CDVFooBar use this awesome NSWhizBang 
> framework. Fine, with iOS 7, you have to of course build with the iOS 7 SDK, 
> and you can support iOS 6 with a Deploy Target build setting.
> It runs on iOS 7 - yay.
> It.. blows up on iOS 6 at runtime, because of course NSWhizBang framework 
> does not exist on iOS 6.
> Now you say, why don't you do Obj-C runtime checks and weak link the 
> framework? Yes, the plugin author can do that but a plugin user, by parsing 
> the plugin xml (using a tool, or optically, whatever) cannot know that the 
> plugin does NOT work on iOS 6 - and even though it "runs" on iOS 6, it does 
> nothing, which is useless and wastes a lot of time.
> So - my proposal is, to add a *"version"* attribute on the ** tag. 
> It should follow the syntax for the  version attribute. 
> What would be the default if the version attribute is not there? Not sure 
> what a reasonable default is yet.

--
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-4285) Windows cordova emulate command doesn't install project

2013-08-07 Thread Frank Hennig (JIRA)

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

Frank Hennig commented on CB-4285:
--

Can you run the last command from your output? In your case 
"C:\workspaces\cordovacli\helloworld\platforms\android\cordova\run --emulator" 
and post your output. In my tests without the correct PATH variable the error 
was printed after the BUILD SUCCESS command from ant. 

> Windows cordova emulate command doesn't install project
> ---
>
> Key: CB-4285
> URL: https://issues.apache.org/jira/browse/CB-4285
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
> Environment: Windows 7
>Reporter: Lisa Seacat DeLuca
>Assignee: Filip Maj
>
> I am able to add the android platform to a test cordova cli project and build 
> just fine.  When i go to run on an emulator the emulator opens but the 
> project is never installed.  This is the very simple case, no plugins were 
> added.
> C:\workspaces\cordovacli\helloworld>cordova -d emulate android
> cordova library for "android" already exists. No need to download. Continuing.
> Wrote out Android application name to "helloworld"
> Wrote out Android package name to "com.helloworld"
> Calling plugman.prepare for platform "android"
> Preparing android project...
> Processing configuration changes for plugins.
> Iterating over installed plugins: []
> Writing out cordova_plugins.js...
> Running on emulator for platform "android" via command 
> ""C:\workspaces\cordovacli\helloworld\platforms\android\cordova\run" 
> --emulator" (output to fol
> low)...

--
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-4285) Windows cordova emulate command doesn't install project

2013-08-07 Thread Lisa Seacat DeLuca (JIRA)

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

Lisa Seacat DeLuca commented on CB-4285:


I have the adb tool in my PATH variable and am still having the issue.  So I 
don't think it can be closed.

> Windows cordova emulate command doesn't install project
> ---
>
> Key: CB-4285
> URL: https://issues.apache.org/jira/browse/CB-4285
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
> Environment: Windows 7
>Reporter: Lisa Seacat DeLuca
>Assignee: Filip Maj
>
> I am able to add the android platform to a test cordova cli project and build 
> just fine.  When i go to run on an emulator the emulator opens but the 
> project is never installed.  This is the very simple case, no plugins were 
> added.
> C:\workspaces\cordovacli\helloworld>cordova -d emulate android
> cordova library for "android" already exists. No need to download. Continuing.
> Wrote out Android application name to "helloworld"
> Wrote out Android package name to "com.helloworld"
> Calling plugman.prepare for platform "android"
> Preparing android project...
> Processing configuration changes for plugins.
> Iterating over installed plugins: []
> Writing out cordova_plugins.js...
> Running on emulator for platform "android" via command 
> ""C:\workspaces\cordovacli\helloworld\platforms\android\cordova\run" 
> --emulator" (output to fol
> low)...

--
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-4539) Cannot create CDVViewController in Storyboard

2013-08-07 Thread Patrick Mosca (JIRA)
Patrick Mosca created CB-4539:
-

 Summary: Cannot create CDVViewController in Storyboard
 Key: CB-4539
 URL: https://issues.apache.org/jira/browse/CB-4539
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 2.9.0, 2.8.0
 Environment: iOS, XCode 4.6.3
Reporter: Patrick Mosca
Assignee: Shazron Abdullah


I am unable to create a CDVViewController via storyboard. It results in a white 
screen and an error in the log: "WARNING: NO whitelist has been set in 
CDVURLProtocol.".

This problem can be recreated by creating a new iOS PhoneGap projects with 
./create. Commenting out "application:didFinishLaunchingWithOptions:" in the 
AppDelegate.m (leave the 'return YES;' uncommented). Create a new storyboard 
file, drag a UIViewController to the canvas and set its class type to 
MainViewController. Finally, go to the project's summary and set the Main 
Storyboard.

--
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-4285) Windows cordova emulate command doesn't install project

2013-08-07 Thread Frank Hennig (JIRA)

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

Frank Hennig commented on CB-4285:
--

I think this issue can be closed. The original problem is solved with add adb 
tool to the PATH variable.

The other behavior that the app isn't updated after a change. I will check this 
tomorrow in the office. After some tests I reproduce this behavior for android 
but not for iOS.  

> Windows cordova emulate command doesn't install project
> ---
>
> Key: CB-4285
> URL: https://issues.apache.org/jira/browse/CB-4285
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
> Environment: Windows 7
>Reporter: Lisa Seacat DeLuca
>Assignee: Filip Maj
>
> I am able to add the android platform to a test cordova cli project and build 
> just fine.  When i go to run on an emulator the emulator opens but the 
> project is never installed.  This is the very simple case, no plugins were 
> added.
> C:\workspaces\cordovacli\helloworld>cordova -d emulate android
> cordova library for "android" already exists. No need to download. Continuing.
> Wrote out Android application name to "helloworld"
> Wrote out Android package name to "com.helloworld"
> Calling plugman.prepare for platform "android"
> Preparing android project...
> Processing configuration changes for plugins.
> Iterating over installed plugins: []
> Writing out cordova_plugins.js...
> Running on emulator for platform "android" via command 
> ""C:\workspaces\cordovacli\helloworld\platforms\android\cordova\run" 
> --emulator" (output to fol
> low)...

--
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-4528) Plugman v0.10.0 fails to publish due to path.join error

2013-08-07 Thread Steve Jansen (JIRA)

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

Steve Jansen commented on CB-4528:
--

Sweet!!!

$ plugman publish --debug ./cordova-ios-emailcomposer/
+ emailcomposer@2.0.0
Plugin published

Good to go!

> Plugman v0.10.0 fails to publish due to path.join error
> ---
>
> Key: CB-4528
> URL: https://issues.apache.org/jira/browse/CB-4528
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugman
>Affects Versions: 3.0.0
> Environment: OS X 10.8.4
> node v0.10.2
> npm v1.2.15
> cordova (cli) v3.0.4
> plugman v0.10.0
>Reporter: Steve Jansen
>Assignee: Anis Kadri
>
> Overview
> 
> Publishing to the cordova registry @ http://registry.cordova.io/ fails due to 
> a problem parsing the `dir` argument to `plugman publish dir`
>  
> Steps To Reproduce
> --
> sudo npm install -g plugman
> plugman adduser steve-jansen
> plugman publish --debug --plugin ./cordova-ios-emailcomposer/
> Expected Results
> 
> This should publish the ./cordova-ios-emailcomposer/ plugin to 
> http://registry.cordova.io/
>  $ ls -l ./cordova-ios-emailcomposer/plugin.xml 
>  -rw-r--r--  1 me  staff  1676 Aug  6 22:47 
> ./cordova-ios-emailcomposer/plugin.xml
> This is a local clone of 
> https://github.com/steve-jansen/cordova-ios-emailcomposer
> Actual Results
> --
> TypeError: Arguments to path.join must be strings
> at path.js:360:15
> at Array.filter (native)
> at Object.exports.join (path.js:358:36)
> at Object.generatePackageJsonFromPluginXml 
> (/usr/local/lib/node_modules/plugman/src/registry/manifest.js:16:57)
> at /usr/local/lib/node_modules/plugman/src/registry/registry.js:124:22
> at initSettings 
> (/usr/local/lib/node_modules/plugman/src/registry/registry.js:207:5)
> at Object.module.exports.publish 
> (/usr/local/lib/node_modules/plugman/src/registry/registry.js:121:9)
> at Object.module.exports [as publish] 
> (/usr/local/lib/node_modules/plugman/src/publish.js:5:14)
> at Object.plugman.commands.publish 
> (/usr/local/lib/node_modules/plugman/plugman.js:84:17)
> at Object. (/usr/local/lib/node_modules/plugman/main.js:75:26)
> Comments
> 
> It appears the dir argument passed on the command line is not being passed 
> into registry.js line 121, which cause the downstream error.  

--
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-4316) Android library not getting properly downloaded/installed

2013-08-07 Thread Filip Maj (JIRA)

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

Filip Maj commented on CB-4316:
---

Whoo, crazy. Perhaps it is a request issue. Weird. Are you under any 
particularly "different" machine circumstances? Low memory, some weird flavour 
of unix, etc?

Basically what I'm getting at is: is this something that we can reproduce / 
isolate purely in request and file an issue for in that project?

> Android library not getting properly downloaded/installed
> -
>
> Key: CB-4316
> URL: https://issues.apache.org/jira/browse/CB-4316
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android, CLI
>Affects Versions: 3.0.0
> Environment: Windows 8
>Reporter: Benjamin Clot
>Assignee: Michael Brooks
>
> This a follow-up to [this 
> issue|https://github.com/mwbrooks/phonegap-cli/issues/77#issuecomment-21170828]
>  on the PhoneGap CLI GitHub.
> Basically, after running {{cordova --verbose platform add android}}, I get 
> downloading  and requesting  but then it stops and I only have a 
> {{%userdir%\.cordova\lib\android\cordova\3.0.0rc1\cordova-android-3.0.0rc1-25bb215}}
>  directory.

--
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-4285) Windows cordova emulate command doesn't install project

2013-08-07 Thread Filip Maj (JIRA)

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

Filip Maj commented on CB-4285:
---

That is not correct behaviour!

I can't reproduce this by doing:

{code}
$ cordova run
$ vim www/index.html #edit some stuff
$ cordova run
{code}

Same with {{cordova emulate}}, although it is MUCH slower with the emulator 
than just having a device.

I am also using cordova 3.0.4. Not sure what to say..

> Windows cordova emulate command doesn't install project
> ---
>
> Key: CB-4285
> URL: https://issues.apache.org/jira/browse/CB-4285
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
> Environment: Windows 7
>Reporter: Lisa Seacat DeLuca
>Assignee: Filip Maj
>
> I am able to add the android platform to a test cordova cli project and build 
> just fine.  When i go to run on an emulator the emulator opens but the 
> project is never installed.  This is the very simple case, no plugins were 
> added.
> C:\workspaces\cordovacli\helloworld>cordova -d emulate android
> cordova library for "android" already exists. No need to download. Continuing.
> Wrote out Android application name to "helloworld"
> Wrote out Android package name to "com.helloworld"
> Calling plugman.prepare for platform "android"
> Preparing android project...
> Processing configuration changes for plugins.
> Iterating over installed plugins: []
> Writing out cordova_plugins.js...
> Running on emulator for platform "android" via command 
> ""C:\workspaces\cordovacli\helloworld\platforms\android\cordova\run" 
> --emulator" (output to fol
> low)...

--
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-3359) File.readAsArrayBuffer() is slow on iOS

2013-08-07 Thread Lorin Beer (JIRA)

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

Lorin Beer commented on CB-3359:


hey, turn that frown upside down, [~agrieve]
no worries :)

> File.readAsArrayBuffer() is slow on iOS
> ---
>
> Key: CB-3359
> URL: https://issues.apache.org/jira/browse/CB-3359
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.7.0
>Reporter: Daniel Haas
>Assignee: Lorin Beer
>  Labels: performance
>
> Reading a 3MB file with File.readAsArrayBuffer() takes approximatly 5 seconds!
> Is there anything that we can do to improve performance for this? (I'm not 
> expecting to read a 3 MB file in 10ms, but something below 0.5 seconds).
> If needed I could also provide a small testcase app.

--
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-4285) Windows cordova emulate command doesn't install project

2013-08-07 Thread Frank Hennig (JIRA)

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

Frank Hennig commented on CB-4285:
--

Yes, I run the command 
""/Users/myUer/repo/git/HelloWorld/platforms/android/cordova/run" --emulator" 
and I saw the first problem. The adb tool was not in the PATH. :-( 
I add /path/to/android-sdk/platform-tools to my PATH variables. This solved the 
first installation problem.

But after a little change in the www/index.html and a re-run of cordova build 
and cordova emulate android or ios I didn't see the change in the emulator. The 
problem is that the index.html in the platforms folder isn't updated during the 
build process. Is this the correct behavior?

> Windows cordova emulate command doesn't install project
> ---
>
> Key: CB-4285
> URL: https://issues.apache.org/jira/browse/CB-4285
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
> Environment: Windows 7
>Reporter: Lisa Seacat DeLuca
>Assignee: Filip Maj
>
> I am able to add the android platform to a test cordova cli project and build 
> just fine.  When i go to run on an emulator the emulator opens but the 
> project is never installed.  This is the very simple case, no plugins were 
> added.
> C:\workspaces\cordovacli\helloworld>cordova -d emulate android
> cordova library for "android" already exists. No need to download. Continuing.
> Wrote out Android application name to "helloworld"
> Wrote out Android package name to "com.helloworld"
> Calling plugman.prepare for platform "android"
> Preparing android project...
> Processing configuration changes for plugins.
> Iterating over installed plugins: []
> Writing out cordova_plugins.js...
> Running on emulator for platform "android" via command 
> ""C:\workspaces\cordovacli\helloworld\platforms\android\cordova\run" 
> --emulator" (output to fol
> low)...

--
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-3359) File.readAsArrayBuffer() is slow on iOS

2013-08-07 Thread Andrew Grieve (JIRA)

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

Andrew Grieve commented on CB-3359:
---

Okay, sorry, didn't notice that :(.

> File.readAsArrayBuffer() is slow on iOS
> ---
>
> Key: CB-3359
> URL: https://issues.apache.org/jira/browse/CB-3359
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.7.0
>Reporter: Daniel Haas
>Assignee: Lorin Beer
>  Labels: performance
>
> Reading a 3MB file with File.readAsArrayBuffer() takes approximatly 5 seconds!
> Is there anything that we can do to improve performance for this? (I'm not 
> expecting to read a 3 MB file in 10ms, but something below 0.5 seconds).
> If needed I could also provide a small testcase app.

--
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-4502) Create an app whose name starts with "x", and add one plugin, then build failed

2013-08-07 Thread Steve Gill (JIRA)

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

Steve Gill commented on CB-4502:


This did not happen if the platform was android instead of ios.

> Create an app whose name starts with "x", and add one plugin, then build 
> failed
> ---
>
> Key: CB-4502
> URL: https://issues.apache.org/jira/browse/CB-4502
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 3.0.0
>Reporter: lmnbeyond
>Assignee: Steve Gill
>
> I ran the following commands:
>  
> $ cordova create xFactor com.example.xFactor xFactor
> $ cd xFactor/
> $ cordova platform add ios
> $ cordova plugin add 
> https://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git
> $ cordova build
> And I got the messages as follows:
> clang: error: no such file or directory: 
> '/somepath/xFactor/platforms/ios/xFactor/Plugins/org.apache.cordova.core.device/CDVDevice.m'
> clang: error: no input files
> ** BUILD FAILED **

--
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-3359) File.readAsArrayBuffer() is slow on iOS

2013-08-07 Thread Lorin Beer (JIRA)

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

Lorin Beer commented on CB-3359:


[~agrieve] I had assigned this issue to myself yesterday after going through 
the backlog and noticing that it had been idle for some time. If a bug is 
assigned, it's good form to ping the assignee before reassigning it, especially 
if there is recent activity, like a reassignment the day before.

I will be getting to it this week, I'll ping Ian about it tomorrow.

> File.readAsArrayBuffer() is slow on iOS
> ---
>
> Key: CB-3359
> URL: https://issues.apache.org/jira/browse/CB-3359
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.7.0
>Reporter: Daniel Haas
>Assignee: Lorin Beer
>  Labels: performance
>
> Reading a 3MB file with File.readAsArrayBuffer() takes approximatly 5 seconds!
> Is there anything that we can do to improve performance for this? (I'm not 
> expecting to read a 3 MB file in 10ms, but something below 0.5 seconds).
> If needed I could also provide a small testcase app.

--
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-4536) BlackBerry bin/create script should copy check_reqs script into project/cordova folder

2013-08-07 Thread Filip Maj (JIRA)
Filip Maj created CB-4536:
-

 Summary: BlackBerry bin/create script should copy check_reqs 
script into project/cordova folder
 Key: CB-4536
 URL: https://issues.apache.org/jira/browse/CB-4536
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: BlackBerry
Affects Versions: Master
Reporter: Filip Maj
Assignee: Lorin Beer
 Fix For: 3.1.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] [Created] (CB-4537) iOS bin/create script should copy check_reqs script into project/cordova folder

2013-08-07 Thread Filip Maj (JIRA)
Filip Maj created CB-4537:
-

 Summary: iOS bin/create script should copy check_reqs script into 
project/cordova folder
 Key: CB-4537
 URL: https://issues.apache.org/jira/browse/CB-4537
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: iOS
Affects Versions: Master
Reporter: Filip Maj
Assignee: Shazron Abdullah
 Fix For: 3.1.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] [Created] (CB-4535) Android bin/create script should copy check_reqs script into project/cordova folder

2013-08-07 Thread Filip Maj (JIRA)
Filip Maj created CB-4535:
-

 Summary: Android bin/create script should copy check_reqs script 
into project/cordova folder
 Key: CB-4535
 URL: https://issues.apache.org/jira/browse/CB-4535
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: Android
Affects Versions: Master
Reporter: Filip Maj
Assignee: Joe Bowser




--
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-4538) Windows Phone bin/create scripts should copy check_reqs script into project/cordova folder

2013-08-07 Thread Filip Maj (JIRA)
Filip Maj created CB-4538:
-

 Summary: Windows Phone bin/create scripts should copy check_reqs 
script into project/cordova folder
 Key: CB-4538
 URL: https://issues.apache.org/jira/browse/CB-4538
 Project: Apache Cordova
  Issue Type: Sub-task
  Components: WP7, WP8
Affects Versions: Master
Reporter: Filip Maj
Assignee: Jesse MacFadyen
 Fix For: 3.1.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] [Created] (CB-4534) bin/create scripts should copy check_reqs into project/cordova folder

2013-08-07 Thread Filip Maj (JIRA)
Filip Maj created CB-4534:
-

 Summary: bin/create scripts should copy check_reqs into 
project/cordova folder
 Key: CB-4534
 URL: https://issues.apache.org/jira/browse/CB-4534
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: Master
Reporter: Filip Maj
Assignee: Filip Maj
 Fix For: 3.1.0


Parent task to track individual platform progress.

During create-time, the check-reqs script should be copied into project/cordova 
so that the project-level scripts have access to them.

--
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-4533) Windows Phone bin/check_reqs scripts should exit with code 2 if reqs are not met

2013-08-07 Thread Filip Maj (JIRA)
Filip Maj created CB-4533:
-

 Summary: Windows Phone bin/check_reqs scripts should exit with 
code 2 if reqs are not met
 Key: CB-4533
 URL: https://issues.apache.org/jira/browse/CB-4533
 Project: Apache Cordova
  Issue Type: Bug
  Components: WP7, WP8
Affects Versions: 3.0.0
Reporter: Filip Maj
Assignee: Jesse MacFadyen
Priority: Minor


As per description, need to tweak exit codes there is all.

--
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-4532) CLI is not passing through arguments beginning with "-" characters

2013-08-07 Thread Jeffrey Heifetz (JIRA)

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

Jeffrey Heifetz commented on CB-4532:
-

https://github.com/apache/cordova-cli/pull/28

> CLI is not passing through arguments beginning with "-" characters
> --
>
> Key: CB-4532
> URL: https://issues.apache.org/jira/browse/CB-4532
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 3.0.0
>Reporter: Jeffrey Heifetz
>Assignee: Jeffrey Heifetz
>


--
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-4531) BlackBerry10 bin/check_reqs scripts (sh, bat + js) should exit with code 2 if an error occurs

2013-08-07 Thread Filip Maj (JIRA)
Filip Maj created CB-4531:
-

 Summary: BlackBerry10 bin/check_reqs scripts (sh, bat + js) should 
exit with code 2 if an error occurs
 Key: CB-4531
 URL: https://issues.apache.org/jira/browse/CB-4531
 Project: Apache Cordova
  Issue Type: Bug
  Components: BlackBerry
Affects Versions: 3.0.0
Reporter: Filip Maj
Assignee: Lorin Beer
Priority: Minor


As per title!

--
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-4532) CLI is not passing through arguments beginning with "-" characters

2013-08-07 Thread Jeffrey Heifetz (JIRA)
Jeffrey Heifetz created CB-4532:
---

 Summary: CLI is not passing through arguments beginning with "-" 
characters
 Key: CB-4532
 URL: https://issues.apache.org/jira/browse/CB-4532
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI
Affects Versions: 3.0.0
Reporter: Jeffrey Heifetz
Assignee: Jeffrey Heifetz




--
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-4530) iOS bin/check_reqs script should check for xcode 4.6 as minimum, and exit with code 2 if error occurs

2013-08-07 Thread Filip Maj (JIRA)
Filip Maj created CB-4530:
-

 Summary: iOS bin/check_reqs script should check for xcode 4.6 as 
minimum, and exit with code 2 if error occurs
 Key: CB-4530
 URL: https://issues.apache.org/jira/browse/CB-4530
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 3.0.0
Reporter: Filip Maj
Assignee: Shazron Abdullah


As per title!

--
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-4528) Plugman v0.10.0 fails to publish due to path.join error

2013-08-07 Thread Anis Kadri (JIRA)

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

Anis Kadri resolved CB-4528.


Resolution: Fixed

{quote}
Publishing to the cordova registry @ http://registry.cordova.io/ fails due to a 
problem parsing the `dir` argument to `plugman publish dir`
{quote}

Try exactly that `plugman publish /path/to/plugin`. The `--plugin` option 
messes it up. I agree there should be better error handling but it's on my list.

> Plugman v0.10.0 fails to publish due to path.join error
> ---
>
> Key: CB-4528
> URL: https://issues.apache.org/jira/browse/CB-4528
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugman
>Affects Versions: 3.0.0
> Environment: OS X 10.8.4
> node v0.10.2
> npm v1.2.15
> cordova (cli) v3.0.4
> plugman v0.10.0
>Reporter: Steve Jansen
>Assignee: Anis Kadri
>
> Overview
> 
> Publishing to the cordova registry @ http://registry.cordova.io/ fails due to 
> a problem parsing the `dir` argument to `plugman publish dir`
>  
> Steps To Reproduce
> --
> sudo npm install -g plugman
> plugman adduser steve-jansen
> plugman publish --debug --plugin ./cordova-ios-emailcomposer/
> Expected Results
> 
> This should publish the ./cordova-ios-emailcomposer/ plugin to 
> http://registry.cordova.io/
>  $ ls -l ./cordova-ios-emailcomposer/plugin.xml 
>  -rw-r--r--  1 me  staff  1676 Aug  6 22:47 
> ./cordova-ios-emailcomposer/plugin.xml
> This is a local clone of 
> https://github.com/steve-jansen/cordova-ios-emailcomposer
> Actual Results
> --
> TypeError: Arguments to path.join must be strings
> at path.js:360:15
> at Array.filter (native)
> at Object.exports.join (path.js:358:36)
> at Object.generatePackageJsonFromPluginXml 
> (/usr/local/lib/node_modules/plugman/src/registry/manifest.js:16:57)
> at /usr/local/lib/node_modules/plugman/src/registry/registry.js:124:22
> at initSettings 
> (/usr/local/lib/node_modules/plugman/src/registry/registry.js:207:5)
> at Object.module.exports.publish 
> (/usr/local/lib/node_modules/plugman/src/registry/registry.js:121:9)
> at Object.module.exports [as publish] 
> (/usr/local/lib/node_modules/plugman/src/publish.js:5:14)
> at Object.plugman.commands.publish 
> (/usr/local/lib/node_modules/plugman/plugman.js:84:17)
> at Object. (/usr/local/lib/node_modules/plugman/main.js:75:26)
> Comments
> 
> It appears the dir argument passed on the command line is not being passed 
> into registry.js line 121, which cause the downstream error.  

--
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-4474) Globalization is not working in PhoneGap 3.0

2013-08-07 Thread James Jong (JIRA)

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

James Jong commented on CB-4474:


[~apla] You can find the steps to make a contribution/pull request here:
http://wiki.apache.org/cordova/ContributorWorkflow

One of the first steps is to sign the ICLA.

> Globalization is not working in PhoneGap 3.0
> 
>
> Key: CB-4474
> URL: https://issues.apache.org/jira/browse/CB-4474
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Globalization
>Affects Versions: 3.0.0
> Environment: Android and iOS.
>Reporter: Raymond Camden
>Assignee: Steve Gill
>
> Discussed on this Google Groups thread, 
> https://groups.google.com/forum/#!topic/phonegap/5YmjhUcuuR8%5B1-25-false%5D, 
> Globalization is failing in 3.0. In iOS, the success/error handler never 
> fires. If you open XCode and run from there, you see:
> 2013-07-29 13:21:55.113 HelloWorld[21542:c07] ERROR: Method 
> 'getPreferredLanguage:' not defined in Plugin 'Globalization'
> 2013-07-29 13:21:55.113 HelloWorld[21542:c07] -[CDVCommandQueue 
> executePending] [Line 116] FAILED pluginJSON = [
>   "Globalization1890587700",
>   "Globalization",
>   "getPreferredLanguage",
>   [
>   ]
> ]
> In Android, the error handler fires with: Class not found

--
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-3359) File.readAsArrayBuffer() is slow on iOS

2013-08-07 Thread Andrew Grieve (JIRA)

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

Andrew Grieve commented on CB-3359:
---

[~lorin.beer] I think it's common practice to re-assign unless a bug is marked 
as "In Progress" (hit the "Start Progress" button). This has been idle for 3 
months.

I assigned to [~iclelland] because he was thinking of looking at it this week. 
He'd done some work two weeks ago to improve the speed of base64 encoding array 
buffers, and so wanted to do more for ArrayBuffers.

I'm sure he'd be okay with you taking this on if you're going to be getting to 
it this week?

Maybe the two of you could share what kinds of tests you're thinking about for 
improving this?

I've wrote up a doc this morning that looks at bridge jank & Progress 
PluginResults building up (CB-3900). It may also be relevant to native->JS 
arraybuffers though: 
https://docs.google.com/document/d/1b2igeRoGXpdr_B89W7n2CaiXTspXq9tnrK5ocsyhNNM/edit#.
 Idea is to use an XHR or WebSocket to transfer the ArrayBuffer.

> File.readAsArrayBuffer() is slow on iOS
> ---
>
> Key: CB-3359
> URL: https://issues.apache.org/jira/browse/CB-3359
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.7.0
>Reporter: Daniel Haas
>Assignee: Lorin Beer
>  Labels: performance
>
> Reading a 3MB file with File.readAsArrayBuffer() takes approximatly 5 seconds!
> Is there anything that we can do to improve performance for this? (I'm not 
> expecting to read a 3 MB file in 10ms, but something below 0.5 seconds).
> If needed I could also provide a small testcase app.

--
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-4529) Add to CLI documentation that android has to built after npm install.

2013-08-07 Thread Kris Erickson (JIRA)
Kris Erickson created CB-4529:
-

 Summary: Add to CLI documentation that android has to built after 
npm install.
 Key: CB-4529
 URL: https://issues.apache.org/jira/browse/CB-4529
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Docs
Affects Versions: 3.0.0
 Environment: Windows
Reporter: Kris Erickson
Assignee: Michael Brooks
Priority: Minor


Add to CLI documentation that android has to built after npm install.  See 
https://groups.google.com/forum/#!searchin/phonegap/windows$20cli/phonegap/yqh0wFqHTss/52IXqyYy-SwJ
 for more details.  Also it would be nice if the CLI recognized that android 
platform was not built and produced a more insightful warning.

--
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-4502) Create an app whose name starts with "x", and add one plugin, then build failed

2013-08-07 Thread Steve Gill (JIRA)

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

Steve Gill commented on CB-4502:


I get the same issue. Doesn't happen if the project was named Factor instead of 
xFactor. I will investigate to see if I can figure out what is going on.

> Create an app whose name starts with "x", and add one plugin, then build 
> failed
> ---
>
> Key: CB-4502
> URL: https://issues.apache.org/jira/browse/CB-4502
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 3.0.0
>Reporter: lmnbeyond
>Assignee: Steve Gill
>
> I ran the following commands:
>  
> $ cordova create xFactor com.example.xFactor xFactor
> $ cd xFactor/
> $ cordova platform add ios
> $ cordova plugin add 
> https://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git
> $ cordova build
> And I got the messages as follows:
> clang: error: no such file or directory: 
> '/somepath/xFactor/platforms/ios/xFactor/Plugins/org.apache.cordova.core.device/CDVDevice.m'
> clang: error: no input files
> ** BUILD FAILED **

--
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] [Assigned] (CB-4502) Create an app whose name starts with "x", and add one plugin, then build failed

2013-08-07 Thread Filip Maj (JIRA)

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

Filip Maj reassigned CB-4502:
-

Assignee: Steve Gill  (was: Filip Maj)

Steve can you check if you get this same issue?

> Create an app whose name starts with "x", and add one plugin, then build 
> failed
> ---
>
> Key: CB-4502
> URL: https://issues.apache.org/jira/browse/CB-4502
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
>Affects Versions: 3.0.0
>Reporter: lmnbeyond
>Assignee: Steve Gill
>
> I ran the following commands:
>  
> $ cordova create xFactor com.example.xFactor xFactor
> $ cd xFactor/
> $ cordova platform add ios
> $ cordova plugin add 
> https://git-wip-us.apache.org/repos/asf/cordova-plugin-device.git
> $ cordova build
> And I got the messages as follows:
> clang: error: no such file or directory: 
> '/somepath/xFactor/platforms/ios/xFactor/Plugins/org.apache.cordova.core.device/CDVDevice.m'
> clang: error: no input files
> ** BUILD FAILED **

--
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-4524) .NET Framework version detected incorrectly

2013-08-07 Thread Filip Maj (JIRA)

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

Filip Maj updated CB-4524:
--

  Component/s: (was: CLI)
   WP7
Fix Version/s: 3.1.0
 Assignee: Jesse MacFadyen  (was: Filip Maj)

Thanks for reporting this!

I've updated the components to point to the underlying platform libraries, 
where the error seems to exist.

> .NET Framework version detected incorrectly
> ---
>
> Key: CB-4524
> URL: https://issues.apache.org/jira/browse/CB-4524
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: WP7, WP8
>Affects Versions: 3.0.0
> Environment: Windows 8, Visual Studio 2012, Windows Phone 8 SDK
> Microsoft (R)-Buildmodul, Version 4.0.30319.17929
> Microsoft .NET Framework, Version 4.0.30319.18051
>Reporter: Wolfgang Koller
>Assignee: Jesse MacFadyen
>  Labels: cordova, cordova-cli, framework, net-4.0
> Fix For: 3.1.0
>
>
> The project fails to create even though I have the latest Windows Phone 8 SDK 
> installed, including the correct .NET Framework version. This is caused by 
> the invalid regular expression to check the version number.
> On line 78 of "\.cordova\lib\wp\cordova\3.0.0\wp8\bin\check_reqs.js" there is 
> a check for "version", however in my installed msbuild command the version is 
> output using an upper case 'V'. I guess this might be due to the German 
> version of the .NET Framework?!
> Changing the check to be case insensitive would certainly solve the problem, 
> although other language issues should be considered as well (e.g. if the word 
> "version" is written differently).

--
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-4285) Windows cordova emulate command doesn't install project

2013-08-07 Thread Filip Maj (JIRA)

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

Filip Maj commented on CB-4285:
---

Can you guys run the last command from your output log (i.e. cordova/run 
--emulator with the full path prefix) and post your output in here?

> Windows cordova emulate command doesn't install project
> ---
>
> Key: CB-4285
> URL: https://issues.apache.org/jira/browse/CB-4285
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
> Environment: Windows 7
>Reporter: Lisa Seacat DeLuca
>Assignee: Filip Maj
>
> I am able to add the android platform to a test cordova cli project and build 
> just fine.  When i go to run on an emulator the emulator opens but the 
> project is never installed.  This is the very simple case, no plugins were 
> added.
> C:\workspaces\cordovacli\helloworld>cordova -d emulate android
> cordova library for "android" already exists. No need to download. Continuing.
> Wrote out Android application name to "helloworld"
> Wrote out Android package name to "com.helloworld"
> Calling plugman.prepare for platform "android"
> Preparing android project...
> Processing configuration changes for plugins.
> Iterating over installed plugins: []
> Writing out cordova_plugins.js...
> Running on emulator for platform "android" via command 
> ""C:\workspaces\cordovacli\helloworld\platforms\android\cordova\run" 
> --emulator" (output to fol
> low)...

--
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-4528) Plugman v0.10.0 fails to publish due to path.join error

2013-08-07 Thread Steve Jansen (JIRA)
Steve Jansen created CB-4528:


 Summary: Plugman v0.10.0 fails to publish due to path.join error
 Key: CB-4528
 URL: https://issues.apache.org/jira/browse/CB-4528
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugman
Affects Versions: 3.0.0
 Environment: OS X 10.8.4
node v0.10.2
npm v1.2.15
cordova (cli) v3.0.4
plugman v0.10.0
Reporter: Steve Jansen
Assignee: Filip Maj


Overview

Publishing to the cordova registry @ http://registry.cordova.io/ fails due to a 
problem parsing the `dir` argument to `plugman publish dir`
 
Steps To Reproduce
--
sudo npm install -g plugman
plugman adduser steve-jansen
plugman publish --debug --plugin ./cordova-ios-emailcomposer/

Expected Results

This should publish the ./cordova-ios-emailcomposer/ plugin to 
http://registry.cordova.io/

 $ ls -l ./cordova-ios-emailcomposer/plugin.xml 
 -rw-r--r--  1 me  staff  1676 Aug  6 22:47 
./cordova-ios-emailcomposer/plugin.xml

This is a local clone of 
https://github.com/steve-jansen/cordova-ios-emailcomposer

Actual Results
--
TypeError: Arguments to path.join must be strings
at path.js:360:15
at Array.filter (native)
at Object.exports.join (path.js:358:36)
at Object.generatePackageJsonFromPluginXml 
(/usr/local/lib/node_modules/plugman/src/registry/manifest.js:16:57)
at /usr/local/lib/node_modules/plugman/src/registry/registry.js:124:22
at initSettings 
(/usr/local/lib/node_modules/plugman/src/registry/registry.js:207:5)
at Object.module.exports.publish 
(/usr/local/lib/node_modules/plugman/src/registry/registry.js:121:9)
at Object.module.exports [as publish] 
(/usr/local/lib/node_modules/plugman/src/publish.js:5:14)
at Object.plugman.commands.publish 
(/usr/local/lib/node_modules/plugman/plugman.js:84:17)
at Object. (/usr/local/lib/node_modules/plugman/main.js:75:26)

Comments

It appears the dir argument passed on the command line is not being passed into 
registry.js line 121, which cause the downstream error.  


--
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] [Assigned] (CB-4528) Plugman v0.10.0 fails to publish due to path.join error

2013-08-07 Thread Filip Maj (JIRA)

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

Filip Maj reassigned CB-4528:
-

Assignee: Anis Kadri  (was: Filip Maj)

> Plugman v0.10.0 fails to publish due to path.join error
> ---
>
> Key: CB-4528
> URL: https://issues.apache.org/jira/browse/CB-4528
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugman
>Affects Versions: 3.0.0
> Environment: OS X 10.8.4
> node v0.10.2
> npm v1.2.15
> cordova (cli) v3.0.4
> plugman v0.10.0
>Reporter: Steve Jansen
>Assignee: Anis Kadri
>
> Overview
> 
> Publishing to the cordova registry @ http://registry.cordova.io/ fails due to 
> a problem parsing the `dir` argument to `plugman publish dir`
>  
> Steps To Reproduce
> --
> sudo npm install -g plugman
> plugman adduser steve-jansen
> plugman publish --debug --plugin ./cordova-ios-emailcomposer/
> Expected Results
> 
> This should publish the ./cordova-ios-emailcomposer/ plugin to 
> http://registry.cordova.io/
>  $ ls -l ./cordova-ios-emailcomposer/plugin.xml 
>  -rw-r--r--  1 me  staff  1676 Aug  6 22:47 
> ./cordova-ios-emailcomposer/plugin.xml
> This is a local clone of 
> https://github.com/steve-jansen/cordova-ios-emailcomposer
> Actual Results
> --
> TypeError: Arguments to path.join must be strings
> at path.js:360:15
> at Array.filter (native)
> at Object.exports.join (path.js:358:36)
> at Object.generatePackageJsonFromPluginXml 
> (/usr/local/lib/node_modules/plugman/src/registry/manifest.js:16:57)
> at /usr/local/lib/node_modules/plugman/src/registry/registry.js:124:22
> at initSettings 
> (/usr/local/lib/node_modules/plugman/src/registry/registry.js:207:5)
> at Object.module.exports.publish 
> (/usr/local/lib/node_modules/plugman/src/registry/registry.js:121:9)
> at Object.module.exports [as publish] 
> (/usr/local/lib/node_modules/plugman/src/publish.js:5:14)
> at Object.plugman.commands.publish 
> (/usr/local/lib/node_modules/plugman/plugman.js:84:17)
> at Object. (/usr/local/lib/node_modules/plugman/main.js:75:26)
> Comments
> 
> It appears the dir argument passed on the command line is not being passed 
> into registry.js line 121, which cause the downstream error.  

--
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-4527) Unix and Windows Scripts should both be included in a project

2013-08-07 Thread Michael Brooks (JIRA)
Michael Brooks created CB-4527:
--

 Summary: Unix and Windows Scripts should both be included in a 
project
 Key: CB-4527
 URL: https://issues.apache.org/jira/browse/CB-4527
 Project: Apache Cordova
  Issue Type: Bug
  Components: Android
Affects Versions: 3.0.0
Reporter: Michael Brooks
Assignee: Joe Bowser


**Problem:**

When a new Android project is created, only the OS-specific the 
platform-scripts ({{my-project/cordova/}}) are copied over.

For example, on Windows only the batch files are copied; on Unix only the bash 
files are copied.

**Solution:**

Both sets of scripts should be copied.

Many projects involve multiple collaborators. On Android, it is not uncommon 
for those collaborators to use both Windows and Unix. So, the generated Android 
project should support both environments.

**Reference:**

[phonegap/phonegap-cli#136|https://github.com/phonegap/phonegap-cli/issues/136#issuecomment-22238361]

--
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-4526) Windows Phone 7+8 `build` script with no flags should call `clean` first

2013-08-07 Thread Filip Maj (JIRA)
Filip Maj created CB-4526:
-

 Summary: Windows Phone 7+8 `build` script with no flags should 
call `clean` first
 Key: CB-4526
 URL: https://issues.apache.org/jira/browse/CB-4526
 Project: Apache Cordova
  Issue Type: Bug
  Components: WP7, WP8
Affects Versions: 3.0.0
Reporter: Filip Maj
Assignee: Jesse MacFadyen
Priority: Minor


If you explicitly call {{build}} with the {{--debug}} or {{--release}} flag 
([see 
here|https://github.com/apache/cordova-wp8/blob/master/wp8/template/cordova/lib/build.js#L175]),
 it invokes {{clean}} first, as spec'ed.

However, if you do not call it with a particular flag, it will not call clean. 
[See 
here|https://github.com/apache/cordova-wp8/blob/master/wp8/template/cordova/lib/build.js#L196].
 

Invocations of {{build}} should always invoke {{clean}}.

--
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-4525) IOS getPicture FileTransfer adds empty enter top of file corrupting image

2013-08-07 Thread John Sim (JIRA)
John Sim created CB-4525:


 Summary: IOS getPicture FileTransfer adds empty enter top of file 
corrupting image
 Key: CB-4525
 URL: https://issues.apache.org/jira/browse/CB-4525
 Project: Apache Cordova
  Issue Type: Bug
  Components: iOS
Affects Versions: 2.9.0
 Environment: IOS, IPAD 6.x
Reporter: John Sim
Assignee: Shazron Abdullah


On the ipad I take a photo and transfer that photo to a webservice via phonegap 
upload.

The photo appears to have an extra carriage return at the very top of the file 
when editing in notepad++ image.jpg and also png files produce the same issue.


Example code - 
{code:JavaScript|title=upload.js|borderStyle=solid}
navigator.camera.getPicture(
//success
function(imageURI) {
setTimeout(function() {
alert('Picture taken');

//Upload Options
var options = new FileUploadOptions();
//set defaults
options.fileKey='primaryFile';
options.fileName=imageURI.substr(imageURI.lastIndexOf('/')+1);
options.mimeType='image/jpeg'; //or 'image/png'
options.chunkedMode = false;

//set default form params for service
options.params = {
dDocAuthor: 'me',
dDocTitle:  'Mobile Upload Test', 
dDocType:   'Document',
dSecurityGroup: 'test', 
dDocAccount:'', 
xComments:  'Mobile Upload'
};

//Set Auth header
var vAuthHeader = 
Crypto.util.bytesToBase64(Crypto.charenc.Binary.stringToBytes(FB.WebCenterSettings.userName
 + ':' + FB.WebCenterSettings.password));
options.headers = {'Authorization': 'Basic ' + vAuthHeader};

var fFileTransfer = new FileTransfer();

fFileTransfer.upload(
imageURI, 

encodeURI(FB.WebCenterSettings[FB.WebCenterSettings.activeServer].ucmPath+'/idcplg?IdcService=CHECKIN_UNIVERSAL&IsJson=1'),
//success
function(r){
alert('[Photo Sucessfully Uploaded]');
}, 
//fail
function(error) {
alert('[FAIL]');
}, options, true);
}, 0);


//error
}, function(message) {
alert('[Fail]');

//options
},{ 
quality:20,
destinationType:Camera.DestinationType.NATIVE_URI,
sourceType: Camera.PictureSourceType.CAMERA,
encodingType:   Camera.EncodingType.JPEG,
targetWidth:650,
targetHeight:   650,
saveToPhotoAlbum:   false
});

{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] [Resolved] (CB-4469) Move resource (www) copy build step into an external script

2013-08-07 Thread Max Woghiren (JIRA)

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

Max Woghiren resolved CB-4469.
--

Resolution: Fixed

> Move resource (www) copy build step into an external script
> ---
>
> Key: CB-4469
> URL: https://issues.apache.org/jira/browse/CB-4469
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: Master
> Environment: iOS build
>Reporter: David Kemp
>Assignee: David Kemp
>Priority: Minor
>
> move the script out of the iOS project into a separate script and then invoke 
> the script from the build step. This allows updating the script without 
> affecting the project and simpler change control.

--
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-4469) Move resource (www) copy build step into an external script

2013-08-07 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CB-4469:
-

Commit ce766c6139e288ce0b4592fb915890018681b8b9 in branch refs/heads/master 
from [~drkemp]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=ce766c6 ]

[CB-4469] move copy resource script out of project file


> Move resource (www) copy build step into an external script
> ---
>
> Key: CB-4469
> URL: https://issues.apache.org/jira/browse/CB-4469
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: Master
> Environment: iOS build
>Reporter: David Kemp
>Assignee: David Kemp
>Priority: Minor
>
> move the script out of the iOS project into a separate script and then invoke 
> the script from the build step. This allows updating the script without 
> affecting the project and simpler change control.

--
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-4285) Windows cordova emulate command doesn't install project

2013-08-07 Thread Frank Hennig (JIRA)

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

Frank Hennig commented on CB-4285:
--

Hi, the same here on Mac OS X 10.7.5 with cordova-cli 3.0.4.
{code}
$ cordova -d emulate android
cordova library for "android" already exists. No need to download. Continuing.
Wrote out Android application name to "HelloWorld"
Wrote out Android package name to "com.hello.world"
Calling plugman.prepare for platform "android"
Preparing android project...
Processing configuration changes for plugins.
Iterating over installed plugins: []
Writing out cordova_plugins.js...
Running on emulator for platform "android" via command 
""/Users/myUer/repo/git/HelloWorld/platforms/android/cordova/run" --emulator" 
(output to follow)...
{code}

In addition, stopping the emulator, doesn't stop the command line process.

> Windows cordova emulate command doesn't install project
> ---
>
> Key: CB-4285
> URL: https://issues.apache.org/jira/browse/CB-4285
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI
> Environment: Windows 7
>Reporter: Lisa Seacat DeLuca
>Assignee: Filip Maj
>
> I am able to add the android platform to a test cordova cli project and build 
> just fine.  When i go to run on an emulator the emulator opens but the 
> project is never installed.  This is the very simple case, no plugins were 
> added.
> C:\workspaces\cordovacli\helloworld>cordova -d emulate android
> cordova library for "android" already exists. No need to download. Continuing.
> Wrote out Android application name to "helloworld"
> Wrote out Android package name to "com.helloworld"
> Calling plugman.prepare for platform "android"
> Preparing android project...
> Processing configuration changes for plugins.
> Iterating over installed plugins: []
> Writing out cordova_plugins.js...
> Running on emulator for platform "android" via command 
> ""C:\workspaces\cordovacli\helloworld\platforms\android\cordova\run" 
> --emulator" (output to fol
> low)...

--
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-3359) File.readAsArrayBuffer() is slow on iOS

2013-08-07 Thread Lorin Beer (JIRA)

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

Lorin Beer commented on CB-3359:


I'll be running some tests and looking into whether performance can be improved.

[~agrieve], please discuss before reassigning issues which are not assigned to 
you.

> File.readAsArrayBuffer() is slow on iOS
> ---
>
> Key: CB-3359
> URL: https://issues.apache.org/jira/browse/CB-3359
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.7.0
>Reporter: Daniel Haas
>Assignee: Ian Clelland
>  Labels: performance
>
> Reading a 3MB file with File.readAsArrayBuffer() takes approximatly 5 seconds!
> Is there anything that we can do to improve performance for this? (I'm not 
> expecting to read a 3 MB file in 10ms, but something below 0.5 seconds).
> If needed I could also provide a small testcase app.

--
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] [Assigned] (CB-3359) File.readAsArrayBuffer() is slow on iOS

2013-08-07 Thread Lorin Beer (JIRA)

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

Lorin Beer reassigned CB-3359:
--

Assignee: Lorin Beer  (was: Ian Clelland)

> File.readAsArrayBuffer() is slow on iOS
> ---
>
> Key: CB-3359
> URL: https://issues.apache.org/jira/browse/CB-3359
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.7.0
>Reporter: Daniel Haas
>Assignee: Lorin Beer
>  Labels: performance
>
> Reading a 3MB file with File.readAsArrayBuffer() takes approximatly 5 seconds!
> Is there anything that we can do to improve performance for this? (I'm not 
> expecting to read a 3 MB file in 10ms, but something below 0.5 seconds).
> If needed I could also provide a small testcase app.

--
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-3359) File.readAsArrayBuffer() is slow on iOS

2013-08-07 Thread Lorin Beer (JIRA)

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

Lorin Beer updated CB-3359:
---

Description: 
Reading a 3MB file with File.readAsArrayBuffer() takes approximatly 5 seconds!
Is there anything that we can do to improve performance for this? (I'm not 
expecting to read a 3 MB file in 10ms, but something below 0.5 seconds).

If needed I could also provide a small testcase app.



  was:
Reading a 3MB file with File.readAsArrayBuffer() takes approximatly 5 seconds!
Is there anything that we can do to improve performance for this? (I'm not 
expecting to read a 3 MB file in 10ms, but something below 0.5 seconds).

If needed I could also provide a small testcase app.


> File.readAsArrayBuffer() is slow on iOS
> ---
>
> Key: CB-3359
> URL: https://issues.apache.org/jira/browse/CB-3359
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.7.0
>Reporter: Daniel Haas
>Assignee: Ian Clelland
>  Labels: performance
>
> Reading a 3MB file with File.readAsArrayBuffer() takes approximatly 5 seconds!
> Is there anything that we can do to improve performance for this? (I'm not 
> expecting to read a 3 MB file in 10ms, but something below 0.5 seconds).
> If needed I could also provide a small testcase app.

--
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-3359) File.readAsArrayBuffer() is slow on iOS

2013-08-07 Thread Andrew Grieve (JIRA)

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

Andrew Grieve updated CB-3359:
--

Assignee: Ian Clelland  (was: Lorin Beer)

> File.readAsArrayBuffer() is slow on iOS
> ---
>
> Key: CB-3359
> URL: https://issues.apache.org/jira/browse/CB-3359
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.7.0
>Reporter: Daniel Haas
>Assignee: Ian Clelland
>  Labels: performance
>
> Reading a 3MB file with File.readAsArrayBuffer() takes approximatly 5 seconds!
> Is there anything that we can do to improve performance for this? (I'm not 
> expecting to read a 3 MB file in 10ms, but something below 0.5 seconds).
> If needed I could also provide a small testcase app.

--
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-4524) .NET Framework version detected incorrectly

2013-08-07 Thread Wolfgang Koller (JIRA)

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

Wolfgang Koller updated CB-4524:


Labels: cordova cordova-cli framework net-4.0  (was: )

> .NET Framework version detected incorrectly
> ---
>
> Key: CB-4524
> URL: https://issues.apache.org/jira/browse/CB-4524
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: CLI, WP8
>Affects Versions: 3.0.0
> Environment: Windows 8, Visual Studio 2012, Windows Phone 8 SDK
> Microsoft (R)-Buildmodul, Version 4.0.30319.17929
> Microsoft .NET Framework, Version 4.0.30319.18051
>Reporter: Wolfgang Koller
>Assignee: Filip Maj
>  Labels: cordova, cordova-cli, framework, net-4.0
>
> The project fails to create even though I have the latest Windows Phone 8 SDK 
> installed, including the correct .NET Framework version. This is caused by 
> the invalid regular expression to check the version number.
> On line 78 of "\.cordova\lib\wp\cordova\3.0.0\wp8\bin\check_reqs.js" there is 
> a check for "version", however in my installed msbuild command the version is 
> output using an upper case 'V'. I guess this might be due to the German 
> version of the .NET Framework?!
> Changing the check to be case insensitive would certainly solve the problem, 
> although other language issues should be considered as well (e.g. if the word 
> "version" is written differently).

--
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-4524) .NET Framework version detected incorrectly

2013-08-07 Thread Wolfgang Koller (JIRA)
Wolfgang Koller created CB-4524:
---

 Summary: .NET Framework version detected incorrectly
 Key: CB-4524
 URL: https://issues.apache.org/jira/browse/CB-4524
 Project: Apache Cordova
  Issue Type: Bug
  Components: CLI, WP8
Affects Versions: 3.0.0
 Environment: Windows 8, Visual Studio 2012, Windows Phone 8 SDK
Microsoft (R)-Buildmodul, Version 4.0.30319.17929
Microsoft .NET Framework, Version 4.0.30319.18051
Reporter: Wolfgang Koller
Assignee: Filip Maj


The project fails to create even though I have the latest Windows Phone 8 SDK 
installed, including the correct .NET Framework version. This is caused by the 
invalid regular expression to check the version number.

On line 78 of "\.cordova\lib\wp\cordova\3.0.0\wp8\bin\check_reqs.js" there is a 
check for "version", however in my installed msbuild command the version is 
output using an upper case 'V'. I guess this might be due to the German version 
of the .NET Framework?!

Changing the check to be case insensitive would certainly solve the problem, 
although other language issues should be considered as well (e.g. if the word 
"version" is written differently).

--
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-4474) Globalization is not working in PhoneGap 3.0

2013-08-07 Thread boombari (JIRA)

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

boombari commented on CB-4474:
--

I confirm the bug :(

> Globalization is not working in PhoneGap 3.0
> 
>
> Key: CB-4474
> URL: https://issues.apache.org/jira/browse/CB-4474
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Globalization
>Affects Versions: 3.0.0
> Environment: Android and iOS.
>Reporter: Raymond Camden
>Assignee: Steve Gill
>
> Discussed on this Google Groups thread, 
> https://groups.google.com/forum/#!topic/phonegap/5YmjhUcuuR8%5B1-25-false%5D, 
> Globalization is failing in 3.0. In iOS, the success/error handler never 
> fires. If you open XCode and run from there, you see:
> 2013-07-29 13:21:55.113 HelloWorld[21542:c07] ERROR: Method 
> 'getPreferredLanguage:' not defined in Plugin 'Globalization'
> 2013-07-29 13:21:55.113 HelloWorld[21542:c07] -[CDVCommandQueue 
> executePending] [Line 116] FAILED pluginJSON = [
>   "Globalization1890587700",
>   "Globalization",
>   "getPreferredLanguage",
>   [
>   ]
> ]
> In Android, the error handler fires with: Class not found

--
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] [Comment Edited] (CB-4474) Globalization is not working in PhoneGap 3.0

2013-08-07 Thread Estelle (JIRA)

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

Estelle edited comment on CB-4474 at 8/7/13 1:09 PM:
-

I also ass this update on iOS (test on iPad 3) and have these errors with the 
getPreferredLanguage function.

CDVPlugin class CDVGlobalization (pluginName: Globalization) does not exist.
ERROR: Plugin 'Globalization' not found, or is not a CDVPlugin. Check your 
plugin mapping in config.xml.
[CDVCommandQueue executePending] [Line 116] FAILED pluginJSON = [
  "Globalization1416455619",
  "Globalization",
  "getPreferredLanguage",
  [

  ]
]

I confirm plugin is installed, I see files in my project field.

  was (Author: eclectic):
I also ass this update on iOS (test on iPad 3) and have these errors with 
the getPreferredLanguage function.

CDVPlugin class CDVGlobalization (pluginName: Globalization) does not exist.
ERROR: Plugin 'Globalization' not found, or is not a CDVPlugin. Check your 
plugin mapping in config.xml.
[CDVCommandQueue executePending] [Line 116] FAILED pluginJSON = [
  "Globalization1416455619",
  "Globalization",
  "getPreferredLanguage",
  [

  ]
]
  
> Globalization is not working in PhoneGap 3.0
> 
>
> Key: CB-4474
> URL: https://issues.apache.org/jira/browse/CB-4474
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Globalization
>Affects Versions: 3.0.0
> Environment: Android and iOS.
>Reporter: Raymond Camden
>Assignee: Steve Gill
>
> Discussed on this Google Groups thread, 
> https://groups.google.com/forum/#!topic/phonegap/5YmjhUcuuR8%5B1-25-false%5D, 
> Globalization is failing in 3.0. In iOS, the success/error handler never 
> fires. If you open XCode and run from there, you see:
> 2013-07-29 13:21:55.113 HelloWorld[21542:c07] ERROR: Method 
> 'getPreferredLanguage:' not defined in Plugin 'Globalization'
> 2013-07-29 13:21:55.113 HelloWorld[21542:c07] -[CDVCommandQueue 
> executePending] [Line 116] FAILED pluginJSON = [
>   "Globalization1890587700",
>   "Globalization",
>   "getPreferredLanguage",
>   [
>   ]
> ]
> In Android, the error handler fires with: Class not found

--
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-4474) Globalization is not working in PhoneGap 3.0

2013-08-07 Thread Estelle (JIRA)

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

Estelle commented on CB-4474:
-

I also ass this update on iOS (test on iPad 3) and have these errors with the 
getPreferredLanguage function.

CDVPlugin class CDVGlobalization (pluginName: Globalization) does not exist.
ERROR: Plugin 'Globalization' not found, or is not a CDVPlugin. Check your 
plugin mapping in config.xml.
[CDVCommandQueue executePending] [Line 116] FAILED pluginJSON = [
  "Globalization1416455619",
  "Globalization",
  "getPreferredLanguage",
  [

  ]
]

> Globalization is not working in PhoneGap 3.0
> 
>
> Key: CB-4474
> URL: https://issues.apache.org/jira/browse/CB-4474
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Globalization
>Affects Versions: 3.0.0
> Environment: Android and iOS.
>Reporter: Raymond Camden
>Assignee: Steve Gill
>
> Discussed on this Google Groups thread, 
> https://groups.google.com/forum/#!topic/phonegap/5YmjhUcuuR8%5B1-25-false%5D, 
> Globalization is failing in 3.0. In iOS, the success/error handler never 
> fires. If you open XCode and run from there, you see:
> 2013-07-29 13:21:55.113 HelloWorld[21542:c07] ERROR: Method 
> 'getPreferredLanguage:' not defined in Plugin 'Globalization'
> 2013-07-29 13:21:55.113 HelloWorld[21542:c07] -[CDVCommandQueue 
> executePending] [Line 116] FAILED pluginJSON = [
>   "Globalization1890587700",
>   "Globalization",
>   "getPreferredLanguage",
>   [
>   ]
> ]
> In Android, the error handler fires with: Class not found

--
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-4474) Globalization is not working in PhoneGap 3.0

2013-08-07 Thread Damien Nicolas (JIRA)

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

Damien Nicolas commented on CB-4474:


I just try the update on iOS (simulator and real iPhone4S device) and it works 
for me .. But I only test the getPreferredLanguage function. 

> Globalization is not working in PhoneGap 3.0
> 
>
> Key: CB-4474
> URL: https://issues.apache.org/jira/browse/CB-4474
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Globalization
>Affects Versions: 3.0.0
> Environment: Android and iOS.
>Reporter: Raymond Camden
>Assignee: Steve Gill
>
> Discussed on this Google Groups thread, 
> https://groups.google.com/forum/#!topic/phonegap/5YmjhUcuuR8%5B1-25-false%5D, 
> Globalization is failing in 3.0. In iOS, the success/error handler never 
> fires. If you open XCode and run from there, you see:
> 2013-07-29 13:21:55.113 HelloWorld[21542:c07] ERROR: Method 
> 'getPreferredLanguage:' not defined in Plugin 'Globalization'
> 2013-07-29 13:21:55.113 HelloWorld[21542:c07] -[CDVCommandQueue 
> executePending] [Line 116] FAILED pluginJSON = [
>   "Globalization1890587700",
>   "Globalization",
>   "getPreferredLanguage",
>   [
>   ]
> ]
> In Android, the error handler fires with: Class not found

--
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-4521) Geolocation plugin timeouts on Android device with Cordova 3.0.X

2013-08-07 Thread Vladimir Riha (JIRA)

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

Vladimir Riha updated CB-4521:
--

Description: 
Geolocation fails on Android device with "Position retrieval timeout" message. 
I'm trying to use it like:
{noformat} 
locationWatchId = window.navigator.geolocation.watchPosition(callback, onFail, 
{maximumAge: 1, timeout: 1, enableHighAccuracy: true});
{noformat} 
I've tried to double maximumAge and timeout and no change. The very same works 
with I build the project with PhoneGap 2.8.1. Here are the steps I'm doing with 
Cordova 3.0.1:
{noformat} 
cordova create hello com.example.hello HelloWorld
cd hello/
cordova platform add android
cordova plugin add 
https://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation.git
... adding more plugin...
cordova build
cordova run android
{noformat} 

The same works on iPad. I started thread [1] about it and one other user has 
the same problem with Cordova 3.0.4


[1] https://groups.google.com/forum/?hl=en%3Fhl%3Den#!topic/phonegap/MP2eLY11Rlg

  was:
Geolocation fails on Android device with "Position retrieval timeout" message. 
I'm trying to use it like:

locationWatchId = window.navigator.geolocation.watchPosition(callback, onFail, 
{maximumAge: 1, timeout: 1, enableHighAccuracy: true});

I've tried to double maximumAge and timeout and no change. The very same works 
with I build the project with PhoneGap 2.8.1. Here are the steps I'm doing with 
Cordova 3.0.1:

cordova create hello com.example.hello HelloWorld
cd hello/
cordova platform add android
cordova plugin add 
https://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation.git
... adding more plugin...
cordova build
cordova run android


The same works on iPad. I started thread [1] about it and one other user has 
the same problem with Cordova 3.0.4


[1] https://groups.google.com/forum/?hl=en%3Fhl%3Den#!topic/phonegap/MP2eLY11Rlg


> Geolocation plugin timeouts on Android device with Cordova 3.0.X
> 
>
> Key: CB-4521
> URL: https://issues.apache.org/jira/browse/CB-4521
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Geolocation
>Affects Versions: 3.0.0
> Environment: Device: Galaxy Nexus 4.3 Stock
> PC: Ubuntu 12.04 32b
>Reporter: Vladimir Riha
>Assignee: Steve Gill
>Priority: Critical
>
> Geolocation fails on Android device with "Position retrieval timeout" 
> message. I'm trying to use it like:
> {noformat} 
> locationWatchId = window.navigator.geolocation.watchPosition(callback, 
> onFail, {maximumAge: 1, timeout: 1, enableHighAccuracy: true});
> {noformat} 
> I've tried to double maximumAge and timeout and no change. The very same 
> works with I build the project with PhoneGap 2.8.1. Here are the steps I'm 
> doing with Cordova 3.0.1:
> {noformat} 
> cordova create hello com.example.hello HelloWorld
> cd hello/
> cordova platform add android
> cordova plugin add 
> https://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation.git
> ... adding more plugin...
> cordova build
> cordova run android
> {noformat} 
> The same works on iPad. I started thread [1] about it and one other user has 
> the same problem with Cordova 3.0.4
> [1] 
> https://groups.google.com/forum/?hl=en%3Fhl%3Den#!topic/phonegap/MP2eLY11Rlg

--
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] [Comment Edited] (CB-4521) Geolocation plugin timeouts on Android device with Cordova 3.0.X

2013-08-07 Thread Tobias Blum (JIRA)

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

Tobias Blum edited comment on CB-4521 at 8/7/13 12:23 PM:
--

Dear cordova team,

to refine the information in this issue I tried to reproduce this behaviour in 
a minimal example. In my case I tested with getCurrentPosition() on my Nexus 7 
(4.3 stock). Could reproduce this also with an older Motorola phone (2.3.7).

These are the steps I took:
- Phonegap Version was 3.0.4
- phonegap create geolocationtest
- phonegap local plugin add 
https://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation.git
- In "index.html" add 'reload' after 
- In "js/index.js" add the following code in function onDeviceReady()
{code:title=When device ready|borderStyle=solid}
navigator.geolocation.getCurrentPosition(function(position) {
console.log("Position found: " + position.coords.latitude + "#" + 
position.coords.longitude);
alert("Position found: " + position.coords.latitude + "#" + 
position.coords.longitude);
}, function(err){
console.log("ERROR: " + err.message);
alert("ERROR: " + err.message);
}, { timeout: 3, enableHighAccuracy: false }); 

{code}
- phonegap local run android (App is deployed successfully to my Nexus 7)

After the App has started, it get an alert with "Position Found..." and the 
corresponding output on console.log in logcat. 
When I then click the reload link on the screen, I have to wait the timeout (30 
sec) and then I get the alert "ERROR: Position retrieval timed out." and in 
logcat I instantly get the following exception:
{code}
W/System.err(22208): java.lang.NullPointerException
W/System.err(22208):at 
org.apache.cordova.core.GeoBroker.getCurrentLocation(GeoBroker.java:109)
W/System.err(22208):at 
org.apache.cordova.core.GeoBroker.execute(GeoBroker.java:76)
W/System.err(22208):at 
org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:65)
W/System.err(22208):at 
org.apache.cordova.PluginManager.execHelper(PluginManager.java:229)
W/System.err(22208):at 
org.apache.cordova.PluginManager.exec(PluginManager.java:214)
W/System.err(22208):at 
org.apache.cordova.ExposedJsApi.exec(ExposedJsApi.java:53)
W/System.err(22208):at 
android.webkit.JWebCoreJavaBridge.sharedTimerFired(Native Method)
W/System.err(22208):at 
android.webkit.JWebCoreJavaBridge.sharedTimerFired(Native Method)
W/System.err(22208):at 
android.webkit.JWebCoreJavaBridge.fireSharedTimer(JWebCoreJavaBridge.java:92)
W/System.err(22208):at 
android.webkit.JWebCoreJavaBridge.handleMessage(JWebCoreJavaBridge.java:108)
W/System.err(22208):at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err(22208):at android.os.Looper.loop(Looper.java:137)
W/System.err(22208):at 
android.webkit.WebViewCore$WebCoreThread.run(WebViewCore.java:814)
W/System.err(22208):at java.lang.Thread.run(Thread.java:841)
{code}
The full logcat output can be found here: http://pastebin.com/JfivAAED

Best regards,
Tobias

  was (Author: tblum):
Dear cordova team,

to refine the information in this issue I tried to reproduce this behaviour in 
a minimal example. In my case I tested with getCurrentPosition() on my Nexus 7 
(4.3 stock). Could reproduce this also with an older Motorola phone (2.3.7).

These are the steps I took:
- Phonegap Version was 3.0.4
- phonegap create geolocationtest
- phonegap local plugin add 
https://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation.git
- In "index.html" add 'reload' after 
- In "js/index.js" add the following code in function onDeviceReady()
navigator.geolocation.getCurrentPosition(function(position) {
console.log("Position found: " + position.coords.latitude + "#" + 
position.coords.longitude);
alert("Position found: " + position.coords.latitude + "#" + 
position.coords.longitude);
}, function(err){
console.log("ERROR: " + err.message);
alert("ERROR: " + err.message);
}, { timeout: 3, enableHighAccuracy: false }); 
- phonegap local run android (App is deployed successfully to my Nexus 7)

After the App has started, it get an alert with "Position Found..." and the 
corresponding output on console.log in logcat. 
When I then click the reload link on the screen, I have to wait the timeout (30 
sec) and then I get the alert "ERROR: Position retrieval timed out." and in 
logcat I instantly get the following exception:
W/System.err(22208): java.lang.NullPointerException
W/System.err(22208):at 
org.apache.cordova.core.GeoBroker.getCurrentLocation(GeoBroker.java:109)
W/System.err(22208):at 
org.apache.cordova.core.GeoBroker.execute(GeoBroker.java:76)
W/System.err(22208):at 
org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:65)
W/System.err(22208):at 
org.apache.cordova.Pl

[jira] [Created] (CB-4523) creating app for wp 7&8 on a win 8 notebook throws create.js not found error

2013-08-07 Thread Abhishek Venkatesh (JIRA)
Abhishek Venkatesh created CB-4523:
--

 Summary: creating app for wp 7&8 on a win 8 notebook throws 
create.js not found error
 Key: CB-4523
 URL: https://issues.apache.org/jira/browse/CB-4523
 Project: Apache Cordova
  Issue Type: Bug
  Components: WP7, WP8
Affects Versions: 3.0.0
 Environment: OS:Windows 8 single language pack,using cordova 3.0.0 
installed using CLI
Reporter: Abhishek Venkatesh
Assignee: Jesse MacFadyen
Priority: Minor


I am trying to build a simple app using Apache cordova. Things went well for 
android. However when I try to add the wp8 platform on my win 8 notebook, It 
show the following error: Creating Cordova-WP8 Project: App Name : abc 
Namespace : com.sample.abc Path : C:\Development\abc\platforms\wp8 CREATE 
SUCCESS : C:\Development\abc\platforms\wp8

ERROR: Could not find 'create.js' in 'bin' folder, aborting.. Could someone 
please point out what I am doing wrong! Thanks

--
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-4521) Geolocation plugin timeouts on Android device with Cordova 3.0.X

2013-08-07 Thread Tobias Blum (JIRA)

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

Tobias Blum commented on CB-4521:
-

Dear cordova team,

to refine the information in this issue I tried to reproduce this behaviour in 
a minimal example. In my case I tested with getCurrentPosition() on my Nexus 7 
(4.3 stock). Could reproduce this also with an older Motorola phone (2.3.7).

These are the steps I took:
- Phonegap Version was 3.0.4
- phonegap create geolocationtest
- phonegap local plugin add 
https://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation.git
- In "index.html" add 'reload' after 
- In "js/index.js" add the following code in function onDeviceReady()
navigator.geolocation.getCurrentPosition(function(position) {
console.log("Position found: " + position.coords.latitude + "#" + 
position.coords.longitude);
alert("Position found: " + position.coords.latitude + "#" + 
position.coords.longitude);
}, function(err){
console.log("ERROR: " + err.message);
alert("ERROR: " + err.message);
}, { timeout: 3, enableHighAccuracy: false }); 
- phonegap local run android (App is deployed successfully to my Nexus 7)

After the App has started, it get an alert with "Position Found..." and the 
corresponding output on console.log in logcat. 
When I then click the reload link on the screen, I have to wait the timeout (30 
sec) and then I get the alert "ERROR: Position retrieval timed out." and in 
logcat I instantly get the following exception:
W/System.err(22208): java.lang.NullPointerException
W/System.err(22208):at 
org.apache.cordova.core.GeoBroker.getCurrentLocation(GeoBroker.java:109)
W/System.err(22208):at 
org.apache.cordova.core.GeoBroker.execute(GeoBroker.java:76)
W/System.err(22208):at 
org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:65)
W/System.err(22208):at 
org.apache.cordova.PluginManager.execHelper(PluginManager.java:229)
W/System.err(22208):at 
org.apache.cordova.PluginManager.exec(PluginManager.java:214)
W/System.err(22208):at 
org.apache.cordova.ExposedJsApi.exec(ExposedJsApi.java:53)
W/System.err(22208):at 
android.webkit.JWebCoreJavaBridge.sharedTimerFired(Native Method)
W/System.err(22208):at 
android.webkit.JWebCoreJavaBridge.sharedTimerFired(Native Method)
W/System.err(22208):at 
android.webkit.JWebCoreJavaBridge.fireSharedTimer(JWebCoreJavaBridge.java:92)
W/System.err(22208):at 
android.webkit.JWebCoreJavaBridge.handleMessage(JWebCoreJavaBridge.java:108)
W/System.err(22208):at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err(22208):at android.os.Looper.loop(Looper.java:137)
W/System.err(22208):at 
android.webkit.WebViewCore$WebCoreThread.run(WebViewCore.java:814)
W/System.err(22208):at java.lang.Thread.run(Thread.java:841)

The full logcat output can be found here: http://pastebin.com/JfivAAED

Best regards,
Tobias

> Geolocation plugin timeouts on Android device with Cordova 3.0.X
> 
>
> Key: CB-4521
> URL: https://issues.apache.org/jira/browse/CB-4521
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Geolocation
>Affects Versions: 3.0.0
> Environment: Device: Galaxy Nexus 4.3 Stock
> PC: Ubuntu 12.04 32b
>Reporter: Vladimir Riha
>Assignee: Steve Gill
>Priority: Critical
>
> Geolocation fails on Android device with "Position retrieval timeout" 
> message. I'm trying to use it like:
> locationWatchId = window.navigator.geolocation.watchPosition(callback, 
> onFail, {maximumAge: 1, timeout: 1, enableHighAccuracy: true});
> I've tried to double maximumAge and timeout and no change. The very same 
> works with I build the project with PhoneGap 2.8.1. Here are the steps I'm 
> doing with Cordova 3.0.1:
> cordova create hello com.example.hello HelloWorld
> cd hello/
> cordova platform add android
> cordova plugin add 
> https://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation.git
> ... adding more plugin...
> cordova build
> cordova run android
> The same works on iPad. I started thread [1] about it and one other user has 
> the same problem with Cordova 3.0.4
> [1] 
> https://groups.google.com/forum/?hl=en%3Fhl%3Den#!topic/phonegap/MP2eLY11Rlg

--
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] [Issue Comment Deleted] (CB-4474) Globalization is not working in PhoneGap 3.0

2013-08-07 Thread Estelle (JIRA)

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

Estelle updated CB-4474:


Comment: was deleted

(was: [~apla] I've tried your update on ios and have the same error as before, 
is it normal ?)

> Globalization is not working in PhoneGap 3.0
> 
>
> Key: CB-4474
> URL: https://issues.apache.org/jira/browse/CB-4474
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Globalization
>Affects Versions: 3.0.0
> Environment: Android and iOS.
>Reporter: Raymond Camden
>Assignee: Steve Gill
>
> Discussed on this Google Groups thread, 
> https://groups.google.com/forum/#!topic/phonegap/5YmjhUcuuR8%5B1-25-false%5D, 
> Globalization is failing in 3.0. In iOS, the success/error handler never 
> fires. If you open XCode and run from there, you see:
> 2013-07-29 13:21:55.113 HelloWorld[21542:c07] ERROR: Method 
> 'getPreferredLanguage:' not defined in Plugin 'Globalization'
> 2013-07-29 13:21:55.113 HelloWorld[21542:c07] -[CDVCommandQueue 
> executePending] [Line 116] FAILED pluginJSON = [
>   "Globalization1890587700",
>   "Globalization",
>   "getPreferredLanguage",
>   [
>   ]
> ]
> In Android, the error handler fires with: Class not found

--
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] [Comment Edited] (CB-4474) Globalization is not working in PhoneGap 3.0

2013-08-07 Thread Estelle (JIRA)

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

Estelle edited comment on CB-4474 at 8/7/13 11:23 AM:
--

[~apla] I've tried your update on ios and have the same error as before, is it 
normal ?

  was (Author: eclectic):
[~apla] I've tried you update on ios and have the same error as before, is 
it normal ?
  
> Globalization is not working in PhoneGap 3.0
> 
>
> Key: CB-4474
> URL: https://issues.apache.org/jira/browse/CB-4474
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Globalization
>Affects Versions: 3.0.0
> Environment: Android and iOS.
>Reporter: Raymond Camden
>Assignee: Steve Gill
>
> Discussed on this Google Groups thread, 
> https://groups.google.com/forum/#!topic/phonegap/5YmjhUcuuR8%5B1-25-false%5D, 
> Globalization is failing in 3.0. In iOS, the success/error handler never 
> fires. If you open XCode and run from there, you see:
> 2013-07-29 13:21:55.113 HelloWorld[21542:c07] ERROR: Method 
> 'getPreferredLanguage:' not defined in Plugin 'Globalization'
> 2013-07-29 13:21:55.113 HelloWorld[21542:c07] -[CDVCommandQueue 
> executePending] [Line 116] FAILED pluginJSON = [
>   "Globalization1890587700",
>   "Globalization",
>   "getPreferredLanguage",
>   [
>   ]
> ]
> In Android, the error handler fires with: Class not found

--
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-4474) Globalization is not working in PhoneGap 3.0

2013-08-07 Thread Estelle (JIRA)

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

Estelle commented on CB-4474:
-

[~apla] I've tried you update on ios and have the same error as before, is it 
normal ?

> Globalization is not working in PhoneGap 3.0
> 
>
> Key: CB-4474
> URL: https://issues.apache.org/jira/browse/CB-4474
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Globalization
>Affects Versions: 3.0.0
> Environment: Android and iOS.
>Reporter: Raymond Camden
>Assignee: Steve Gill
>
> Discussed on this Google Groups thread, 
> https://groups.google.com/forum/#!topic/phonegap/5YmjhUcuuR8%5B1-25-false%5D, 
> Globalization is failing in 3.0. In iOS, the success/error handler never 
> fires. If you open XCode and run from there, you see:
> 2013-07-29 13:21:55.113 HelloWorld[21542:c07] ERROR: Method 
> 'getPreferredLanguage:' not defined in Plugin 'Globalization'
> 2013-07-29 13:21:55.113 HelloWorld[21542:c07] -[CDVCommandQueue 
> executePending] [Line 116] FAILED pluginJSON = [
>   "Globalization1890587700",
>   "Globalization",
>   "getPreferredLanguage",
>   [
>   ]
> ]
> In Android, the error handler fires with: Class not found

--
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-3351) Support for mutual SSL (on Ajax calls)

2013-08-07 Thread El farouk mokrani (JIRA)

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

El farouk mokrani commented on CB-3351:
---

i have the same error but with WP have you solution for this ?

> Support for mutual SSL (on Ajax calls) 
> ---
>
> Key: CB-3351
> URL: https://issues.apache.org/jira/browse/CB-3351
> Project: Apache Cordova
>  Issue Type: New Feature
>  Components: BlackBerry, WP8
>Affects Versions: 2.6.0
>Reporter: Eloy Gonzalez
>  Labels: clientcertificate, mutualSSL, ssl
>
> In some situations, two-factor authentication is required, and client 
> certificates (a X.509 certificate with a 1.3.6.1.5.5.7.3.2 enhanced key 
> usage) are a popular choice as a first factor. With mutual SSL, the client 
> verifies the server's identity (server authentication) and the server 
> verifies the client's identity (client authentication). Unfortunately, 
> Cordova does not support mutual SSL.
> This issue is relate to CB-2669, but not only for iOS

--
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-4522) accept Https hosts

2013-08-07 Thread El farouk mokrani (JIRA)
El farouk mokrani created CB-4522:
-

 Summary:  accept Https hosts
 Key: CB-4522
 URL: https://issues.apache.org/jira/browse/CB-4522
 Project: Apache Cordova
  Issue Type: Task
  Components: WP7, WP8
Affects Versions: 3.0.0
Reporter: El farouk mokrani
Assignee: Jesse MacFadyen


Hi i'm used 
allowsAnyHTTPSCertificateForHost in ios to accept Https hosts 
how to accept Https  in WP  ?
thanks

--
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-3202) DeviceReady Event not being handled

2013-08-07 Thread Richard Sentino (JIRA)

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

Richard Sentino commented on CB-3202:
-

Hi Herm

Thanks for the feedback

My bad, here's my local dev setup

* Cordova-js master branch (3.0.0-dev)
* FirefoxOS 4.0 sim
* Keon device running on B2G 1.0.1.0-prerelease

Here's the compiled test app version

http://rixrix.github.io/cordova-firefoxos-patch/manifest.webapp


> DeviceReady Event not being handled
> ---
>
> Key: CB-3202
> URL: https://issues.apache.org/jira/browse/CB-3202
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: FirefoxOS
>Affects Versions: 2.6.0
>Reporter: Herm Wong
>Assignee: Herm Wong
>Priority: Blocker
>
> when deploying the Cordova-FirefoxOS implementation onto the FirefoxOS 
> simulator or test device, the deviceready event does not seem to be getting 
> fired / or handled properly.

--
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-4521) Geolocation plugin timeouts on Android device with Cordova 3.0.X

2013-08-07 Thread Vladimir Riha (JIRA)

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

Vladimir Riha updated CB-4521:
--

Priority: Critical  (was: Major)

> Geolocation plugin timeouts on Android device with Cordova 3.0.X
> 
>
> Key: CB-4521
> URL: https://issues.apache.org/jira/browse/CB-4521
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Geolocation
>Affects Versions: 3.0.0
> Environment: Device: Galaxy Nexus 4.3 Stock
> PC: Ubuntu 12.04 32b
>Reporter: Vladimir Riha
>Assignee: Steve Gill
>Priority: Critical
>
> Geolocation fails on Android device with "Position retrieval timeout" 
> message. I'm trying to use it like:
> locationWatchId = window.navigator.geolocation.watchPosition(callback, 
> onFail, {maximumAge: 1, timeout: 1, enableHighAccuracy: true});
> I've tried to double maximumAge and timeout and no change. The very same 
> works with I build the project with PhoneGap 2.8.1. Here are the steps I'm 
> doing with Cordova 3.0.1:
> cordova create hello com.example.hello HelloWorld
> cd hello/
> cordova platform add android
> cordova plugin add 
> https://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation.git
> ... adding more plugin...
> cordova build
> cordova run android
> The same works on iPad. I started thread [1] about it and one other user has 
> the same problem with Cordova 3.0.4
> [1] 
> https://groups.google.com/forum/?hl=en%3Fhl%3Den#!topic/phonegap/MP2eLY11Rlg

--
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-4479) phonegap 2.9 strange (repeated upload) problem

2013-08-07 Thread Colin Bau (JIRA)

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

Colin Bau commented on CB-4479:
---

Hello
This should be a considered a very serious BUG, how to solve it?
Some netizens reaction is as follows

=
Hi, 
I have the same problem in the Phonegap 2.9.0
In the Phonegap version 2.2.0 it works fine, but I need to work with 2.9.0.
Can anyone help me?
Thanks
Anderson
=

> phonegap 2.9 strange (repeated upload) problem
> --
>
> Key: CB-4479
> URL: https://issues.apache.org/jira/browse/CB-4479
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Android
>Affects Versions: 2.9.0
> Environment: HTC Sensation XL,Android 4.03
>Reporter: Colin Bau
>Assignee: Joe Bowser
>  Labels: javascript
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> I have a issue in this web address,I tried many times,if anything 
> unclear,please tell me
> https://groups.google.com/forum/#!topic/phonegap/U7njMTqvvYU

--
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] [Assigned] (CB-2683) add prompt dialog to Notification API for WP8

2013-08-07 Thread Sergey Grebnov (JIRA)

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

Sergey Grebnov reassigned CB-2683:
--

Assignee: James Jong  (was: Sergey Grebnov)

> add prompt dialog to Notification API for WP8
> -
>
> Key: CB-2683
> URL: https://issues.apache.org/jira/browse/CB-2683
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: WP8
>Reporter: James Jong
>Assignee: James Jong
>


--
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-2682) add prompt dialog to Notification API for WP7

2013-08-07 Thread Sergey Grebnov (JIRA)

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

Sergey Grebnov commented on CB-2682:


Implemented at https://github.com/apache/cordova-plugin-dialogs/pull/3

> add prompt dialog to Notification API for WP7
> -
>
> Key: CB-2682
> URL: https://issues.apache.org/jira/browse/CB-2682
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: WP7
>Reporter: James Jong
>Assignee: Sergey Grebnov
> Fix For: Master
>
>


--
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] [Assigned] (CB-2682) add prompt dialog to Notification API for WP7

2013-08-07 Thread Sergey Grebnov (JIRA)

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

Sergey Grebnov reassigned CB-2682:
--

Assignee: James Jong  (was: Sergey Grebnov)

> add prompt dialog to Notification API for WP7
> -
>
> Key: CB-2682
> URL: https://issues.apache.org/jira/browse/CB-2682
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: WP7
>Reporter: James Jong
>Assignee: James Jong
> Fix For: Master
>
>


--
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-2683) add prompt dialog to Notification API for WP8

2013-08-07 Thread Sergey Grebnov (JIRA)

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

Sergey Grebnov commented on CB-2683:


Implemented at https://github.com/apache/cordova-plugin-dialogs/pull/3

> add prompt dialog to Notification API for WP8
> -
>
> Key: CB-2683
> URL: https://issues.apache.org/jira/browse/CB-2683
> Project: Apache Cordova
>  Issue Type: Sub-task
>  Components: WP8
>Reporter: James Jong
>Assignee: Sergey Grebnov
>


--
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-4521) Geolocation plugin timeouts on Android device with Cordova 3.0.X

2013-08-07 Thread Vladimir Riha (JIRA)

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

Vladimir Riha commented on CB-4521:
---

Sorry I skipped more information:
- when the watchPosition() is called, I see Android GPS icon and it is trying 
to fix position. In Android settings, I've allowed applications to use GPS and 
also wifi/3g to get position information
- navigator.geolocation.getCurrentPosition() has the same problem 

> Geolocation plugin timeouts on Android device with Cordova 3.0.X
> 
>
> Key: CB-4521
> URL: https://issues.apache.org/jira/browse/CB-4521
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: Plugin Geolocation
>Affects Versions: 3.0.0
> Environment: Device: Galaxy Nexus 4.3 Stock
> PC: Ubuntu 12.04 32b
>Reporter: Vladimir Riha
>Assignee: Steve Gill
>
> Geolocation fails on Android device with "Position retrieval timeout" 
> message. I'm trying to use it like:
> locationWatchId = window.navigator.geolocation.watchPosition(callback, 
> onFail, {maximumAge: 1, timeout: 1, enableHighAccuracy: true});
> I've tried to double maximumAge and timeout and no change. The very same 
> works with I build the project with PhoneGap 2.8.1. Here are the steps I'm 
> doing with Cordova 3.0.1:
> cordova create hello com.example.hello HelloWorld
> cd hello/
> cordova platform add android
> cordova plugin add 
> https://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation.git
> ... adding more plugin...
> cordova build
> cordova run android
> The same works on iPad. I started thread [1] about it and one other user has 
> the same problem with Cordova 3.0.4
> [1] 
> https://groups.google.com/forum/?hl=en%3Fhl%3Den#!topic/phonegap/MP2eLY11Rlg

--
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-4521) Geolocation plugin timeouts on Android device with Cordova 3.0.X

2013-08-07 Thread Vladimir Riha (JIRA)
Vladimir Riha created CB-4521:
-

 Summary: Geolocation plugin timeouts on Android device with 
Cordova 3.0.X
 Key: CB-4521
 URL: https://issues.apache.org/jira/browse/CB-4521
 Project: Apache Cordova
  Issue Type: Bug
  Components: Plugin Geolocation
Affects Versions: 3.0.0
 Environment: Device: Galaxy Nexus 4.3 Stock
PC: Ubuntu 12.04 32b
Reporter: Vladimir Riha
Assignee: Steve Gill


Geolocation fails on Android device with "Position retrieval timeout" message. 
I'm trying to use it like:

locationWatchId = window.navigator.geolocation.watchPosition(callback, onFail, 
{maximumAge: 1, timeout: 1, enableHighAccuracy: true});

I've tried to double maximumAge and timeout and no change. The very same works 
with I build the project with PhoneGap 2.8.1. Here are the steps I'm doing with 
Cordova 3.0.1:

cordova create hello com.example.hello HelloWorld
cd hello/
cordova platform add android
cordova plugin add 
https://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation.git
... adding more plugin...
cordova build
cordova run android


The same works on iPad. I started thread [1] about it and one other user has 
the same problem with Cordova 3.0.4


[1] https://groups.google.com/forum/?hl=en%3Fhl%3Den#!topic/phonegap/MP2eLY11Rlg

--
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