RE: Test WP8 template

2012-11-30 Thread Sergey Grebnov (Akvelon)
I confirm that the template works on a real device (HTC 8X). I see that html files are stored in xap and not copied to isolated storage, but cordova.js doesn't contain the fix for XHRPatch - the template won't work in jQueryMobile-like cases when the files are accessed via XMLHttpRequest. You

[jira] [Created] (CB-1956) Update Android Getting Started Guide

2012-11-30 Thread Shazron Abdullah (JIRA)
Shazron Abdullah created CB-1956: Summary: Update Android Getting Started Guide Key: CB-1956 URL: https://issues.apache.org/jira/browse/CB-1956 Project: Apache Cordova Issue Type: Bug

[jira] [Assigned] (CB-1950) InAppBrowser - support events

2012-11-30 Thread Shazron Abdullah (JIRA)
[ https://issues.apache.org/jira/browse/CB-1950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah reassigned CB-1950: Assignee: Shazron Abdullah (was: Simon MacDonald) InAppBrowser - support events

[jira] [Resolved] (CB-1950) InAppBrowser - support events

2012-11-30 Thread Shazron Abdullah (JIRA)
[ https://issues.apache.org/jira/browse/CB-1950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah resolved CB-1950. -- Resolution: Fixed Fix commit -

[jira] [Commented] (CB-1952) Document InAppBrowser events, InAppBrowser API and options

2012-11-30 Thread Shazron Abdullah (JIRA)
[ https://issues.apache.org/jira/browse/CB-1952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13507337#comment-13507337 ] Shazron Abdullah commented on CB-1952: -- Update the Wiki page as well for the

[jira] [Comment Edited] (CB-1952) Document InAppBrowser events, InAppBrowser API and options

2012-11-30 Thread Shazron Abdullah (JIRA)
[ https://issues.apache.org/jira/browse/CB-1952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13507337#comment-13507337 ] Shazron Abdullah edited comment on CB-1952 at 11/30/12 2:03 PM:

[jira] [Resolved] (CB-1800) remove incubator from name of weinre archives

2012-11-30 Thread Patrick Mueller (JIRA)
[ https://issues.apache.org/jira/browse/CB-1800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Mueller resolved CB-1800. - Resolution: Fixed Fixed in git commit:

Re: InAppBrowser - events

2012-11-30 Thread Simon MacDonald
IIRC that was a hold over from when I converted the ChildBrowser (Plugin) to InAppBrowser (CordovaPlugin). The browserCallbackId was the string that held what ID to call on the JS side and it has been superseded by callbackContext so it looks like it is safe to delete. Thanks for doing the events

WARNING: Updated BlackBerry 10 SDK

2012-11-30 Thread Gord Tanner
The BlackBerry 10 SDK and OS versions were updated this week, this broke compatibility the previous SDK. Until BlackBerry 10 is released we will have to keep on the bleeding edge to ensure device to SDK compatibility. I updated cordova-blackberry to use the new SDK (also use the provided path

Re: WebNotifications plugin

2012-11-30 Thread Filip Maj
Yes and probably yes For example, the postMessage API in Android plugins is not documented. This is essentially the same thing as what we are describing for iOS plugins. We could take this moment to document both in one fell swoop. On 11/30/12 2:09 AM, Brian LeRoux b...@brian.io wrote: Would

[jira] [Created] (CB-1958) Post-loading splash screen is not centered properly on 3.5inch iOS

2012-11-30 Thread Brandon Tooke (JIRA)
Brandon Tooke created CB-1958: - Summary: Post-loading splash screen is not centered properly on 3.5inch iOS Key: CB-1958 URL: https://issues.apache.org/jira/browse/CB-1958 Project: Apache Cordova

[jira] [Updated] (CB-1958) Post-loading splash screen is not centered properly on 3.5inch iOS

2012-11-30 Thread Brandon Tooke (JIRA)
[ https://issues.apache.org/jira/browse/CB-1958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brandon Tooke updated CB-1958: -- Priority: Minor (was: Critical) Post-loading splash screen is not centered properly on 3.5inch iOS

[jira] [Updated] (CB-1958) Post-loading splash screen is not centered properly on 3.5inch iOS

2012-11-30 Thread Brandon Tooke (JIRA)
[ https://issues.apache.org/jira/browse/CB-1958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brandon Tooke updated CB-1958: -- Description: When AutoHideSplashScreen is set to NO, the splash screen shifts up by 10px after the

Re: WARNING: Updated BlackBerry 10 SDK

2012-11-30 Thread Tim Kim
Thanks for the heads up, Gord! On 30 November 2012 07:40, Gord Tanner gtan...@gmail.com wrote: The BlackBerry 10 SDK and OS versions were updated this week, this broke compatibility the previous SDK. Until BlackBerry 10 is released we will have to keep on the bleeding edge to ensure device

Re: Test WP8 template

2012-11-30 Thread Jesse
Thanks Sergey! Your patch will be in RC2 next week. On Fri, Nov 30, 2012 at 2:42 AM, Sergey Grebnov (Akvelon) v-seg...@microsoft.com wrote: I confirm that the template works on a real device (HTC 8X). I see that html files are stored in xap and not copied to isolated storage, but cordova.js

Re: tag 2.3.0rc1 this week?

2012-11-30 Thread Steven Gill
Hey Everyone, You can grab 2.3.0rc1 for cordova at http://people.apache.org/~steven/ You can grab phonegap 2.3.0rc1 at https://github.com/phonegap/phonegap/tags. The PhoneGap release has a zip folder that contains the template for windows phone 8. This isn't included with the cordova release due

[jira] [Commented] (CB-1943) Update Android Upgrading Guide for 2.3.0

2012-11-30 Thread Joe Bowser (JIRA)
[ https://issues.apache.org/jira/browse/CB-1943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13507739#comment-13507739 ] Joe Bowser commented on CB-1943:

[jira] [Resolved] (CB-1943) Update Android Upgrading Guide for 2.3.0

2012-11-30 Thread Joe Bowser (JIRA)
[ https://issues.apache.org/jira/browse/CB-1943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joe Bowser resolved CB-1943. Resolution: Fixed Assignee: Joe Bowser (was: Simon MacDonald) Since we have no assets, just updating

[jira] [Commented] (CB-1947) Secure whitelisted URLs not loading in Android

2012-11-30 Thread Joe Bowser (JIRA)
[ https://issues.apache.org/jira/browse/CB-1947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13507747#comment-13507747 ] Joe Bowser commented on CB-1947: Do you have a logcat log of this? I'm not able to reproduce

[jira] [Resolved] (CB-1957) InAppBrowser - video/audio does not stop playing when browser is closed

2012-11-30 Thread Shazron Abdullah (JIRA)
[ https://issues.apache.org/jira/browse/CB-1957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shazron Abdullah resolved CB-1957. -- Resolution: Fixed Fix commit - http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/7f6d6437

[jira] [Comment Edited] (CB-1957) InAppBrowser - video/audio does not stop playing when browser is closed

2012-11-30 Thread Shazron Abdullah (JIRA)
[ https://issues.apache.org/jira/browse/CB-1957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13507745#comment-13507745 ] Shazron Abdullah edited comment on CB-1957 at 11/30/12 11:26 PM:

[jira] [Commented] (CB-1947) Secure whitelisted URLs not loading in Android

2012-11-30 Thread Antony Lees (JIRA)
[ https://issues.apache.org/jira/browse/CB-1947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13507751#comment-13507751 ] Antony Lees commented on CB-1947: - I don't remember seeing much of use in the logcat but I

Determining if you're in cordova

2012-11-30 Thread Filip Maj
I'm seeing this question pop up on our IRC, as well as in person after meet ups, as well as on stack overflow here and there. Scenario: I have a website, and I have a native app that uses cordova. My cordova apps simply point to the website URL to get its contents. The question becomes: since

Re: Determining if you're in cordova

2012-11-30 Thread Filip Maj
I think in BB WEbWorks you get http://localhost/somethingsoemthing On 11/30/12 3:35 PM, Shazron shaz...@gmail.com wrote: how do we know if we're in cordova or not? -- document.location starts with file:// ?

Re: Determining if you're in cordova

2012-11-30 Thread Gord Tanner
My gut told me _nativeReady but I don't think that is cross platform. I think we should work harder at making Cordova.js be a noop when in a standard browser which shouldn't be to hard. Sent from my iPhone On 2012-11-30, at 6:38 PM, Filip Maj f...@adobe.com wrote: I think in BB WEbWorks you

Re: Determining if you're in cordova

2012-11-30 Thread Shazron
document.location starts with http://localhost OR starts with file:// then? ;) In any case, any js variable that we could set can be overridden of course. On Fri, Nov 30, 2012 at 3:38 PM, Filip Maj f...@adobe.com wrote: I think in BB WEbWorks you get http://localhost/somethingsoemthing On

Re: Determining if you're in cordova

2012-11-30 Thread Patrick Mueller
On Fri, Nov 30, 2012 at 6:27 PM, Filip Maj f...@adobe.com wrote: The question becomes: since both browser and native versions of the app include cordova.js, how do we know if we're in cordova or not? Great question. What about during cordova.js' initialization we test the bridge (echo

Re: Determining if you're in cordova

2012-11-30 Thread Jesse
WP7 app is loaded from x-wmapp1:/ WP8 app is loaded from x-wmapp0:/ So file:// will not work There are probably numerous other approches ... deviceready will/should never fire, but that is difficult to test for, because it could just be taking a real long time. I see many issues with this

Re: Determining if you're in cordova

2012-11-30 Thread Shazron
Its yucky and may break in a future platform version, but since each platform requires its own cordova.js -- then each platform could define its own cordova.isWebView? wp7 is x-wmapp iOS is file:// BB is http://localhost Android is ? On Fri, Nov 30, 2012 at 3:49 PM, Jesse

Re: Determining if you're in cordova

2012-11-30 Thread Jesse
Can we back up and discuss the goal? Is it to use the same code on the server + inside an app ( that is packaged for multiple platforms ) ? OR Is it to load an app on multiple devices all served by the same server? On Fri, Nov 30, 2012 at 3:56 PM, Shazron shaz...@gmail.com wrote: Its yucky

Re: Determining if you're in cordova

2012-11-30 Thread Filip Maj
Yeh this makes more sense.. Delegate iswebview to each platform implementation. BTW Android is file:// as well On 11/30/12 3:56 PM, Shazron shaz...@gmail.com wrote: Its yucky and may break in a future platform version, but since each platform requires its own cordova.js -- then each platform

Re: Determining if you're in cordova

2012-11-30 Thread Filip Maj
It is to run a single codebase (or as close to it as possible minus the differences in cordova.js) across web and cordova apps. On 11/30/12 4:02 PM, Jesse purplecabb...@gmail.com wrote: Can we back up and discuss the goal? Is it to use the same code on the server + inside an app ( that is

[jira] [Commented] (CB-1406) HTTP-Get via XHR in Web Workers always return status 0 under iOS 6 (Beta 4)

2012-11-30 Thread Shazron Abdullah (JIRA)
[ https://issues.apache.org/jira/browse/CB-1406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13507798#comment-13507798 ] Shazron Abdullah commented on CB-1406: -- I am unsure how to proceed with this -- I tried

Re: Determining if you're in cordova

2012-11-30 Thread Gord Tanner
+1 This isn't a platform issue but rather a developer issue Sent from my iPhone On 2012-11-30, at 7:11 PM, Jesse purplecabb...@gmail.com wrote: Presumably the developer knows the url of their own server, so wouldn't it be easier to just test for that in window.location? On Fri, Nov 30,

[jira] [Commented] (CB-1044) [iOS] Camera getPicture, with identical cameraOptions, but get different result when run on retina display and non-retina display

2012-11-30 Thread Shazron Abdullah (JIRA)
[ https://issues.apache.org/jira/browse/CB-1044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13507805#comment-13507805 ] Shazron Abdullah commented on CB-1044: -- Need to test on actual devices: (1) Retina

[jira] [Commented] (CB-1475) Allow Cleaver to use as a wwwFolderName an absolute path (eg. ~/Library)

2012-11-30 Thread Shazron Abdullah (JIRA)
[ https://issues.apache.org/jira/browse/CB-1475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13507809#comment-13507809 ] Shazron Abdullah commented on CB-1475: -- Commit for above: