Re: iOS webview size

2013-12-06 Thread Tommy Williams
Not sure what you mean. Are you saying you can only have a canvas with a max size of 320x240? I have an app with a larger canvas than that. If that is what you are saying, be sure you are not trying to set the canvas size just using CSS. For an example maybe have a look at my canvas demo:

Help required on moving files

2013-12-06 Thread Prasad Ravindra Sangodkar
Hi, I have an requirement, where I need to move some photos from my app folder(Eg: www/img/gallery/photo1.png) to the phone gallery for both android ios. I am using cordova with angularJS. Can you please guide me in getting this done. Thanks, Prasad S.

Re: Help required on moving files

2013-12-06 Thread John M. Wargo
Prasad, This is a list for developers working on the Cordova Framework. If you want help using Cordova, you should post your questions to: https://groups.google.com/forum/#!forum/phonegap https://groups.google.com/forum/#%21forum/phonegap The Camera API has an option for saving photos to the

RE: iOS webview size

2013-12-06 Thread Maxime LUCE
Hi, I will try to explain the issue more precisely. When I launch my app using XCode in the iOS emulator, I can see that my app is resized in a 320x240 frame. This behavior force iOS to resize every DOM elements to adjust to an arbitrary 320x240. I checked the behavior by putting a

RE: Cordova and Crosswalk

2013-12-06 Thread Jonathan Bond-Caron
On Wed Dec 4 11:55 PM, Hu, Ningxin wrote: -Original Message- From: Jonathan Bond-Caron [mailto:jbo...@gdesolutions.com] Sent: Wednesday, December 04, 2013 11:47 PM To: dev@cordova.apache.org Subject: RE: Cordova and Crosswalk On Tue Dec 3 08:40 AM, Hu, Ningxin wrote: Your

Re: iOS webview size

2013-12-06 Thread James Jong
Sounds like you have some customization in obj-c or the nib files. The frame should be fullscreen by default. -James Jong On Dec 6, 2013, at 8:25 AM, Maxime LUCE max...@somatic.fr wrote: Hi, I will try to explain the issue more precisely. When I launch my app using XCode in the iOS

RE: iOS webview size

2013-12-06 Thread Maxime LUCE
Frame is fullscreen but frame content is sized Cordialement. Maxime LUCE max...@touchit.fr 06 28 60 72 34 http://touchit.fr -Original Message- From: James Jong [mailto:wjamesj...@gmail.com] Sent: vendredi 6 décembre 2013 14:47 To: dev@cordova.apache.org Subject: Re: iOS webview

Re: JAVA_HOME

2013-12-06 Thread Michal Mocny
I think I marked that fix version, and it was before we did an android 3.2.x point release. I was under the impression that the fix did already make it out in that point release and so we can update JIRA, but I guess I should make sure first. Are you saying that the fix isn't in the latest point

Re: JAVA_HOME

2013-12-06 Thread Michal Mocny
Or maybe we didn't do a point release for android.. On Fri, Dec 6, 2013 at 9:36 AM, Michal Mocny mmo...@chromium.org wrote: I think I marked that fix version, and it was before we did an android 3.2.x point release. I was under the impression that the fix did already make it out in that

Re: iOS webview size

2013-12-06 Thread Michal Mocny
320 sounds like the width of the first three generations of iphone (though the height is not 240 but 480). Perhaps you are emulating an older device? On Fri, Dec 6, 2013 at 9:28 AM, Maxime LUCE max...@somatic.fr wrote: Frame is fullscreen but frame content is sized Cordialement. Maxime

RE: iOS webview size

2013-12-06 Thread Maxime LUCE
You're right it's 320x480. I launch it on a iPhone retina emulator. Cordialement. Maxime LUCE max...@touchit.fr 06 28 60 72 34 http://touchit.fr -Original Message- From: mmo...@google.com [mailto:mmo...@google.com] On Behalf Of Michal Mocny Sent: vendredi 6 décembre 2013 15:45 To:

RE: iOS webview size

2013-12-06 Thread Maxime LUCE
By default, Cordova ios project targets iOS 5+, could it be blocking ?? Cordialement. Maxime LUCE max...@touchit.fr 06 28 60 72 34 http://touchit.fr -Original Message- From: mmo...@google.com [mailto:mmo...@google.com] On Behalf Of Michal Mocny Sent: vendredi 6 décembre 2013 15:45

