Re: CB-422: How do all the platforms handle this?

2012-04-18 Thread Simon MacDonald
+1 only newly created pictures. Simon Mac Donald http://hi.im/simonmacdonald On Wed, Apr 18, 2012 at 12:36 PM, Filip Maj wrote: > TL;DR: the quality option only applies to newly-taken pictures, not > pictures selected from the gallery. > > Rather than approach this from a "what do other platfo

Re: [Android] Back Key events and Reality

2012-04-19 Thread Simon MacDonald
The reason we switched to keyUp is so you could slide your finger off the up button in case you changed your mind about clicking on the back button. I noticed that you checked in: https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-android.git;a=commit;h=180696baec28d6e6b67e8bb23a5302f21b

Re: [Android] Back Key events and Reality

2012-04-19 Thread Simon MacDonald
ght up exit > >> regardless of where in the app you were. What I added was backPressed > >> which would only exit if you were at the top of the history. Also, > >> backPressed should be supported for Android versions higher than Android > >> 2.0, and since we&#

Re: [Android] Back Key events and Reality

2012-04-19 Thread Simon MacDonald
x27;s in DroidGap.java works on this end, and > matches what I have in my working tree. We don't have your attached > DroidGap.java, can you send it again? > > On Thu, Apr 19, 2012 at 11:28 AM, Simon MacDonald < > simon.macdon...@gmail.com > > wrote: > > >

Re: [Android] Back Key events and Reality

2012-04-19 Thread Simon MacDonald
Oh, and here is the dirt simple .html I was using. I was checking a possible camera bug and found I couldn't exit the app. http://dl.dropbox.com/u/887989/camera.html Simon Mac Donald http://hi.im/simonmacdonald On Thu, Apr 19, 2012 at 2:44 PM, Simon MacDonald wrote: > You can get my

Re: [Android] Back Key events and Reality

2012-04-19 Thread Simon MacDonald
msung puts on their default build, but this does > illustrate my point more clearly. Once we remove the extra backHistory > call, things seem to work properly on this end and the app does exit. It > seems incredibly strange that the Note would fail. > > On Thu, Apr 19, 2012 at 11:48 A

Re: [Android] Back Key events and Reality

2012-04-19 Thread Simon MacDonald
eing drawn right on the home > screen > > >which is resuming... > > > > > >D/BackButton(17630): I got an up from KEYCODE_BACK > > >D/BackButton(17630): I'm doing nothing > > >D/BackPressed(17630): returning false > > > > > >I shoul

Re: [Android] Back Key events and Reality

2012-04-19 Thread Simon MacDonald
> work even though it shouldn't because the App should have ran the > Activity's onKeyDown and onBackPressed. > > In short, I have to use the bin/create scripts because Java inheritance > doesn't seem to work the way I thought it should. > > Joe > > On Thu,

Re: cordova has no method exec

2012-04-20 Thread Simon MacDonald
What platform and version of PhoneGap are you using? Simon Mac Donald http://hi.im/simonmacdonald On Fri, Apr 20, 2012 at 6:47 AM, Michelantonio Trizio < mikelantonio.tri...@gmail.com> wrote: > Hi, > > I'm newbie with Cordova. > I'm trying to use the facebook connect plugin but I'm stuck. > Whe

Re: Tag 1.7.0rc1?

2012-04-23 Thread Simon MacDonald
This may be the wrong thread but can we just start versioning like this: 1) tag 1.7.0 2) dammit found a bunch of regression bugs 3) tag 1.7.1 4) crap one more bug 5) tag 1.7.2 6) phew, regression passed 7) Release 1.7.2! What do you think? Simon Mac Donald http://hi.im/simonmacdonald On Mon, A

Re: Tag 1.7.0rc1?

2012-04-23 Thread Simon MacDonald
t we're doing? > > > > On 4/23/12 11:57 AM, "Simon MacDonald" > wrote: > > > > >This may be the wrong thread but can we just start versioning like this: > > > > > >1) tag 1.7.0 > > >2) dammit found a bunch of regression bugs &

Better Splash Screen?

2012-04-24 Thread Simon MacDonald
Hey, I did a bit of a refactor on the Android splash screen. I didn't like the fact that when you do a: *super*.setIntegerProperty("splashscreen", R.drawable.*splash)*; *super*.loadUrl("file:///android_asset/www/conn.html", 5000); The splash screen is shown for 5 seconds then the web view begins

Re: Better Splash Screen?

2012-04-24 Thread Simon MacDonald
y cover the screen." > > >> > > >> Not in a spot to test this yet but how much is covered / how big is > > >> the visual change? > > >> > > >> If its at all different would we not want to deprecate the old > > >> functional

