Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E020094DA for ; Wed, 11 Apr 2012 14:55:24 +0000 (UTC) Received: (qmail 53677 invoked by uid 500); 11 Apr 2012 14:55:24 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 53651 invoked by uid 500); 11 Apr 2012 14:55:24 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 53643 invoked by uid 99); 11 Apr 2012 14:55:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Apr 2012 14:55:24 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of purdrew@gmail.com designates 209.85.214.47 as permitted sender) Received: from [209.85.214.47] (HELO mail-bk0-f47.google.com) (209.85.214.47) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Apr 2012 14:55:18 +0000 Received: by bkcjg15 with SMTP id jg15so840206bkc.6 for ; Wed, 11 Apr 2012 07:54:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=LiX2ZJBgzU0rmV8P/Fpx1oehzD4hs8OGbJ3W6Stz6vs=; b=dMvxLb3D92YEFEDxVr5jaxm5ewDPAEkVCWDKGlJP6i9fmRCiQNC+AwLqDTvoLQLI8P 1LUoOMzJ/2EcJPgo+eIIvw86D047rVLa8tUmm08g8aBMhTVKm0AKO0/6XsKDFWQux25B ivLgAovbilAUPDeOUNrVrAT5eHGxN3cWS2UdgVETvPgPTyHqNg8Y7S8Ln8LdR1KQEP3k JmtcvdSe7FESgYo3g6sK9Xq2m+X7JIwYcD1mT9OQWWJ+Po2CcT+dnhzTvsiJ9FeMl8wv HdIe4ayKja1KWRkPmu6aUnIEHPG1bkoBaoVvZLyTBYnvZQw5XLzdoLdxk/IuL0Cx//Cl oKxg== Received: by 10.204.156.146 with SMTP id x18mr5960732bkw.138.1334156098350; Wed, 11 Apr 2012 07:54:58 -0700 (PDT) MIME-Version: 1.0 Sender: purdrew@gmail.com Received: by 10.205.136.212 with HTTP; Wed, 11 Apr 2012 07:54:38 -0700 (PDT) In-Reply-To: <4F859067.8020404@googlemail.com> References: <4F857E2C.3080505@googlemail.com> <4F859067.8020404@googlemail.com> From: Drew Walters Date: Wed, 11 Apr 2012 09:54:38 -0500 X-Google-Sender-Auth: Wq1H6LmidZK1oWibLxhQRIIiNHM Message-ID: Subject: Re: Playbook cordova-js testing To: Ronny Mennerich Cc: callback-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable As you've noticed we haven't implemented FileTransfer API on Cordova for Playbook yet. To be honest, I haven't tried what you are doing on Playbook so don't have experience with it. You might try searching/posting in the WebWorks forum: http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/bd-p/br= owser_dev On Wed, Apr 11, 2012 at 9:08 AM, Ronny Mennerich wrote: > Drew, thx. At this time, is it possible to use the FileTransfer on Playbo= ok? > I tried to implement a JS version for Playbook using a XHR request to get > the blob + blackberry.io.file.saveFile, but it seems to not work when > storing the xhr.response blob. At this time this is the main API I need t= o > get working on the Playbook, since it is working well for me on iOS+Andro= id > but not yet on Playbook. > > Drew Walters schrieb: > >> Ronny, the sample index.html file included in the sample project was >> written for the smartphone implementation and contains additional API >> which are not yet available on Cordova for Playbook. =A0If you take the >> sample index.html and strip it down to only contain the API's >> implemented on Cordova for Playbook (Battery, Camera, Device, Media, >> Capture, NetworkStatus, Notification) then it should work. >> >> In the future we'll have a sample that works on both platforms. >> >> On Wed, Apr 11, 2012 at 7:50 AM, Ronny Mennerich >> wrote: >> >>> >>> Hi. >>> >>> I would like to get it working with the latest version of Cordova for >>> Playbook (Sim+Device). Right now I tried to get the 1.5 sample working >>> building it with ant, but it seems to not work. Seems the .jar/Java par= t >>> of >>> Phonegap 1.5 is missing and the app throws an error on the device or in >>> the >>> simulator "file system error: ClassFile cannot be found". >>> >>> Would like to be part in this discussion to work with the Cordova APIs >>> for >>> Playbook. >>> >>> Ronny >>> >>> >>> Drew Walters schrieb: >>> >>> Yeah, benefit of all the stubbed out API in cordova-js which weren't >>> there in 1.5 BlackBerry implementation. =A0Whether the implemented API >>> actually work is the real question :-) >>> >>> On Thu, Mar 22, 2012 at 12:58 PM, Gord Tanner >>> wrote: >>> >>> >>> Current Status on PlayBook for cordova.js >>> >>> 1.5: 306 of 530 tests passed >>> cordova-js: 356 of 551 tests passed. >>> >>> Interesting that we have more passing but things >>> like navigator.device.capture is not working in cordova-js. >>> >>> Gord >>> >>> On Wed, Mar 21, 2012 at 4:34 PM, Drew Walters wrot= e: >>> >>> >>> >>> Also, not sure if its helpful, but I did notice that the battery API >>> implementation was missing for Playbook and the wrong service name was >>> being used for Capture so I mocked up those changes: >>> >>> >>> >>> https://github.com/deedubbu/incubator-cordova-js/commit/4d5d1afc89cfcc0= 2732b59d728b06f18978656f4 >>> >>> Of course, have not been able to test them. >>> >>> On Wed, Mar 21, 2012 at 3:26 PM, Drew Walters wrot= e: >>> >>> >>> Thanks guys. =A0Much appreciated, now I can stop banging my head agains= t >>> the desk for a little while. All my updates to cordova-js are in >>> master. =A0For native side, my changes are in this branch in my fork: >>> >>> >>> >>> >>> >>> https://github.com/deedubbu/incubator-cordova-blackberry-webworks/tree/= cordova-js >>> >>> >>> Only thing relevant for playbook in that branch is the changes to the >>> build script. =A0So, no real need to clone my branch to test playbook i= f >>> you just build cordova.playbook.js from cordova-js. >>> >>> On Wed, Mar 21, 2012 at 2:44 PM, Filip Maj wrote: >>> >>> >>> Beat me to it Gord ;P >>> >>> On 3/21/12 12:43 PM, "Filip Maj" wrote: >>> >>> >>> >>> That is awesome, nice work Drew! >>> >>> I've got a PB and so does Tim, between the two of us we should be able >>> >>> >>> to >>> >>> >>> run through everything. That being said there are still missing APIs fo= r >>> Playbook in its current implementation as far as I know: File being the >>> big one. >>> >>> Mayhaps someone from RIM can help out as well? /hint hint nudge nudge >>> >>> On 3/21/12 12:39 PM, "Drew Walters" wrote: >>> >>> >>> >>> I've completed my testing of cordova-js with the BlackBerry platform >>> (smartphone only) and am happy enough with its state that I'd like to >>> switch the repo over to using cordova-js. =A0Problem is, the >>> blackberry-webworks repo also contains the Playbook code. =A0The >>> Playbook simulators (v1.0 and v2.0) have been giving me fits for the >>> past day which makes it frustrating/impossible to debug. =A0I do not >>> have an actual Playbook device to test with. =A0Is there someone else >>> that can grab the latest cordova-js for Playbook and test it >>> out/debug? >>> >>> >>> -- >>> Gord Tanner >>> Senior Developer / Code Poet >>> tinyHippos Inc. >>> @tinyhippos >>> >>> >>> >>> >>> >>> > >