Re: JAVA_HOME

2013-12-06 Thread Carlos Santana
The fix is located in cordova-android repo and was landed after last release 3.2.0, it was picked up by 3.3.x branch, like Steve already mentioned is going to be in 3.3.0 next week. https://github.com/apache/cordova-android/commit/2f66ec60db8749bc442095560d5713b7bb718527 This is not a fix on

Re: iOS webview size

2013-12-06 Thread James Jong
Are you targeting prior to iOS 5? -James Jong On Dec 6, 2013, at 9:49 AM, Maxime LUCE max...@somatic.fr wrote: By default, Cordova ios project targets iOS 5+, could it be blocking ?? Cordialement. Maxime LUCE max...@touchit.fr 06 28 60 72 34 http://touchit.fr -Original

Pull request: Add Ubuntu to the README.md file

2013-12-06 Thread David Barth
Hi, In preparation for the 3.3 release, here is a quick pull request to add Ubuntu to the README.md file, along with some release notes elements https://github.com/apache/cordova-cli/pull/106 (namely no cross-compilation support from cordova-cli yet, but coming soon hopefully) David

Re: iOS webview size

2013-12-06 Thread Andrew Grieve
Problem with viewport meta tag? On Fri, Dec 6, 2013 at 10:07 AM, James Jong wjamesj...@gmail.com wrote: Are you targeting prior to iOS 5? -James Jong On Dec 6, 2013, at 9:49 AM, Maxime LUCE max...@somatic.fr wrote: By default, Cordova ios project targets iOS 5+, could it be blocking ??

Re: iOS webview size

2013-12-06 Thread Michal Mocny
Yeah if you don't have correct viewport, and are using the 3.5 inch retina iphone simulator, you will get 2 device pixels per css pixel, and thus see the resolution you claim. Also, even if you fix the viewport, I think that for efficiency reasons some web renderers will specifically treat the

Re: JAVA_HOME

2013-12-06 Thread James Jong
Don was asking for it to be in the 3.2.x stream. The fix is pretty small so it should be doable for the next point release. -James Jong On Dec 6, 2013, at 10:05 AM, Carlos Santana csantan...@gmail.com wrote: The fix is located in cordova-android repo and was landed after last release 3.2.0,

Re: iOS webview size

2013-12-06 Thread Ian Clelland
Yes, if we're actually talking about the HTML canvas element, then it's default resolution will match the element's size *in CSS pixels*, which are twice the size of device pixels on a retina display. You need to set the element's width and height attributes (*not* the CSS properties) to increase

Re: JAVA_HOME

2013-12-06 Thread Joe Bowser
The next release is 3.3.0. There is no point doing a 3.2.1 release with 3.3.0 being released next week. On Dec 6, 2013 8:43 AM, James Jong wjamesj...@gmail.com wrote: Don was asking for it to be in the 3.2.x stream. The fix is pretty small so it should be doable for the next point release.

Re: iOS webview size

2013-12-06 Thread Stephan Wezel
Or you could use following code to do the scaling automatically if needed var devicePixelRatio = window.devicePixelRatio || 1, backingStoreRatio = ctx.webkitBackingStorePixelRatio || ctx.mozBackingStorePixelRatio || ctx.msBackingStorePixelRatio ||

Re: Ubuntu and FireOS update

2013-12-06 Thread Braden Shepherdson
Make sure these platforms get added to cordova platform ls, with appropriate logic for where Ubuntu can be built. Braden On Thu, Dec 5, 2013 at 6:02 PM, Andrew Grieve agri...@chromium.org wrote: On Thu, Dec 5, 2013 at 8:53 PM, Steven Gill stevengil...@gmail.com wrote: Just wanted to give

Re: iOS webview size

2013-12-06 Thread Stephan Wezel
Oh i forgot to mention, that the posted code is derived from the High DPI canvas entry on html5rocks Stephan On Friday 06 December 2013 18:17:57 Stephan Wezel wrote: Or you could use following code to do the scaling automatically if needed var devicePixelRatio = window.devicePixelRatio ||

Android 4.4.1

2013-12-06 Thread Marcel Kinard
Looks like the first patch to Android 4.4 is on it's way. I'm curious but doubtful if anything there addresses our recent 4.4 issues. http://www.zdnet.com/google-releases-kitkat-4-4-1-with-big-camera-fixes-for-nexus-5-724018/