Re: Better Splash Screen?

2012-04-24 Thread Simon MacDonald
t; in > the plugins.xml. Then you dismiss it by calling the only plugin > api... hide(). > > Sound do-able? > > On Tue, Apr 24, 2012 at 2:53 PM, Simon MacDonald > wrote: > > Okay, conf call done. Lemme catch up on this thread. > > > > @Brian - I was able to find

Re: Better Splash Screen?

2012-04-25 Thread Simon MacDonald
f qualify as > a plugin? Or does it then factor into the "core framework"? > > On 4/24/12 1:44 PM, "Simon MacDonald" wrote: > > >That should be completely doable but I think it makes more sense to add a > > tag to the cordova.xml file. This way the d

Re: Better Splash Screen?

2012-04-26 Thread Simon MacDonald
Yes, yes I am. On Apr 26, 2012 3:23 PM, "Brian LeRoux" wrote: > awesome > > On Wed, Apr 25, 2012 at 8:48 AM, Simon MacDonald > wrote: > > Okay, I'm going to check in my change to 1.7 as: > > > > a) It does not change the way developers setup a s

Re: Pull requests to phonegap-plugins repo

2012-04-27 Thread Simon MacDonald
Well, there is nothing to stop people from merging their own pull requests. It is common courtesy for folks to contact the original plugin author before doing the merge but there is nothing to stop them. I've just made a task to check to see if any of my plugins have open pull requests against the

Re: CB-363 - What should we do if we exceed the quota on a WebSQL database?

2012-04-27 Thread Simon MacDonald
Is this our bug or an Android bug? In most cases aren't we using the WebView's window.openDatabase code? Simon Mac Donald http://hi.im/simonmacdonald On Thu, Apr 19, 2012 at 4:31 PM, Joe Bowser wrote: > Hey > > I looked at the spec, and I'm wondering what we should do when we exceed a > specif

Re: why apache cordova keep Polling and XHR two ways to fetch data?

2012-05-07 Thread Simon MacDonald
Also, if an Android device has a proxy setup XHR fails so we revert to polling. Simon Mac Donald http://hi.im/simonmacdonald On Mon, May 7, 2012 at 12:03 PM, Filip Maj wrote: > There were some issues with the Android 2.3 emulator (_possibly_ some > actual devices but this is still up for debat

Re: API addition: application version

2012-05-07 Thread Simon MacDonald
Seems easy to do on android and probably belongs in navigator.app.version since app is our own non-W3C extension. Simon On Monday, May 7, 2012, Filip Maj wrote: > Stems from https://issues.apache.org/jira/browse/CB-635 > > TL;DR: providing a JS API in cordova for accessing the application versio

Re: Default Enable Plugins

2012-05-07 Thread Simon MacDonald
Jumping in here at the end to offer my two cents. Personally I don't think the plugins should be enabled by default in our web view. Android devs can easily add a line in their onCreate method to enable plugins. The only folks this is a problem for are users of the PhoneGap Build service. To me tha

Re: File API extension

2012-05-07 Thread Simon MacDonald
I'd go with setMetadata(Object). Let the native side interrogate the object to see what metadata needs to be set. Simon On Monday, May 7, 2012, Filip Maj wrote: > getMetadata exists, so setMetadata makes sense. W3C has no equivalent, our > users need it, I say do it. > > On 5/7/12 5:24 PM, "Shaz

Re: why apache cordova keep Polling and XHR two ways to fetch data?

2012-05-07 Thread Simon MacDonald
Well adding on to what Joe said. XHR is going to be faster than polling but we need both as some phones have a problem with XHR when their carrier puts a proxy on the phone. Now addJavascriptInterface is probably faster than the prompt method but if we add it back in we run the risk of PG not work

Re: File API extension

2012-05-07 Thread Simon MacDonald
+1 On Monday, May 7, 2012, Shazron wrote: > That sounds great, so the exec call (pseudocode example here) could go > something like this: > > var metadata = { 'icloud_backup' : true }; > cordova.exec(success, fail, "File", "setMetadata", [metadata])

Re: API addition: application version

2012-05-07 Thread Simon MacDonald
[2]. > > In that case, it would be: window.widget.version > > [1] http://www.w3.org/TR/widgets-apis/#the-widget-interface > [2] http://www.w3.org/TR/widgets/ > > On Mon, May 7, 2012 at 10:53 PM, Shazron > > wrote: > > > I like navigator.app.version > > >

Re: API addition: application version

2012-05-08 Thread Simon MacDonald
On Tue, May 8, 2012 at 1:23 PM, Patrick Mueller wrote: > > To clarify a bit, what I was wondering if it was cheap enough to get this > info during startup and stash it away somewhere in JS, so it'd be available > at deviceready. > This is what I was thinking as well. We'd go get the info an popu

