Re: Measuring Perf of Cordova apps (Android/iOS)

2014-11-06 Thread Parashuram
Sent in a pull request - https://github.com/cordova/apache-blog-posts/pull/16 ​I made the post sound like a tutorial, hoping that it would help developers get started quickly with perf for Cordova apps. Would greatly appreciate any feedback on the content and the tool :). On 10/20/14, 11:27 AM

volumeup and volumedown events in Android Working

2014-11-06 Thread Joshi, Pavankumar
Hello Devs, I have a question regarding volumeup and volumedown events on Android platform. These 2 events work fine on Android platform. I am currently testing mobilespec 3.6.3 version on Android 4.4.3 and Android 4.0.4 versions and these events work fine. But the latest cordova-docs mentions t

[GitHub] cordova-lib pull request: Add comment section at end of build.grad...

2014-11-06 Thread fujunwei
GitHub user fujunwei opened a pull request: https://github.com/apache/cordova-lib/pull/117 Add comment section at end of build.gradle If a project already has a build.gradle file when upgrade Cordova, we should add the comment section automatically when install the plugin. You can

[GitHub] cordova-lib pull request: Add a type named "gradleReference" in fr...

2014-11-06 Thread fujunwei
Github user fujunwei commented on the pull request: https://github.com/apache/cordova-lib/pull/111#issuecomment-62096240 > Tests should be updated with this as well (although they were failing on the branch before this PR) There are no settings.gradle and libraries.gradle files in

RE: Running browser platform in Linux

2014-11-06 Thread Parashuram Narasimhan (MS OPEN TECH)
Sorry for not being clear. I was saying that we should not open the file:// URL in a specific browser. We should ideally spin up a webserver and open the default browser on the system Why a server ? Because - file:// and http:// have differences in quota and permissions for many APIs like Inde

[GitHub] cordova-lib pull request: Add a type named "gradleReference" in fr...

2014-11-06 Thread fujunwei
Github user fujunwei commented on the pull request: https://github.com/apache/cordova-lib/pull/111#issuecomment-62082241 I think we should add the two lines automatically when upgrade the project. --- If your project is set up for it, you can reply to this email and have your reply ap

Re: [iOS 8] WKWebView moving forward

2014-11-06 Thread Shazron
There have been major changes to the `wkwebview` branch of `cordova-ios`. The `WKWebView` functionality has been moved to a plugin in the `cordova-plugins` repo. So, for now you can do: cordova create wkwvtest test.project wkwvtest cd wkwvtest cordova platform add ios@wkwebview --useg

[ANNOUNCE] Cordova-iOS, Cordova-Windows, & Cordova-wp8 3.7.0 released

2014-11-06 Thread Steven Gill
http://cordova.apache.org/announcements/2014/11/06/cordova-wp-windows-3.7.0.html http://cordova.apache.org/announcements/2014/11/06/cordova-ios-3.7.0.html Lets get that tools release out! Mark? -Steve

RE: Summarizing thoughts on cordova-browser vs Ripple

2014-11-06 Thread Horn, Julian C
I'd like to introduce myself and put in my two cents here. My name is Julian Horn. I work for Intel on the XDK, an integrated development environment for cross-platform HTML5 applications. I am the team lead for the Device Emulator component, which is our Ripple derivative. My background is m

[GitHub] cordova-plugin-console pull request: CB-7977 Mention deviceready i...

2014-11-06 Thread jsoref
GitHub user jsoref opened a pull request: https://github.com/apache/cordova-plugin-console/pull/7 CB-7977 Mention deviceready in plugin docs You can merge this pull request into a Git repository by running: $ git pull https://github.com/jsoref/cordova-plugin-console deviceread

[GitHub] cordova-plugin-inappbrowser pull request: CB-7977 Mention devicere...

2014-11-06 Thread jsoref
GitHub user jsoref opened a pull request: https://github.com/apache/cordova-plugin-inappbrowser/pull/70 CB-7977 Mention deviceready in plugin docs You can merge this pull request into a Git repository by running: $ git pull https://github.com/jsoref/cordova-plugin-inappbrowser

[GitHub] cordova-plugin-media pull request: CB-7977 Mention deviceready in ...

2014-11-06 Thread jsoref
GitHub user jsoref opened a pull request: https://github.com/apache/cordova-plugin-media/pull/36 CB-7977 Mention deviceready in plugin docs You can merge this pull request into a Git repository by running: $ git pull https://github.com/jsoref/cordova-plugin-media deviceready