Re: Ubuntu and FireOS update

2013-12-06 Thread Steven Gill
Thanks for the tip Braden. I will make sure that is done now. On Fri, Dec 6, 2013 at 9:24 AM, Braden Shepherdson bra...@chromium.orgwrote: Make sure these platforms get added to cordova platform ls, with appropriate logic for where Ubuntu can be built. Braden On Thu, Dec 5, 2013 at 6:02

RE: Windows Phone binary bridge

2013-12-06 Thread Sergey Grebnov (Akvelon)
Agree and like this idea. I don't think there are many other components (if any) which use ArrayBuffer but must be tested well anyway since this changes core. Ian do you want to complete this yourself or you are ok if I handle this? -Sergey -Original Message- From: iclell...@google.com

Re: Windows Phone binary bridge

2013-12-06 Thread Ian Clelland
On Fri, Dec 6, 2013 at 2:15 PM, Sergey Grebnov (Akvelon) v-seg...@microsoft.com wrote: Agree and like this idea. I don't think there are many other components (if any) which use ArrayBuffer but must be tested well anyway since this changes core. Ian do you want to complete this yourself or

Re: Ubuntu and FireOS update

2013-12-06 Thread Steven Gill
I would also like to see pull requests for cordova-js support for both ubuntu and fireOS! On Fri, Dec 6, 2013 at 10:32 AM, Steven Gill stevengil...@gmail.com wrote: Thanks for the tip Braden. I will make sure that is done now. On Fri, Dec 6, 2013 at 9:24 AM, Braden Shepherdson

Re: Ubuntu and FireOS update

2013-12-06 Thread Steven Gill
nvm. Found the repos for ubuntu. Cordova-js support looks good for both platforms On Fri, Dec 6, 2013 at 12:36 PM, Steven Gill stevengil...@gmail.com wrote: I would also like to see pull requests for cordova-js support for both ubuntu and fireOS! On Fri, Dec 6, 2013 at 10:32 AM, Steven

Pull Requests

2013-12-06 Thread Andrew Grieve
Just finished going through most of our repos and addressing pull requests. Lots of things that have fallen through the cracks :(. (e.g. 4 month old requests that were still relevant). I think what might improve our situation here is to write a script that can poll all of our github repos and

Re: Pull Requests

2013-12-06 Thread Josh Soref
Mercurial uses Patchwork http://patchwork.serpentine.com/project/hg/list/‎ - This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the

3.3.0-rc.1 is live on npm

2013-12-06 Thread Steven Gill
You can grab the rc by doing npm install -g cordova@3.3.0-rc.1 or npm install -g cordova@rc I will whip up a blog post in a bit and then start announcing. Begin your tests!

Re: Windows Phone binary bridge

2013-12-06 Thread Jesse
FYI, you can buy a no contract Nokia 520 WP8 device for $120, and developing in the emulator is more than sufficient for most tasks. Sergey, do you got this? @purplecabbage risingj.com On Fri, Dec 6, 2013 at 11:21 AM, Ian Clelland iclell...@chromium.orgwrote: On Fri, Dec 6, 2013 at 2:15 PM,

RE: Windows Phone binary bridge

2013-12-06 Thread Parashuram Narasimhan (MS OPEN TECH)
I think Sergey should be able to squeeze this into his schedule. We were looking at fixing plugin support and this could be a good way to start it. -Original Message- From: Jesse [mailto:purplecabb...@gmail.com] Sent: Friday, December 6, 2013 1:30 PM To: dev@cordova.apache.org Subject:

RE: iOS webview size

2013-12-06 Thread Maxime LUCE
Sorry, i needed to specify that my app is not a canvas app, it's a HTML 5 app. I use the viewport meta with value initial-scale to 1.0 and width to device-width. I will try some CSS device pixel ratio fixes and let you know about the result. Just to know, since which IOS version, hi resolution

Re: iOS webview size

2013-12-06 Thread Stephan Wezel
Sorry, i needed to specify that my app is not a canvas app, it's a HTML 5 app. Do you use the thml 5 canvas then? Just to know, since which IOS version, hi resolution is available? This isn't directly tied to a iOS version but to a generation of iphone/ipad For iPhone: since iPhone 4 the