Re: Default Enable Plugins

2012-05-08 Thread Simon MacDonald
Hey Justin, I has been discussed on the list and it looks like the consensus is not to enabled plugins by default. If you want to enable them in your own project you just need to add the following line to onCreate method of the class that extends from DroidGap. *this*.appView.getSettings().se

Re: [Android] - Merging CordovaWebView into Master this week?

2012-05-09 Thread Simon MacDonald
I'm reviewing now. Been busy with other crap this week. Simon Mac Donald http://hi.im/simonmacdonald On Wed, May 9, 2012 at 2:58 PM, Joe Bowser wrote: > Hey > > Due to the lack of feedback from anyone outside Adobe, and the fact that > I'd like feedback before the merge, I'm going to do the me

Re: [Android] - Merging CordovaWebView into Master this week?

2012-05-09 Thread Simon MacDonald
he Java code in order to compile. 2) I don't like how "ctx" is a CordovaInterface but is casted to Activity or Context depending on what is required. Still need to review some more but I have to head home. Simon Mac Donald http://hi.im/simonmacdonald On Wed, May 9, 2012 at 3:01 PM,

Re: [Android] - Merging CordovaWebView into Master this week?

2012-05-10 Thread Simon MacDonald
dovaLog( 2840): JSCallback Server Closed: Stopping callbacks. >>>>>> D/CordovaLog( 2840): file:///android_asset/www/cordova-1.7.0.js: Line >>>>>> 3560 : JSCallback Server Closed: Stopping callbacks. >>>>>> I/Web Console( 2840): JSCallback Server

Re: API addition: application version

2012-05-11 Thread Simon MacDonald
rooks >> >wrote: >> >> My understanding as well. Before deviceready, read the config.xml and >> >> populate some variables. We're talking about the application metadata, >> >>not >> >> the device's information. >> >> >>

Re: Adding HTTP status code to FileTransferError

2012-05-14 Thread Simon MacDonald
Sounds good to me. I'd probably skip the "http_message" as you pretty much get all you need from the status and you don't need to localize the string. Simon Mac Donald http://hi.im/simonmacdonald On Mon, May 14, 2012 at 9:29 AM, Don Coleman wrote: > I'd like to add HTTP Status Code and HTTP St

Re: [Android] HTTP Authentication

2012-05-14 Thread Simon MacDonald
Ha, that was one of the questions Bryce and I came up with while doing the code review on Friday. Simon Mac Donald http://hi.im/simonmacdonald On Mon, May 14, 2012 at 3:22 PM, Joe Bowser wrote: > Hey > > I'm currently working on the HTTP Authentication settings in Android, and > I'm wondering

Re: Obligatory Vacation Notice

2012-05-14 Thread Simon MacDonald
Just double checking, we are doing the call at 9am pacific time on Tuesday? Simon Mac Donald http://hi.im/simonmacdonald On Mon, May 14, 2012 at 1:09 PM, Joe Bowser wrote: > Hey > > Here's the number for the call: (855) 870-5454 > > Conference Code is: 5328695080 > > If you want, we can set up

Re: Obligatory Vacation Notice

2012-05-14 Thread Simon MacDonald
on, May 14, 2012 at 1:33 PM, Simon MacDonald > wrote: > > > Just double checking, we are doing the call at 9am pacific time on > Tuesday? > > > > Simon Mac Donald > > http://hi.im/simonmacdonald > > > > > > On Mon, May 14, 2012 at 1:09 PM, Joe Bows

Re: Java Style

2012-05-15 Thread Simon MacDonald
+1 on 4 spaces, no tabs. Simon Mac Donald http://hi.im/simonmacdonald On Tue, May 15, 2012 at 5:39 PM, Joe Bowser wrote: > Remember to set Indentation and Tabs the same. I had Indentation 2 and > Tabs 4. > > On Tue, May 15, 2012 at 2:30 PM, Filip Maj wrote: > > > Holy crap a bit tougher in E

Re: Adding HTTP status code to FileTransferError

2012-05-17 Thread Simon MacDonald
gt;>>>https://github.com/don/incubator-cordova-ios/tree/FileTransferError >>>>>>>https://github.com/don/incubator-cordova-android/tree/FileTransferError >>>>>>> >>>>>>>I need to clean up the Android version before issuing a pull

Re: API function: Open url in system web browser

2012-05-18 Thread Simon MacDonald
Maybe it's time to pull the ChildBrowser into the core Cordova API? It is currently available on Android/BB/iOS (not sure about WP7). This seems like the logical place to put any new API. Specifically on Android the ChildBrowser gives you two main methods: showWebPage - communicates with your main