[GitHub] cordova-plugin-statusbar pull request: CB-7977 Mention deviceready...

2014-11-06 Thread jsoref
GitHub user jsoref opened a pull request: https://github.com/apache/cordova-plugin-statusbar/pull/17 CB-7977 Mention deviceready in plugin docs CB-7979 Each plugin doc should have a ## Installation section You can merge this pull request into a Git repository by running: $ git

[GitHub] cordova-plugin-file pull request: CB-7977 Mention deviceready in p...

2014-11-06 Thread jsoref
GitHub user jsoref opened a pull request: https://github.com/apache/cordova-plugin-file/pull/90 CB-7977 Mention deviceready in plugin docs You can merge this pull request into a Git repository by running: $ git pull https://github.com/jsoref/cordova-plugin-file deviceready Al

[GitHub] cordova-plugin-vibration pull request: CB-7977 Mention deviceready...

2014-11-06 Thread jsoref
GitHub user jsoref opened a pull request: https://github.com/apache/cordova-plugin-vibration/pull/24 CB-7977 Mention deviceready in plugin docs You can merge this pull request into a Git repository by running: $ git pull https://github.com/jsoref/cordova-plugin-vibration devic

[GitHub] cordova-plugin-device-orientation pull request: CB-7977 Mention de...

2014-11-06 Thread jsoref
GitHub user jsoref opened a pull request: https://github.com/apache/cordova-plugin-device-orientation/pull/17 CB-7977 Mention deviceready in plugin docs You can merge this pull request into a Git repository by running: $ git pull https://github.com/jsoref/cordova-plugin-device

[GitHub] cordova-plugin-dialogs pull request: CB-7977 Mention deviceready i...

2014-11-06 Thread jsoref
GitHub user jsoref opened a pull request: https://github.com/apache/cordova-plugin-dialogs/pull/40 CB-7977 Mention deviceready in plugin docs You can merge this pull request into a Git repository by running: $ git pull https://github.com/jsoref/cordova-plugin-dialogs devicerea

[GitHub] cordova-plugin-media-capture pull request: CB-7977 Mention devicer...

2014-11-06 Thread jsoref
GitHub user jsoref opened a pull request: https://github.com/apache/cordova-plugin-media-capture/pull/29 CB-7977 Mention deviceready in plugin docs You can merge this pull request into a Git repository by running: $ git pull https://github.com/jsoref/cordova-plugin-media-captu

[GitHub] cordova-plugin-file-transfer pull request: CB-7977 Mention devicer...

2014-11-06 Thread jsoref
GitHub user jsoref opened a pull request: https://github.com/apache/cordova-plugin-file-transfer/pull/49 CB-7977 Mention deviceready in plugin docs You can merge this pull request into a Git repository by running: $ git pull https://github.com/jsoref/cordova-plugin-file-transf

[GitHub] cordova-plugin-device-motion pull request: CB-7977 Mention devicer...

2014-11-06 Thread jsoref
GitHub user jsoref opened a pull request: https://github.com/apache/cordova-plugin-device-motion/pull/19 CB-7977 Mention deviceready in plugin docs You can merge this pull request into a Git repository by running: $ git pull https://github.com/jsoref/cordova-plugin-device-moti

[GitHub] cordova-plugin-contacts pull request: CB-7977 Mention deviceready ...

2014-11-06 Thread jsoref
GitHub user jsoref opened a pull request: https://github.com/apache/cordova-plugin-contacts/pull/50 CB-7977 Mention deviceready in plugin docs You can merge this pull request into a Git repository by running: $ git pull https://github.com/jsoref/cordova-plugin-contacts devicer

[GitHub] cordova-plugin-geolocation pull request: CB-7977 Mention devicerea...

2014-11-06 Thread jsoref
GitHub user jsoref opened a pull request: https://github.com/apache/cordova-plugin-geolocation/pull/30 CB-7977 Mention deviceready in plugin docs You can merge this pull request into a Git repository by running: $ git pull https://github.com/jsoref/cordova-plugin-geolocation d

[GitHub] cordova-plugin-globalization pull request: CB-7977 Mention devicer...

2014-11-06 Thread jsoref
GitHub user jsoref opened a pull request: https://github.com/apache/cordova-plugin-globalization/pull/30 CB-7977 Mention deviceready in plugin docs You can merge this pull request into a Git repository by running: $ git pull https://github.com/jsoref/cordova-plugin-globalizati

