Re: [jira] [Commented] (CB-282) Taking a picture causes the app to crash with a StackOverflowError

2012-02-28 Thread Elizabeth Baldwin
Okay, I think I got it now. Pulling 'snapshot' from something like: https://git-wip-us.apache.org/... gives me a tar gz'd file like: incubator-cordova-android-d593448 cordova.version == undefined And for Capture audio example I get "pluginResult is not defined". Libby On Tue, Feb 28, 2012 at 6

Re: [jira] [Commented] (CB-282) Taking a picture causes the app to crash with a StackOverflowError

2012-02-28 Thread Elizabeth Baldwin
I am running "1.5.0rc1" - is this latest? Seeing stackoverflowerror on capture: audio/image/video at save time. Audio capture crash log attached. On both Droid/2.2.3 and Galaxy Tab/3.1. These are the devices I can offer my testing services on. Taking suggestions re: what pieces of code or device

[jira] [Updated] (CB-179) Unified JavaScript project

2012-02-28 Thread Filip Maj (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/CB-179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj updated CB-179: - Component/s: (was: Android) CordovaJS Description: Have a single project for the phonegap.js

[jira] [Resolved] (CB-283) Disabling the back button handler doesn't give control back to the main Activity

2012-02-28 Thread Filip Maj (Resolved) (JIRA)
[ https://issues.apache.org/jira/browse/CB-283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj resolved CB-283. -- Resolution: Fixed Fixed, it was indeed an issue with cordova-js. The event channel unregistration implementation w

[jira] [Commented] (CB-282) Taking a picture causes the app to crash with a StackOverflowError

2012-02-28 Thread Joe Bowser (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/CB-282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13218777#comment-13218777 ] Joe Bowser commented on CB-282: --- Removed the changes to CordovaInterface and changed back to an

Re: Greetings plus discussion of WebSockets for Android

2012-02-28 Thread Filip Maj
Hey Marlin, Thanks for joining the mailing list and starting discussion. One thing that may put you on the right track is actually a branch we have that implements WebSockets for the Android Cordova implementation :) https://github.com/apache/incubator-cordova-android/tree/WebSockets It is abo

[jira] [Updated] (CB-281) NetworkConnection.getInfo() needs to be normalized across all platforms.

2012-02-28 Thread Filip Maj (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/CB-281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj updated CB-281: - Component/s: iOS Definitely affects iOS > NetworkConnection.getInfo() needs to be normalized across

Re: Common JS - Android Network bug

2012-02-28 Thread Filip Maj
Thankee! On 2/28/12 11:22 AM, "Simon MacDonald" wrote: >https://issues.apache.org/jira/browse/CB-281 > >Simon Mac Donald >http://hi.im/simonmacdonald > > > >On Tue, Feb 28, 2012 at 11:38 AM, Filip Maj wrote: >> InterestingŠ >> >> It's not a showstopper for the other platforms so let's keep it i

[jira] [Commented] (CB-282) Taking a picture causes the app to crash with a StackOverflowError

2012-02-28 Thread Joe Bowser (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/CB-282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13218596#comment-13218596 ] Joe Bowser commented on CB-282: --- I'm unable to reproduce on Android 2.3.6 (Nexus S), Android 3.2

[jira] [Commented] (CB-283) Disabling the back button handler doesn't give control back to the main Activity

2012-02-28 Thread Filip Maj (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/CB-283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13218590#comment-13218590 ] Filip Maj commented on CB-283: -- I'm taking a look at this. Looks like my unsubscribe hook is not

[jira] [Commented] (CB-282) Taking a picture causes the app to crash with a StackOverflowError

2012-02-28 Thread Simon MacDonald (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/CB-282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13218577#comment-13218577 ] Simon MacDonald commented on CB-282: Pulled the latest from master ran the test and it cra

[jira] [Commented] (CB-283) Disabling the back button handler doesn't give control back to the main Activity

2012-02-28 Thread Simon MacDonald (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/CB-283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13218573#comment-13218573 ] Simon MacDonald commented on CB-283: Well I was looking into this but it looks like Joe is

[jira] [Assigned] (CB-283) Disabling the back button handler doesn't give control back to the main Activity

2012-02-28 Thread Joe Bowser (Assigned) (JIRA)
[ https://issues.apache.org/jira/browse/CB-283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser reassigned CB-283: - Assignee: Filip Maj (was: Joe Bowser) Debugging has shown that this is an error in cordova-js, I need to fig

[jira] [Assigned] (CB-283) Disabling the back button handler doesn't give control back to the main Activity

2012-02-28 Thread Joe Bowser (Assigned) (JIRA)
[ https://issues.apache.org/jira/browse/CB-283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser reassigned CB-283: - Assignee: Joe Bowser (was: Simon MacDonald) > Disabling the back button handler doesn't give control bac

Re: Loading screen image for 1.5

2012-02-28 Thread Drew Walters
For BlackBerry, current sizes are: Application Icon: 80x80 transparent Splash Screen: 200x200 transparent On Tue, Feb 28, 2012 at 1:21 PM, Yohei Shimomae wrote: > How big are they now? I'll just go with sizes we use now. Also let me know > whether it needs to be transparent or not. > > > On 201

[jira] [Assigned] (CB-282) Taking a picture causes the app to crash with a StackOverflowError

2012-02-28 Thread Joe Bowser (Assigned) (JIRA)
[ https://issues.apache.org/jira/browse/CB-282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser reassigned CB-282: - Assignee: Simon MacDonald (was: Joe Bowser) Fixed in latest master, please do a pull, test and confirm this

[jira] [Created] (CB-284) invocation exception on WeinreClientEventsImpl.connectionCreated(): TypeError: Cannot read property 'url' of undefined

2012-02-28 Thread Patrick Mueller (Created) (JIRA)
invocation exception on WeinreClientEventsImpl.connectionCreated(): TypeError: Cannot read property 'url' of undefined -- Key: CB-284 URL: https://

[jira] [Created] (CB-283) Disabling the back button handler doesn't give control back to the main Activity

2012-02-28 Thread Simon MacDonald (Created) (JIRA)
Disabling the back button handler doesn't give control back to the main Activity Key: CB-283 URL: https://issues.apache.org/jira/browse/CB-283 Project: Apache Callback

[jira] [Assigned] (CB-282) Taking a picture causes the app to crash with a StackOverflowError

2012-02-28 Thread Joe Bowser (Assigned) (JIRA)
[ https://issues.apache.org/jira/browse/CB-282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser reassigned CB-282: - Assignee: Joe Bowser (was: Simon MacDonald) > Taking a picture causes the app to crash with a StackOverf

[jira] [Updated] (CB-282) Taking a picture causes the app to crash with a StackOverflowError

2012-02-28 Thread Simon MacDonald (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/CB-282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Simon MacDonald updated CB-282: --- Fix Version/s: 1.5.0 > Taking a picture causes the app to crash with a StackOverflowError > -

[jira] [Created] (CB-282) Taking a picture causes the app to crash with a StackOverflowError

2012-02-28 Thread Simon MacDonald (Created) (JIRA)
Taking a picture causes the app to crash with a StackOverflowError -- Key: CB-282 URL: https://issues.apache.org/jira/browse/CB-282 Project: Apache Callback Issue Type: Bug

[jira] [Created] (CB-281) NetworkConnection.getInfo() needs to be normalized across all platforms.

2012-02-28 Thread Simon MacDonald (Created) (JIRA)
NetworkConnection.getInfo() needs to be normalized across all platforms. Key: CB-281 URL: https://issues.apache.org/jira/browse/CB-281 Project: Apache Callback Issue Ty

Re: Common JS - Android Network bug

2012-02-28 Thread Simon MacDonald
https://issues.apache.org/jira/browse/CB-281 Simon Mac Donald http://hi.im/simonmacdonald On Tue, Feb 28, 2012 at 11:38 AM, Filip Maj wrote: > InterestingŠ > > It's not a showstopper for the other platforms so let's keep it in there > until we have more platforms on board. Then we can better f

Re: Loading screen image for 1.5

2012-02-28 Thread Yohei Shimomae
How big are they now? I'll just go with sizes we use now. Also let me know whether it needs to be transparent or not. On 2012-02-28, at 11:16 AM, Filip Maj wrote: > Size is not a big deal on BlackBerry, WebWorks scales the image by > default. There are too many resolutions in BB devices to try

Re: Loading screen image for 1.5

2012-02-28 Thread Simon MacDonald
Yeah, I wouldn't stress about the sizes of loading screens. They are nice to have as a placeholder but people will not release an app to the marketplace with a default splash screen. Well at least, they shouldn't. Simon Mac Donald http://hi.im/simonmacdonald On Tue, Feb 28, 2012 at 2:16 PM, Fil

Re: Loading screen image for 1.5

2012-02-28 Thread Michael Brooks
For BlackBerry, you can choose a smaller image around 300x300 (e.g. the size of the Cordova logo). WebWorks will automatically center the image for all devices (not stretch the image). As long as the image has a transparent background, it will look great. See the current BlackBerry loading screen

Re: Loading screen image for 1.5

2012-02-28 Thread Filip Maj
Size is not a big deal on BlackBerry, WebWorks scales the image by default. There are too many resolutions in BB devices to try to pick the right image size... On 2/28/12 11:14 AM, "Yohei Shimomae" wrote: >Hey guys, > >I'm gonna put all the icons, logos, loading screens into a page as >incubator

Re: Loading screen image for 1.5

2012-02-28 Thread Yohei Shimomae
Hey guys, I'm gonna put all the icons, logos, loading screens into a page as incubator.apache.org/cordova/artwork if that's cool. If I need to put special licensing information there aside from apache licensing version 2.0, let me know. As for loading screens, can everyone list all sizes they

[jira] [Created] (CB-280) Improve layout of cordova-js scripts

2012-02-28 Thread Filip Maj (Created) (JIRA)
Improve layout of cordova-js scripts Key: CB-280 URL: https://issues.apache.org/jira/browse/CB-280 Project: Apache Callback Issue Type: Improvement Components: CordovaJS Affects Versions: 1.

Re: proposed common-js file moves/renames for post-1.5

2012-02-28 Thread Patrick Mueller
On Tue, Feb 28, 2012 at 12:00, Filip Maj wrote: > Yeah I like it overall. I'll file it in JIRA and set it up for post-1.5. > > I am not sure I like the index.js thing but I don't know why ;) Honestly, not a big fan of /index.js matching "name"; but let's see; the index.js thing is one of the co

Re: proposed common-js file moves/renames for post-1.5

2012-02-28 Thread Filip Maj
Yeah I like it overall. I'll file it in JIRA and set it up for post-1.5. I am not sure I like the index.js thingŠ but I don't know why ;) On 2/24/12 8:11 AM, "Patrick Mueller" wrote: >On Fri, Feb 24, 2012 at 10:39, Drew Walters wrote: > >> > - move the platform-specific modules out of `lib`, i

Re: Common JS - Android Network bug

2012-02-28 Thread Filip Maj
InterestingŠ It's not a showstopper for the other platforms so let's keep it in there until we have more platforms on board. Then we can better figure out how a refactor of this makes sense. Simon can you file a cordovaJS-tagged bug in JIRA for this that we can shelf for later resolution? On 2/2

Re: Loading screen image for 1.5

2012-02-28 Thread Filip Maj
We have a JIRA issue for this too https://issues.apache.org/jira/browse/CB-237 I'll ping Yohei and ask him in case none of our regular contributors know where this stuff is. On 2/28/12 6:35 AM, "Drew Walters" wrote: >Do we have a loading screen image we should be using for 1.5. I would >assume

[jira] [Updated] (CB-237) default / sample app icon and splash screen out of date

2012-02-28 Thread Filip Maj (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/CB-237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj updated CB-237: - Summary: default / sample app icon and splash screen out of date (was: default / sample app icon out of date) Also

Re: tagging 1.5rc friday

2012-02-28 Thread Joe Bowser
We should have a tag in JIRA called master where it's a bug in the master branch, at whatever state master is. Since anyone can take the code from our repo at any point they want and use it, I don't see why we don't have this tag in place. Ideally we should have a release-able master at all times

Re: tagging 1.5rc friday

2012-02-28 Thread Filip Maj
On 2/28/12 7:18 AM, "Simon MacDonald" wrote: >Hmmm...I haven't been adding bugs to Jira because they are not really bugs >on a released version of Cordova. Perhaps we should add a 1.5.0rc1 tag in >Jira and any bugs found during regression should be tagged appropriately >and fixed before the off

[jira] [Commented] (CB-279) Android example app includes incorrect version of phonegap.js

2012-02-28 Thread Norm Santos (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/CB-279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13218274#comment-13218274 ] Norm Santos commented on CB-279: And the lightbulb goes on. Thank you very much!!

Re: tagging 1.5rc friday

2012-02-28 Thread Simon MacDonald
Yeah, Android is not ready. I've found another bug where you cannot play audio using the Media class. I will post up a description of what is going on in another thread. I'm sorry to be the old curmudgeon but I don't think that Android is ready to be tagged 1.5.0 and released quite yet. Simon Mac

Re: tagging 1.5rc friday

2012-02-28 Thread Simon MacDonald
Hmmm...I haven't been adding bugs to Jira because they are not really bugs on a released version of Cordova. Perhaps we should add a 1.5.0rc1 tag in Jira and any bugs found during regression should be tagged appropriately and fixed before the official 1.5.0 release. Does this make sense to everyon

Re: tagging 1.5rc friday

2012-02-28 Thread Simon MacDonald
Well that process is a lot like what I do but there is one proto step I do before anything else. First I run the mobile-spec qunit tests with the currently released version. I make note of how many tests are passing and failing (as well as which tests fail). I use this as a baseline for step 1. If

[jira] [Commented] (CB-279) Android example app includes incorrect version of phonegap.js

2012-02-28 Thread Simon MacDonald (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/CB-279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13218253#comment-13218253 ] Simon MacDonald commented on CB-279: That is an incorrect assumption. Yes, you need to use

[jira] [Commented] (CB-279) Android example app includes incorrect version of phonegap.js

2012-02-28 Thread Norm Santos (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/CB-279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13218249#comment-13218249 ] Norm Santos commented on CB-279: Thank you everyone for replying so quickly. I'm still a littl

Loading screen image for 1.5

2012-02-28 Thread Drew Walters
Do we have a loading screen image we should be using for 1.5. I would assume that since we are switching to Cordova naming we should also remove the PhoneGap image used by default for the loading screen. I would guess we would use a version of the Cordova pluggable robot: http://incubator.apache

[jira] [Commented] (CB-252) ANT load-simulator always use default simulator within Blackberry WebWorks Packager.

2012-02-28 Thread Drew Walters (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/CB-252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13218220#comment-13218220 ] Drew Walters commented on CB-252: - Existing projects can be patched by modifying the blackberr

[jira] [Closed] (CB-252) ANT load-simulator always use default simulator within Blackberry WebWorks Packager.

2012-02-28 Thread Drew Walters (Closed) (JIRA)
[ https://issues.apache.org/jira/browse/CB-252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Drew Walters closed CB-252. --- > ANT load-simulator always use default simulator within Blackberry WebWorks > Packager. > -

[jira] [Resolved] (CB-252) ANT load-simulator always use default simulator within Blackberry WebWorks Packager.

2012-02-28 Thread Drew Walters (Resolved) (JIRA)
[ https://issues.apache.org/jira/browse/CB-252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Drew Walters resolved CB-252. - Resolution: Fixed Fix Version/s: 1.5.0 > ANT load-simulator always use default simulator within Bl

[jira] [Reopened] (CB-252) ANT load-simulator always use default simulator within Blackberry WebWorks Packager.

2012-02-28 Thread Drew Walters (Reopened) (JIRA)
[ https://issues.apache.org/jira/browse/CB-252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Drew Walters reopened CB-252: - Assignee: Drew Walters This is reproducible. There is an error in the blackberry.xml build file which was

Re: Common JS - Android Network bug

2012-02-28 Thread Simon MacDonald
Other than it is insanely easy to do it in JavaScript? No. Once everyone else supports common JS I'll have to move the timeout to the Java layer. Simon Mac Donald http://hi.im/simonmacdonald On Tue, Feb 28, 2012 at 9:04 AM, Drew Walters wrote: > Is there a reason the timeout couldn't be handl

[jira] [Closed] (CB-5) Apache source headers in callback-blackberry

2012-02-28 Thread Drew Walters (Closed) (JIRA)
[ https://issues.apache.org/jira/browse/CB-5?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Drew Walters closed CB-5. - > Apache source headers in callback-blackberry > > > Key:

[jira] [Resolved] (CB-5) Apache source headers in callback-blackberry

2012-02-28 Thread Drew Walters (Resolved) (JIRA)
[ https://issues.apache.org/jira/browse/CB-5?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Drew Walters resolved CB-5. --- Resolution: Fixed Fix Version/s: 1.5.0 > Apache source headers in callback-blackberry >

Re: Common JS - Android Network bug

2012-02-28 Thread Drew Walters
Is there a reason the timeout couldn't be handled in the native code? On Tue, Feb 28, 2012 at 7:56 AM, Simon MacDonald wrote: > Okay, I put the Android impl back into the NetworkConnection class. We'll > have to talk about how this effects the other platforms. One weird thing > you'll see is my u

Re: Common JS - Android Network bug

2012-02-28 Thread Simon MacDonald
Okay, I put the Android impl back into the NetworkConnection class. We'll have to talk about how this effects the other platforms. One weird thing you'll see is my use of setTimeout. On Android when you go between wifi and 3G you will get an offline event if we don't wait a bit to see if a 3G conne

[jira] [Resolved] (CB-279) Android example app includes incorrect version of phonegap.js

2012-02-28 Thread Simon MacDonald (Resolved) (JIRA)
[ https://issues.apache.org/jira/browse/CB-279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Simon MacDonald resolved CB-279. Resolution: Fixed This is a legacy comment. The actual code is in fact 1.4.1. When I was doing the ren

[jira] [Assigned] (CB-279) Android example app includes incorrect version of phonegap.js

2012-02-28 Thread Simon MacDonald (Assigned) (JIRA)
[ https://issues.apache.org/jira/browse/CB-279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Simon MacDonald reassigned CB-279: -- Assignee: Simon MacDonald (was: Steve Gill) > Android example app includes incorrect version o

[jira] [Commented] (CB-260) Can't install Phonegap with new Xcode 4.3

2012-02-28 Thread Commented
[ https://issues.apache.org/jira/browse/CB-260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13218134#comment-13218134 ] Stéphane Paquet commented on CB-260: Oups the above is not working, I forgot couple of thi

[jira] [Commented] (CB-260) Can't install Phonegap with new Xcode 4.3

2012-02-28 Thread Commented
[ https://issues.apache.org/jira/browse/CB-260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13218089#comment-13218089 ] Stéphane Paquet commented on CB-260: PACKAGEMAKER = $(mdfind "kMDItemDisplayName=='Package