Re: Adding HTTP status code to FileTransferError

2012-05-18 Thread Simon MacDonald
ed the CLA? > > On 5/17/12 7:09 PM, "Simon MacDonald" wrote: > >>I may have missed it but did you sign the Apache CLA? IIRC we need >>this before we can merge your pull requests. >> >>Simon Mac Donald >>http://hi.im/simonmacdonald >> >> &

Re: Adding HTTP status code to FileTransferError

2012-05-18 Thread Simon MacDonald
Never mind I realize now that Don sent it to the right place. Fil and I were CC'ed on it. Simon Mac Donald http://hi.im/simonmacdonald On Fri, May 18, 2012 at 1:06 PM, Simon MacDonald wrote: > It's here: > > https://people.apache.org/committer-index.html > > Don sent

Re: standard project template

2012-05-22 Thread Simon MacDonald
Great idea. Why don't we use the example project that Libby sent a pull request on awhile back. It exercises all of the API and looks a mite bit better than the current one we are using. Simon On Tuesday, May 22, 2012, Brian LeRoux wrote: > How do you guys feel about retiring the various first r

Re: standard project template

2012-05-22 Thread Simon MacDonald
On Tue, May 22, 2012 at 12:17 PM, Bryce Curtis wrote: > > It has a very nice look.  I like that fact that it mirrors the API > docs.  Is it using the samples from the docs and are they all included > or just select APIs? IIRC Libby based it off the the docs site. As she was going through the samp

Re: standard project template

2012-05-22 Thread Simon MacDonald
On Tue, May 22, 2012 at 2:02 PM, Drew Walters wrote: > > I would envision that eventually this would get shipped as a > kitchen-sink type example project, separate from the 'create project' > command. Yeah, when you download the Cordoava-version.zip file this should be in a directory called examp

Re: Adding HTTP status code to FileTransferError

2012-05-23 Thread Simon MacDonald
cket?  Or do I assign them to >>> someone else? >>> >>> https://issues.apache.org/jira/browse/CB-790 >>> >>> On Fri, May 18, 2012 at 1:12 PM, Simon MacDonald >>> wrote: >>> > Never mind I realize now that Don sent it to the

Re: Adding HTTP status code to FileTransferError

2012-05-23 Thread Simon MacDonald
The network really sucks here today. Lots of failed DNS look ups. I'll push the Android changes tonight from home. Simon Mac Donald http://hi.im/simonmacdonald On Wed, May 23, 2012 at 3:52 PM, Simon MacDonald wrote: > I'll do the Android one today. > > Simon Mac Do

Re: tag rc monday?

2012-05-24 Thread Simon MacDonald
+1 on Android On Wednesday, May 23, 2012, Michael Brooks wrote: > Great. > > Can someone from IBM please speak up about Android? > > Michael > > On Wed, May 23, 2012 at 5:53 PM, Tim Kim > > wrote: > > > +1 > > > -- Simon Mac Donald http://hi.im/simonmacdonald

Re: Problem with change event in SENCHA TOUCH and phonegap (android)

2012-05-24 Thread Simon MacDonald
Ralf, this is the list for PhoneGap/Cordova developers to talk about what is going into the next release and discuss issues related to the framework. Problems with using the framework should be posted over at: https://groups.google.com/forum/?fromgroups#!forum/phonegap Simon Mac Donald http://hi.

Re: [Android] Move CordovaWebView to 1.9 release?

2012-05-24 Thread Simon MacDonald
Agree with waiting until 1.9. Simon Mac Donald http://hi.im/simonmacdonald On Thu, May 24, 2012 at 12:31 PM, Joe Bowser wrote: > Hey > > I hate to say it, but given the fact that it appears that CordovaWebView > hasn't been touched in the past week, I'm thinking that we should probably > delay

Re: tag rc monday?

2012-05-24 Thread Simon MacDonald
ess we're dropping CordovaWebView support for 1.8.0? > > > > > > On Thu, May 24, 2012 at 5:34 AM, Michael Brooks < > > mich...@michaelbrooks.ca>wrote: > > > > > > > Awesome, thanks Simon! > > > > > > > > Let's tag and rol

Re: Yet another Camera option (for iOS)

2012-05-25 Thread Simon MacDonald
If we are getting rejections in the App store I think we should fix it immediately. I'd be happy to test it for Android as I don't expect it will require any changes other than exercising the Camera tests. Simon Mac Donald http://hi.im/simonmacdonald On Fri, May 25, 2012 at 8:39 AM, Becky Gibson

Re: spec commit: canonical matching of file paths. Q: Are ALL supported file systems case sensitive?

2012-05-28 Thread Simon MacDonald
Yes, I'm pretty sure that Android, BB and iOS all have case sensitive file systems. Simon Mac Donald http://hi.im/simonmacdonald On Thu, May 24, 2012 at 7:49 PM, wrote: > Updated Branches: >  refs/heads/master 77a6afb9f -> 6c6d90bd8 > > > canonical matching of file paths. Q: Are ALL supported

Re: cordova-js Code Review request

2012-05-28 Thread Simon MacDonald
I reviewed the changes and pulled the latest JS code into my Android project to do some testing. As expected the changes did not affect any of the current Android functionality. So it looks good from my perspective. One question I wonder about is whether CameraPopoverOptions should only be in iOS

Re: [Android] Merging CordovaWebView once 1.8 is released

2012-05-30 Thread Simon MacDonald
+1 as well. Mind you wait a couple of days just to make sure we didn't screw up anything on the release of 1.8.0. Not that we've ever done that before :) Simon Mac Donald http://hi.im/simonmacdonald On Tue, May 29, 2012 at 6:56 PM, Brian LeRoux wrote: > Sounds good to me. > > On Tue, May 29, 20

Re: [DISCUSS] API addition: aborting FileTransfer upload/download process

2012-05-31 Thread Simon MacDonald
Right and since 90% of the Android phones don't support XHR2 we'd need to shim support for XHR2 into Android 2.X. Or we could just add an abort method to the already working/tested FileTransfer code. Since even if we shim in XHR2 support we'll still need to support FileTransfer for the foreseeable

Re: [DISCUSS] using JSON.parse to parse messages from native

2012-06-02 Thread Simon MacDonald
I pulled in the patch for Android. I mistakenly close the pull request thinking he only changed the cordova.android.js code and no native Android changes were made. I think one of the original reasons we were using "eval" on the Android side is that the 1.X versions of Android did not have JSON. S

Re: Media.startRecord behavior - should it create the file?

2012-06-04 Thread Simon MacDonald
Android: 1) Yes, Android creates the media file. 2) It is hard coded to "/sdcard" which is horrible. I may fix that in 1.8 for it to check for external storage and use the default directory which would be "/sdcard" but at least it would check to see if the SD card is mounted. 3) It doesn't return

Re: [Android] DEATH TO TABS Redux

2012-06-05 Thread Simon MacDonald
I used a plugin in Eclipse to change all the tabs to 4 spaces in the Cordova Android project. I pushed the commit up to this branch: https://github.com/macdonst/cordova-android/commit/6d1e0356ac65db16ea8a0b4e3141640159ce6ac5 I've run mobile-spec against it and it looks to be just fine. Let me kno

Geolocation test failures in Mobile Spec

2012-06-05 Thread Simon MacDonald
When I run the geolocation mobile spec tests on Android I get two failures. Both getCurrentPosition and watchPosition complain that p.timestamp is an Object when it expects a number. Well the native Android geolocation API returns a Date object not a timestamp in ms. Looking into the W3C spec for G

Re: Geolocation test failures in Mobile Spec

2012-06-05 Thread Simon MacDonald
*sad trumpet noise* > > On 6/5/12 9:31 AM, "Simon MacDonald" wrote: > >>When I run the geolocation mobile spec tests on Android I get two >>failures. Both getCurrentPosition and watchPosition complain that >>p.timestamp is an Object when it expects a number. We

Re: Geolocation test failures in Mobile Spec

2012-06-05 Thread Simon MacDonald
etTime(). >> >> Since iOS is returning the timestamp in milliseconds the .getTime() call >> fails.   I think we can handle this in JavaScript code as long as new >> Date(DateObjORMilliseconds) works  ( pass a Date object or milliseconds to >> the Date construct

Re: [Android] DEATH TO TABS Redux

2012-06-06 Thread Simon MacDonald
re 1.8. > > On Tue, Jun 5, 2012 at 6:58 AM, Simon MacDonald > wrote: > > > I used a plugin in Eclipse to change all the tabs to 4 spaces in the > > Cordova Android project. I pushed the commit up to this branch: > > > > > > > https://github.com/macd

Re: one file to rule them all: some post 2.x thoughts

2012-06-06 Thread Simon MacDonald
Totally different idea. Why don't we keep driving towards the pluginificiation of everything. Then users would select the plugins they want to use for their app and the cordova.js file would be unique for each users application. Simon Mac Donald http://hi.im/simonmacdonald On Tue, Jun 5, 2012 at

Re: How to set the volume when we play sounds?

2012-06-07 Thread Simon MacDonald
There is a setVolume for Android and BB but it needs to get into iOS and then documented. Simon Mac Donald http://hi.im/simonmacdonald On Wed, Jun 6, 2012 at 11:25 PM, Dominik Schraner wrote: > Looking at > > http://docs.phonegap.com/en/edge/cordova_media_media.md.html#media.play > > it seems l

Re: Plugin loading - on startup and on demand

2012-06-07 Thread Simon MacDonald
On Android if you want to load a plugin on start up of the app you just need to tag the plugin with the "onload" attribute set to "true". For instance: Note: this is an example. The SplashScreen plugin is not setup this way in plugins.xml. Simon Mac Donald http://hi.im/simonmacdonald On Wed,

Re: [Android] Merging CordovaWebView into Master

2012-06-07 Thread Simon MacDonald
Dude, you told me to merge the death to tabs commit so don't complain :) Yes, I think we should tag the head with a non-CordovaWebView tag. Like you said if we need to cut an emergency 1.8.1 release it will be much easier. Simon Mac Donald http://hi.im/simonmacdonald On Wed, Jun 6, 2012 at 5:52

Re: [Android] Merging CordovaWebView into Master

2012-06-07 Thread Simon MacDonald
On Thu, Jun 7, 2012 at 10:59 AM, Joe Bowser wrote: > So, I'm going to call the tag 1.8.1-pre, just so it's clear why it exists. >  Sound good? Sounds good to me. Simon Mac Donald http://hi.im/simonmacdonald

Re: Plugin loading - on startup and on demand

2012-06-07 Thread Simon MacDonald
n >>> wrote: >>>> Speaking of which, we should probably merge plugins.xml and >>>> cordova.xml on android. >>>> >>>> On Fri, Jun 8, 2012 at 4:26 AM, Shazron wrote: >>>>> Yeah we are switching I believe, so maybe this sho

Re: Android devs

2012-06-08 Thread Simon MacDonald
Jun 8, 2012 at 11:05 AM, Simon MacDonald > wrote: > > > Please take a look at: > > > > > > > https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-android.git;a=commit;h=95b48705fea2cac0f2561f84d3f1ecf017357b58 > > > > I added getContext and sta

Re: Android devs

2012-06-08 Thread Simon MacDonald
was not added to interface since it is available from > getActivity().getContext(). > > On Fri, Jun 8, 2012 at 1:24 PM, Simon MacDonald > wrote: > > Yeah, the video player plugin uses it to start playing video. > > > > Simon Mac Donald > > http://hi.im/simonmacdo

Re: Android devs

2012-06-08 Thread Simon MacDonald
My change has been reverted. The work got tied up in another commit of a bug I was fixing so sorry for pushing the code before getting a chance to talk it over. Simon Mac Donald http://hi.im/simonmacdonald On Fri, Jun 8, 2012 at 2:31 PM, Simon MacDonald wrote: > Okay, I'll pull it out.

Re: Cordova.js project on github not syncing

2012-06-12 Thread Simon MacDonald
Cordova-Android isn't syncing either. Looks like it is across the board. Simon Mac Donald http://hi.im/simonmacdonald On Tue, Jun 12, 2012 at 2:51 PM, Gord Tanner wrote: > Looks like it stopped syncing 11 days ago. > > -- > Gord Tanner > Senior Developer / Code Poet > tinyHippos Inc. > @tinyhip

Re: FileTransfer header support and options

2012-06-12 Thread Simon MacDonald
Yup, we need a refresh of all the API's. Media should turn into the Audio API IMHO. We should stop trying to shoe horn things into FileTransfer so using XHR2 instead seems like the way to go. Simon Mac Donald http://hi.im/simonmacdonald On Tue, Jun 12, 2012 at 6:48 PM, Filip Maj wrote: > Media

Re: Want to Contribute

2012-06-14 Thread Simon MacDonald
Read up on how to contribute here: https://incubator.apache.org/cordova/#contribute Simon Mac Donald http://hi.im/simonmacdonald On Thu, Jun 14, 2012 at 4:57 AM, charithsoori wrote: > Hi, > > I am very much interested in contributing to Apache through Corodova . > I went through Jira issue tra

Android Camera Woes

2012-06-15 Thread Simon MacDonald
Hey all, I've been looking into our Camera woes for the past couple of days. Regardless of the options we load the image into an Android Bitmap object. For a 5 MP camera at 2048x1536 the resulting size of the image in memory is 12 MB. So it is no wonder we get issues like https://issues.apache.org

Re: Android Camera Woes

2012-06-15 Thread Simon MacDonald
On Fri, Jun 15, 2012 at 5:33 PM, Filip Maj wrote: > I have a few suggestions, but maybe not all of them would impact the > problems you describe below: > > - get rid of DATA_URL. Canvas provides a built-in alternative to getting > this data if necessary. I think we should deprecate DATA_URL out o

Re: Android Camera Woes

2012-06-15 Thread Simon MacDonald
That sounds like a whole lot of not fun but it may come to that. Simon Mac Donald http://hi.im/simonmacdonald On Fri, Jun 15, 2012 at 5:32 PM, Tim Kim wrote: > Hey Simon, > > It's been awhile since I've been in Android/Java land so here goes. > > If anyone knows of some >> way to edit the image

Re: [Android] Plugin.ctx needs a rename

2012-06-18 Thread Simon MacDonald
Yeah, the "ctx" name does not make sense anymore. +1 to the rename. Simon Mac Donald http://hi.im/simonmacdonald On Mon, Jun 18, 2012 at 3:08 PM, Bryce Curtis wrote: > Makes sense - I'm fine with rename for 2.0.  We may want to introduce > "cordova" into 1.9 and keep "ctx" with deprecation noti

Re: [Android] MediaScanner branch

2012-06-20 Thread Simon MacDonald
Hey Fil, Try doing this: *int* result = *this*.cordova .getActivity().getContentResolver().delete(MediaStore.Images.Media.* EXTERNAL_CONTENT_URI*, MediaStore.Images.Media.*DATA* + " = ?", *new* String[] { filePath }); that should delete the image at filePath fro

Re: [Android] MediaScanner branch

2012-06-21 Thread Simon MacDonald
the gallery app > >>can't load it. Huh. > >> > >>That said I've just used the File class to delete it, not the > >>content-resolver-based delete. I'll try that, thanks Simon! > >> > >>Also now dealing with having the exi

Re: [Android] MediaScanner branch

2012-06-21 Thread Simon MacDonald
stions totally worked out! Exif > data is rewritten properly now and we no longer get the 0-byte length > files showing up in the gallery. > > I will merge it in shortly! > > Cheers! > > On 6/21/12 10:53 AM, "Simon MacDonald" wrote: > >>Hey Fil, >> >

Re: More issue gardening discussion: app root path

2012-06-22 Thread Simon MacDonald
We floated this idea out once upon a time. The best resource I could find on it was: https://groups.google.com/forum/?fromgroups#!searchin/phonegap-dev/Android$20media$20question/phonegap-dev/5_eneTcPBYg/nItMozwh8QoJ There are a number of practical concerns when it comes to implementing this howe

Re: More issue gardening discussion: app root path

2012-06-22 Thread Simon MacDonald
platforms? > > On 6/22/12 12:46 PM, "Simon MacDonald" wrote: > > >We floated this idea out once upon a time. The best resource I could find > >on it was: > > > > > https://groups.google.com/forum/?fromgroups#!searchin/phonegap-dev/Android > >

Re: More issue gardening discussion: app root path

2012-06-22 Thread Simon MacDonald
Yes, I meant "read" only. Simon Mac Donald http://hi.im/simonmacdonald On Fri, Jun 22, 2012 at 4:19 PM, Shazron Abdullah wrote: > I'm sure you meant read only. Yup iOS is read only. > > On 2012-06-22, at 12:57 PM, Simon MacDonald > wrote: > > > To the be

Re: Multitouch Support in Android WebView

2012-06-27 Thread Simon MacDonald
Yeah, this'd be great to get into 2.0. Simon Mac Donald http://hi.im/simonmacdonald On Tue, Jun 26, 2012 at 11:40 PM, Joe Bowser wrote: > Too late for a 1.9, could we get this into 2.0? > > Also, the Galaxy Nexus HAS Multitouch (It's live in ICS).  Can you > test on the Motorola RAZR that's in