[GitHub] cordova-plugin-camera pull request: CB-7977 Mention deviceready in...

2014-11-06 Thread jsoref
GitHub user jsoref opened a pull request: https://github.com/apache/cordova-plugin-camera/pull/53 CB-7977 Mention deviceready in plugin docs CB-7979 Each plugin doc should have a ## Installation section You can merge this pull request into a Git repository by running: $ git pul

[GitHub] cordova-browser pull request: CB-7978 Fixed launching chrome in Li...

2014-11-06 Thread sosahvictor
GitHub user sosahvictor opened a pull request: https://github.com/apache/cordova-browser/pull/4 CB-7978 Fixed launching chrome in Linux - Fixed launching chrome in linux. It either launches chrome or google-chrome processes - Reads config.xml looking for the source file to be us

Re: Running browser platform in Linux

2014-11-06 Thread Steven Gill
Victor, feel free to send a PR so is uses config.xml content src instead of www/index.html. Also send the PR for your patches to run script. On Thu, Nov 6, 2014 at 1:17 PM, Victor Sosa wrote: > Not sure I'm following you, Parashuram, can you explain a little more, > please? > > One more I noti

Re: Running browser platform in Linux

2014-11-06 Thread Victor Sosa
Not sure I'm following you, Parashuram, can you explain a little more, please? One more I noticed is that in the run script of the browser platform, it is directly pointing to "www/*index.html*", why is index.html hardcoded there instead of reading config.xml? I patched my run script to use this

RE: Running browser platform in Linux

2014-11-06 Thread Parashuram Narasimhan (MS OPEN TECH)
I don’t this we should launch Chrome this way. How about using something like browser-launcher, or even karma-chrome-launcher instead? Also, why not just "open" the HTML page? -Original Message- From: Victor Sosa [mailto:sosah.vic...@gmail.com] Sent: Thursday, November 6, 2014 12:45 PM

[GitHub] cordova-app-hello-world pull request: more helpful stupid-friendly...

2014-11-06 Thread kingIZZZY
Github user kingIZZZY commented on a diff in the pull request: https://github.com/apache/cordova-app-hello-world/pull/9#discussion_r19973706 --- Diff: www/js/index.js --- @@ -16,27 +16,15 @@ * specific language governing permissions and limitations * under the License.

Running browser platform in Linux

2014-11-06 Thread Victor Sosa
Hello all. I've been playing a little bit with the Browse platform and the first thing I notice is that when running the application using "cordova run browser" it handles the cases of when using Windows and Darwin (MacOS) but no Linux (I'm on Ubuntu 14.04). Is there any particular reason of why i

[GitHub] cordova-app-hello-world pull request: more helpful stupid-friendly...

2014-11-06 Thread kingIZZZY
GitHub user kingIZZZY opened a pull request: https://github.com/apache/cordova-app-hello-world/pull/9 more helpful stupid-friendly index.js 3:07:37 PM regedit: i did actually look at index.js at first, but it seemed a little daunting so i put it aside and started coding my own stu

Re: Review: Cordova iOS 3.7.0 Release blog post

2014-11-06 Thread Shazron
Thanks guys - I've integrated Josh's changes (which has Andrew's changes as well) and linkified the issues. On Wed, Nov 5, 2014 at 4:13 PM, Josh Soref wrote: > Andrew Grieve wrote: > > >Don't have time to do a PR, but overall seems the overview of changes > >seems > >a bit non-user-understandabl

[GitHub] cordova-lib pull request: Add a type named "gradleReference" in fr...

2014-11-06 Thread clelland
Github user clelland commented on the pull request: https://github.com/apache/cordova-lib/pull/111#issuecomment-62038387 Pushed to apache/cordova-android as well, on a new CB-3445 branch. --- If your project is set up for it, you can reply to this email and have your reply appear on G

[GitHub] cordova-lib pull request: Add a type named "gradleReference" in fr...

2014-11-06 Thread clelland
Github user clelland commented on the pull request: https://github.com/apache/cordova-lib/pull/111#issuecomment-62037534 I've rebased this against master now, and pushed it up on a feature branch (`CB-3445-2`, to not conflict with the previous branch) --- If your project is set up fo

[GitHub] cordova-lib pull request: Add a type named "gradleReference" in fr...

2014-11-06 Thread clelland
Github user clelland commented on the pull request: https://github.com/apache/cordova-lib/pull/111#issuecomment-62037845 Tests should be updated with this as well (although they were failing on the branch before this PR) --- If your project is set up for it, you can reply to this ema

Re: [iOS 8] WKWebView moving forward

2014-11-06 Thread Shazron
Thanks Tony - I'll look at that PR when I have some time. Yesterday I did some major work to isolate the webviews into plugins (CDVWKWebViewEngine, CDVUIWebViewEngine). This way we can reduce the risk by extracting the WKWebView items into a plugin, and the core has no dependency on WebKit.framewo

[GitHub] cordova-lib pull request: Add a type named "gradleReference" in fr...

2014-11-06 Thread clelland
Github user clelland commented on the pull request: https://github.com/apache/cordova-lib/pull/111#issuecomment-62033701 What happens on upgrade, if a project already has a `platforms/android/build.gradle` file? Do we need to put some code in to either replace build.gradle or add the

Cordova 8th most explicitly installed npm package!

2014-11-06 Thread Michal Mocny
Article: http://blog.npmjs.org/post/101775448305/npm-and-front-end-packaging List: https://docs.google.com/spreadsheets/d/1LyRwn6E8k7NM5bw2hJ7pWD7BWjgN_EskQ0ZMNphrffE/edit#gid=0 Woot! Some other interesting tidbits in the article. -Michal

RE: Cordova: Comment on Deleting hidekeyboard and showkeyboard Events

2014-11-06 Thread Kevin Nuss
P.S.LinearLayoutSoftKeyboardDetect.java uses the deprecated method “sendJavascript” in CordovaWebView.java. This ends up causing violations of Content-Security-Policy rules since I am using fairly strict ones that do not include ‘unsafe-eval’ . But events from backbutton and online/offline n

[GitHub] cordova-medic pull request: Medic improvenents

2014-11-06 Thread MariaBukharina
GitHub user MariaBukharina opened a pull request: https://github.com/apache/cordova-medic/pull/17 Medic improvenents config.json: • Merged config.json.sample-windows and config.json.sample files Windows: • Added support of --nobuild key • Creating mobile-s

[GitHub] cordova-lib pull request: Add a type named "gradleReference" in fr...

2014-11-06 Thread clelland
Github user clelland commented on the pull request: https://github.com/apache/cordova-lib/pull/111#issuecomment-62004988 Sorry, Junwei -- I meant to take a look at this when you first posted it. This looks good; I'm going to test it out with the Crosswalk AAR, and I'll merge i

[GitHub] cordova-ios pull request: CB-5706 convert some of the bash scripts...

2014-11-06 Thread eymorale
Github user eymorale commented on the pull request: https://github.com/apache/cordova-ios/pull/118#issuecomment-61998319 Sure thing. Fixed --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this

Re: Let's try to release Cordova-Android 4.0.x soon

2014-11-06 Thread Joe Bowser
On Thu Nov 06 2014 at 7:19:58 AM Andrew Grieve wrote: > This is high on my list as well, but I'd really like to try switching > CordovaWebView to a class rather than an interface, and I won't have time > to do that until close to the end of the month. > > If you're going to try this, do this in a

Re: Let's try to release Cordova-Android 4.0.x soon

2014-11-06 Thread Andrew Grieve
This is high on my list as well, but I'd really like to try switching CordovaWebView to a class rather than an interface, and I won't have time to do that until close to the end of the month. One step along the way we can do right now though is switch 3.x branch over to using Gradle by default. WD

Re: plugin with AAR

2014-11-06 Thread Andrew Grieve
I think it looks good! Ian's going to have a look as well today. Yes - apply it to master and I'll merged master->4.0.x afterwards. On Wed, Nov 5, 2014 at 10:05 PM, Fu, Junwei wrote: > Thanks for your feedback. > > I'm agree with you. I have updated the PR ( > https://github.com/apache/cordova-

Re: Cordova: Comment on Deleting hidekeyboard and showkeyboard Events

2014-11-06 Thread Andrew Grieve
This came up because it doesn't work. I'm not dead set against it, but I think there are concrete reasons why it's a good idea to drop (which I've listed out). On Wed, Nov 5, 2014 at 7:30 PM, Joe Bowser wrote: > We're spending a lot of time debating killing an undocumented feature that > works i