Android Camera changes

2012-06-27 Thread Simon MacDonald
Hey all, I've been spending a lot of time in the Camera code recently trying to improve it in a number of ways. First off the way we were loading the entire image into a Bitmap (stored in memory) was causing some problems. For instance on my Samsung Galaxy Note a picture takes up 30 mb of memory w

Re: Android Camera changes

2012-06-27 Thread Simon MacDonald
6 PM, Filip Maj wrote: > Just cloned down and tested the various options. > > Works on a Galaxy Nexus running 4.0.4. > On a Nexus S running 2.3.6, all pictures taken are rotated 90 degrees.. > But I'm not sure if this was always the case or not.. > > > > On 6/27/12

Re: Android Camera changes

2012-06-27 Thread Simon MacDonald
an option like that? Is there a use case where you DON¹T > want that? > > On 6/27/12 1:28 PM, "Simon MacDonald" wrote: > >>Did you get latest code with the commit: >> >>"Wire rotation fix to correctOrientation parameter" >> >>If you did you

Re: Android Camera changes

2012-06-27 Thread Simon MacDonald
various options. >> >> Works on a Galaxy Nexus running 4.0.4. >> On a Nexus S running 2.3.6, all pictures taken are rotated 90 degrees.. >> But I'm not sure if this was always the case or not.. >> >> >> >> On 6/27/12 11:24 AM, "Simon MacDonald&

Re: [Android] DON'T UPGRADE YOUR TOOLS

2012-06-28 Thread Simon MacDonald
If you are like me and set your SDK to upgrade over night you can get around this issue for now if you add: renderscript.opt.level=O0 into your local.properties file. Then "ant jar" will work for you. Basically, these two new properties: are used to set: renderscript.opt.level

Re: [Android] DON'T UPGRADE YOUR TOOLS

2012-06-28 Thread Simon MacDonald
and that's what led me to the new properties. Simon Mac Donald http://hi.im/simonmacdonald On Thu, Jun 28, 2012 at 10:53 AM, Joe Bowser wrote: > OK, Where the hell did you find that? I've been stuck on this crap all > yesterday! > > On Thu, Jun 28, 2012 at 7:46 AM, Simon Ma

Re: Android Camera changes

2012-06-28 Thread Simon MacDonald
6, all pictures taken are rotated 90 degrees.. >> But I'm not sure if this was always the case or not.. >> >> >> >> On 6/27/12 11:24 AM, "Simon MacDonald" wrote: >> >>>Hey all, >>> >>>I've been spending a lot of time

Re: tag 1.9?

2012-06-29 Thread Simon MacDonald
I got nothing else in the hopper for 1.9.0 right now. Let's start tagging. Simon Mac Donald http://hi.im/simonmacdonald On Fri, Jun 29, 2012 at 12:25 PM, Filip Maj wrote: > We gonna do this? > >

Re: remove this dude who keeps bouncing mails

2012-06-29 Thread Simon MacDonald
I asked Jukka about this yesterday and he sent an unsubscribe message to the mail daemon. Simon Mac Donald http://hi.im/simonmacdonald On Fri, Jun 29, 2012 at 12:41 PM, Filip Maj wrote: > Can we somehow remove this Andre Frick dude that signed up to the mailing > list? Every mail I send out I

Re: tag 1.9?

2012-06-29 Thread Simon MacDonald
> >However, it can be pushed 2.0.0 and added to 1.9.0 docs when written. I > >say > >tag and release. > > > >Hopper is a great word choice for 9am. mmm... fresh coffee. > > > >https://issues.apache.org/jira/browse/CB-967 > > > >On Fri, Ju

Re: tag 1.9?

2012-06-29 Thread Simon MacDonald
may have occurred a > long time in the past. Is this really the desired behavior? > > On Fri, Jun 29, 2012 at 12:20 PM, Filip Maj wrote: > > Btw docs are ready to tag > > > > On 6/29/12 10:09 AM, "Simon MacDonald" > wrote: > > > >>S

Re: tag 1.9?

2012-06-29 Thread Simon MacDonald
havior is (Note change in #5): > >>> > >>>1. Add handler1 event listener for menu button > >>>2. Press menu button > >>>3. handler1 called > >>>4. Add handler2 event listener for menu button > >>>5. handler2 called >

Re: tag 1.9?

2012-06-29 Thread Simon MacDonald
g that's > causing the history to be added twice with native history. We should > have that default to false for now. > > Joe > > On Fri, Jun 29, 2012 at 11:38 AM, Simon MacDonald > wrote: > > Yeah, if userBrowserHistory is set to false everything works like

Re: tag 1.9?

2012-06-29 Thread Simon MacDonald
Make sense? Simon Mac Donald http://hi.im/simonmacdonald On Fri, Jun 29, 2012 at 2:49 PM, Joe Bowser wrote: > The property should be set in the cordova.xml file that's in the repo > though? > > On Fri, Jun 29, 2012 at 11:45 AM, Simon MacDonald > wrote: > >

Re: tag 1.9?

2012-06-29 Thread Simon MacDonald
ing in for the use case of people not > reading them. > > On Fri, Jun 29, 2012 at 11:59 AM, Simon MacDonald > wrote: > > Yeah meng but not everyone pulls that file into their repo if they > haven't > > put the lastest cordova.xml into their project they'll get

Re: Vote: Apache Cordova 1.9.0 release vote

2012-06-30 Thread Simon MacDonald
Hey Steve, Do we need to put the source in for incubator-cordova-js? Obviously, each sub repo has their own platform specific version of the .js checked in. Problems with the src.zip for Android: 1) guides/Cordova Upgrade Guide.md is not up to date. 2) releasenotes.md is not up to date. 3) frame

  1   2   3   4   5   6   7   8   9   >