You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by Drew Walters <de...@gmail.com> on 2012/03/21 20:39:23 UTC
Playbook cordova-js testing
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. Problem is, the
blackberry-webworks repo also contains the Playbook code. The
Playbook simulators (v1.0 and v2.0) have been giving me fits for the
past day which makes it frustrating/impossible to debug. I do not
have an actual Playbook device to test with. Is there someone else
that can grab the latest cordova-js for Playbook and test it
out/debug?
Re: Playbook cordova-js testing
Posted by Ken Wallis <kw...@rim.com>.
Hmm, we'll try and reproduce on our end and see what we find.
----- Original Message -----
From: Ronny Mennerich [mailto:ronny.mennerich@googlemail.com]
Sent: Friday, April 13, 2012 05:43 AM
To: callback-dev@incubator.apache.org <ca...@incubator.apache.org>
Subject: Re: Playbook cordova-js testing
BTW: it seems OS 2.0.0.7971 has a bug with
blackberry.system.hasDataCoverage() functionality since it in every case
throws a true and not false if I disconnect from Wifi network. Also
tested with Cordova and it always returns me "wifi" as result for
"navigator.network.connection.type".
Also the online/offline events are not working well since it seems
always to stay in "online" mode.
When putting Wifi connection offline I get an Error in WebInspector
console with the following result:
["ReferenceError: Can't find variable: item", "local:///index.html", 1]
I do not know what is going on with the app and if this is kind of my
error or a bug in OS 2.0.0.7971?
Ken Wallis schrieb:
> Great, thanks Ronny. I'll take a look at the readme.
>
> ----- Original Message -----
> From: Ronny Mennerich [mailto:ronny.mennerich@googlemail.com]
> Sent: Wednesday, April 11, 2012 03:20 PM
> To: callback-dev@incubator.apache.org <ca...@incubator.apache.org>
> Subject: Re: Playbook cordova-js testing
>
> Ken. Thx very much for pointing to this reference. It is working really
> well for the first test. Needed to change some lines since the example
> on the github documentation page isn't quite well.
> For example:
>
> |d.downloadFile(...)|
>
> needs to be
>
> |d.download(...)|
>
>
> ---
>
> Ronny
>
>
> Ken Wallis schrieb:
>
>> We had the beginnings of a Community API for WebWorks for upload/download for PlayBook, here:
>>
>> https://github.com/blackberry/WebWorks-Community-APIs/tree/master/Tablet/UploadDownload
>>
>> Not sure just how complete it is, but it could form the basis for an implementation.
>>
>> --
>>
>> Ken Wallis
>>
>> Product Manager – BlackBerry WebWorks
>>
>> Research In Motion
>>
>> (905) 629-4746 x14369
>>
>> ________________________________________
>> From: purdrew@gmail.com [purdrew@gmail.com] on behalf of Drew Walters [deedubbu@gmail.com]
>> Sent: Wednesday, April 11, 2012 10:54 AM
>> To: Ronny Mennerich
>> Cc: callback-dev@incubator.apache.org
>> Subject: Re: Playbook cordova-js testing
>>
>> 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/browser_dev
>>
>> On Wed, Apr 11, 2012 at 9:08 AM, Ronny Mennerich
>> <ro...@googlemail.com> wrote:
>>
>>
>>> Drew, thx. At this time, is it possible to use the FileTransfer on Playbook?
>>> 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 to
>>> get working on the Playbook, since it is working well for me on iOS+Android
>>> 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. If 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
>>>> <ro...@googlemail.com> 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 part
>>>>> 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. Whether the implemented API
>>>>> actually work is the real question :-)
>>>>>
>>>>> On Thu, Mar 22, 2012 at 12:58 PM, Gord Tanner <go...@tinyhippos.com>
>>>>> 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 <de...@gmail.com> wrote:
>>>>>
>>>>>
>>>>>
>>>>> 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/4d5d1afc89cfcc02732b59d728b06f18978656f4
>>>>>
>>>>> Of course, have not been able to test them.
>>>>>
>>>>> On Wed, Mar 21, 2012 at 3:26 PM, Drew Walters <de...@gmail.com> wrote:
>>>>>
>>>>>
>>>>> Thanks guys. Much appreciated, now I can stop banging my head against
>>>>> the desk for a little while. All my updates to cordova-js are in
>>>>> master. For 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. So, no real need to clone my branch to test playbook if
>>>>> you just build cordova.playbook.js from cordova-js.
>>>>>
>>>>> On Wed, Mar 21, 2012 at 2:44 PM, Filip Maj <fi...@adobe.com> wrote:
>>>>>
>>>>>
>>>>> Beat me to it Gord ;P
>>>>>
>>>>> On 3/21/12 12:43 PM, "Filip Maj" <fi...@adobe.com> 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 for
>>>>> 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" <de...@gmail.com> 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. Problem is, the
>>>>> blackberry-webworks repo also contains the Playbook code. The
>>>>> Playbook simulators (v1.0 and v2.0) have been giving me fits for the
>>>>> past day which makes it frustrating/impossible to debug. I do not
>>>>> have an actual Playbook device to test with. Is 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
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>
>>>
>> ---------------------------------------------------------------------
>> This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
>>
>>
>
>
> ---------------------------------------------------------------------
> This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
>
---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
Re: Playbook cordova-js testing
Posted by Ronny Mennerich <ro...@googlemail.com>.
BTW: it seems OS 2.0.0.7971 has a bug with
blackberry.system.hasDataCoverage() functionality since it in every case
throws a true and not false if I disconnect from Wifi network. Also
tested with Cordova and it always returns me "wifi" as result for
"navigator.network.connection.type".
Also the online/offline events are not working well since it seems
always to stay in "online" mode.
When putting Wifi connection offline I get an Error in WebInspector
console with the following result:
["ReferenceError: Can't find variable: item", "local:///index.html", 1]
I do not know what is going on with the app and if this is kind of my
error or a bug in OS 2.0.0.7971?
Ken Wallis schrieb:
> Great, thanks Ronny. I'll take a look at the readme.
>
> ----- Original Message -----
> From: Ronny Mennerich [mailto:ronny.mennerich@googlemail.com]
> Sent: Wednesday, April 11, 2012 03:20 PM
> To: callback-dev@incubator.apache.org <ca...@incubator.apache.org>
> Subject: Re: Playbook cordova-js testing
>
> Ken. Thx very much for pointing to this reference. It is working really
> well for the first test. Needed to change some lines since the example
> on the github documentation page isn't quite well.
> For example:
>
> |d.downloadFile(...)|
>
> needs to be
>
> |d.download(...)|
>
>
> ---
>
> Ronny
>
>
> Ken Wallis schrieb:
>
>> We had the beginnings of a Community API for WebWorks for upload/download for PlayBook, here:
>>
>> https://github.com/blackberry/WebWorks-Community-APIs/tree/master/Tablet/UploadDownload
>>
>> Not sure just how complete it is, but it could form the basis for an implementation.
>>
>> --
>>
>> Ken Wallis
>>
>> Product Manager – BlackBerry WebWorks
>>
>> Research In Motion
>>
>> (905) 629-4746 x14369
>>
>> ________________________________________
>> From: purdrew@gmail.com [purdrew@gmail.com] on behalf of Drew Walters [deedubbu@gmail.com]
>> Sent: Wednesday, April 11, 2012 10:54 AM
>> To: Ronny Mennerich
>> Cc: callback-dev@incubator.apache.org
>> Subject: Re: Playbook cordova-js testing
>>
>> 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/browser_dev
>>
>> On Wed, Apr 11, 2012 at 9:08 AM, Ronny Mennerich
>> <ro...@googlemail.com> wrote:
>>
>>
>>> Drew, thx. At this time, is it possible to use the FileTransfer on Playbook?
>>> 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 to
>>> get working on the Playbook, since it is working well for me on iOS+Android
>>> 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. If 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
>>>> <ro...@googlemail.com> 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 part
>>>>> 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. Whether the implemented API
>>>>> actually work is the real question :-)
>>>>>
>>>>> On Thu, Mar 22, 2012 at 12:58 PM, Gord Tanner <go...@tinyhippos.com>
>>>>> 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 <de...@gmail.com> wrote:
>>>>>
>>>>>
>>>>>
>>>>> 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/4d5d1afc89cfcc02732b59d728b06f18978656f4
>>>>>
>>>>> Of course, have not been able to test them.
>>>>>
>>>>> On Wed, Mar 21, 2012 at 3:26 PM, Drew Walters <de...@gmail.com> wrote:
>>>>>
>>>>>
>>>>> Thanks guys. Much appreciated, now I can stop banging my head against
>>>>> the desk for a little while. All my updates to cordova-js are in
>>>>> master. For 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. So, no real need to clone my branch to test playbook if
>>>>> you just build cordova.playbook.js from cordova-js.
>>>>>
>>>>> On Wed, Mar 21, 2012 at 2:44 PM, Filip Maj <fi...@adobe.com> wrote:
>>>>>
>>>>>
>>>>> Beat me to it Gord ;P
>>>>>
>>>>> On 3/21/12 12:43 PM, "Filip Maj" <fi...@adobe.com> 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 for
>>>>> 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" <de...@gmail.com> 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. Problem is, the
>>>>> blackberry-webworks repo also contains the Playbook code. The
>>>>> Playbook simulators (v1.0 and v2.0) have been giving me fits for the
>>>>> past day which makes it frustrating/impossible to debug. I do not
>>>>> have an actual Playbook device to test with. Is 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
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>
>>>
>> ---------------------------------------------------------------------
>> This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
>>
>>
>
>
> ---------------------------------------------------------------------
> This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
>
Re: Playbook cordova-js testing
Posted by Ken Wallis <kw...@rim.com>.
Great, thanks Ronny. I'll take a look at the readme.
----- Original Message -----
From: Ronny Mennerich [mailto:ronny.mennerich@googlemail.com]
Sent: Wednesday, April 11, 2012 03:20 PM
To: callback-dev@incubator.apache.org <ca...@incubator.apache.org>
Subject: Re: Playbook cordova-js testing
Ken. Thx very much for pointing to this reference. It is working really
well for the first test. Needed to change some lines since the example
on the github documentation page isn't quite well.
For example:
|d.downloadFile(...)|
needs to be
|d.download(...)|
---
Ronny
Ken Wallis schrieb:
> We had the beginnings of a Community API for WebWorks for upload/download for PlayBook, here:
>
> https://github.com/blackberry/WebWorks-Community-APIs/tree/master/Tablet/UploadDownload
>
> Not sure just how complete it is, but it could form the basis for an implementation.
>
> --
>
> Ken Wallis
>
> Product Manager – BlackBerry WebWorks
>
> Research In Motion
>
> (905) 629-4746 x14369
>
> ________________________________________
> From: purdrew@gmail.com [purdrew@gmail.com] on behalf of Drew Walters [deedubbu@gmail.com]
> Sent: Wednesday, April 11, 2012 10:54 AM
> To: Ronny Mennerich
> Cc: callback-dev@incubator.apache.org
> Subject: Re: Playbook cordova-js testing
>
> 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/browser_dev
>
> On Wed, Apr 11, 2012 at 9:08 AM, Ronny Mennerich
> <ro...@googlemail.com> wrote:
>
>> Drew, thx. At this time, is it possible to use the FileTransfer on Playbook?
>> 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 to
>> get working on the Playbook, since it is working well for me on iOS+Android
>> 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. If 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
>>> <ro...@googlemail.com> 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 part
>>>> 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. Whether the implemented API
>>>> actually work is the real question :-)
>>>>
>>>> On Thu, Mar 22, 2012 at 12:58 PM, Gord Tanner <go...@tinyhippos.com>
>>>> 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 <de...@gmail.com> wrote:
>>>>
>>>>
>>>>
>>>> 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/4d5d1afc89cfcc02732b59d728b06f18978656f4
>>>>
>>>> Of course, have not been able to test them.
>>>>
>>>> On Wed, Mar 21, 2012 at 3:26 PM, Drew Walters <de...@gmail.com> wrote:
>>>>
>>>>
>>>> Thanks guys. Much appreciated, now I can stop banging my head against
>>>> the desk for a little while. All my updates to cordova-js are in
>>>> master. For 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. So, no real need to clone my branch to test playbook if
>>>> you just build cordova.playbook.js from cordova-js.
>>>>
>>>> On Wed, Mar 21, 2012 at 2:44 PM, Filip Maj <fi...@adobe.com> wrote:
>>>>
>>>>
>>>> Beat me to it Gord ;P
>>>>
>>>> On 3/21/12 12:43 PM, "Filip Maj" <fi...@adobe.com> 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 for
>>>> 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" <de...@gmail.com> 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. Problem is, the
>>>> blackberry-webworks repo also contains the Playbook code. The
>>>> Playbook simulators (v1.0 and v2.0) have been giving me fits for the
>>>> past day which makes it frustrating/impossible to debug. I do not
>>>> have an actual Playbook device to test with. Is 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
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>
>
> ---------------------------------------------------------------------
> This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
>
---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
Re: Playbook cordova-js testing
Posted by Ronny Mennerich <ro...@googlemail.com>.
Ken. Thx very much for pointing to this reference. It is working really
well for the first test. Needed to change some lines since the example
on the github documentation page isn't quite well.
For example:
|d.downloadFile(...)|
needs to be
|d.download(...)|
---
Ronny
Ken Wallis schrieb:
> We had the beginnings of a Community API for WebWorks for upload/download for PlayBook, here:
>
> https://github.com/blackberry/WebWorks-Community-APIs/tree/master/Tablet/UploadDownload
>
> Not sure just how complete it is, but it could form the basis for an implementation.
>
> --
>
> Ken Wallis
>
> Product Manager – BlackBerry WebWorks
>
> Research In Motion
>
> (905) 629-4746 x14369
>
> ________________________________________
> From: purdrew@gmail.com [purdrew@gmail.com] on behalf of Drew Walters [deedubbu@gmail.com]
> Sent: Wednesday, April 11, 2012 10:54 AM
> To: Ronny Mennerich
> Cc: callback-dev@incubator.apache.org
> Subject: Re: Playbook cordova-js testing
>
> 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/browser_dev
>
> On Wed, Apr 11, 2012 at 9:08 AM, Ronny Mennerich
> <ro...@googlemail.com> wrote:
>
>> Drew, thx. At this time, is it possible to use the FileTransfer on Playbook?
>> 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 to
>> get working on the Playbook, since it is working well for me on iOS+Android
>> 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. If 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
>>> <ro...@googlemail.com> 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 part
>>>> 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. Whether the implemented API
>>>> actually work is the real question :-)
>>>>
>>>> On Thu, Mar 22, 2012 at 12:58 PM, Gord Tanner <go...@tinyhippos.com>
>>>> 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 <de...@gmail.com> wrote:
>>>>
>>>>
>>>>
>>>> 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/4d5d1afc89cfcc02732b59d728b06f18978656f4
>>>>
>>>> Of course, have not been able to test them.
>>>>
>>>> On Wed, Mar 21, 2012 at 3:26 PM, Drew Walters <de...@gmail.com> wrote:
>>>>
>>>>
>>>> Thanks guys. Much appreciated, now I can stop banging my head against
>>>> the desk for a little while. All my updates to cordova-js are in
>>>> master. For 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. So, no real need to clone my branch to test playbook if
>>>> you just build cordova.playbook.js from cordova-js.
>>>>
>>>> On Wed, Mar 21, 2012 at 2:44 PM, Filip Maj <fi...@adobe.com> wrote:
>>>>
>>>>
>>>> Beat me to it Gord ;P
>>>>
>>>> On 3/21/12 12:43 PM, "Filip Maj" <fi...@adobe.com> 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 for
>>>> 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" <de...@gmail.com> 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. Problem is, the
>>>> blackberry-webworks repo also contains the Playbook code. The
>>>> Playbook simulators (v1.0 and v2.0) have been giving me fits for the
>>>> past day which makes it frustrating/impossible to debug. I do not
>>>> have an actual Playbook device to test with. Is 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
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>
>
> ---------------------------------------------------------------------
> This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
>
RE: Playbook cordova-js testing
Posted by Ken Wallis <kw...@rim.com>.
We had the beginnings of a Community API for WebWorks for upload/download for PlayBook, here:
https://github.com/blackberry/WebWorks-Community-APIs/tree/master/Tablet/UploadDownload
Not sure just how complete it is, but it could form the basis for an implementation.
--
Ken Wallis
Product Manager – BlackBerry WebWorks
Research In Motion
(905) 629-4746 x14369
________________________________________
From: purdrew@gmail.com [purdrew@gmail.com] on behalf of Drew Walters [deedubbu@gmail.com]
Sent: Wednesday, April 11, 2012 10:54 AM
To: Ronny Mennerich
Cc: callback-dev@incubator.apache.org
Subject: Re: Playbook cordova-js testing
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/browser_dev
On Wed, Apr 11, 2012 at 9:08 AM, Ronny Mennerich
<ro...@googlemail.com> wrote:
> Drew, thx. At this time, is it possible to use the FileTransfer on Playbook?
> 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 to
> get working on the Playbook, since it is working well for me on iOS+Android
> 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. If 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
>> <ro...@googlemail.com> 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 part
>>> 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. Whether the implemented API
>>> actually work is the real question :-)
>>>
>>> On Thu, Mar 22, 2012 at 12:58 PM, Gord Tanner <go...@tinyhippos.com>
>>> 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 <de...@gmail.com> wrote:
>>>
>>>
>>>
>>> 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/4d5d1afc89cfcc02732b59d728b06f18978656f4
>>>
>>> Of course, have not been able to test them.
>>>
>>> On Wed, Mar 21, 2012 at 3:26 PM, Drew Walters <de...@gmail.com> wrote:
>>>
>>>
>>> Thanks guys. Much appreciated, now I can stop banging my head against
>>> the desk for a little while. All my updates to cordova-js are in
>>> master. For 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. So, no real need to clone my branch to test playbook if
>>> you just build cordova.playbook.js from cordova-js.
>>>
>>> On Wed, Mar 21, 2012 at 2:44 PM, Filip Maj <fi...@adobe.com> wrote:
>>>
>>>
>>> Beat me to it Gord ;P
>>>
>>> On 3/21/12 12:43 PM, "Filip Maj" <fi...@adobe.com> 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 for
>>> 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" <de...@gmail.com> 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. Problem is, the
>>> blackberry-webworks repo also contains the Playbook code. The
>>> Playbook simulators (v1.0 and v2.0) have been giving me fits for the
>>> past day which makes it frustrating/impossible to debug. I do not
>>> have an actual Playbook device to test with. Is 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
>>>
>>>
>>>
>>>
>>>
>>>
>
>
---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
Re: Playbook cordova-js testing
Posted by Drew Walters <de...@gmail.com>.
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/browser_dev
On Wed, Apr 11, 2012 at 9:08 AM, Ronny Mennerich
<ro...@googlemail.com> wrote:
> Drew, thx. At this time, is it possible to use the FileTransfer on Playbook?
> 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 to
> get working on the Playbook, since it is working well for me on iOS+Android
> 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. If 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
>> <ro...@googlemail.com> 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 part
>>> 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. Whether the implemented API
>>> actually work is the real question :-)
>>>
>>> On Thu, Mar 22, 2012 at 12:58 PM, Gord Tanner <go...@tinyhippos.com>
>>> 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 <de...@gmail.com> wrote:
>>>
>>>
>>>
>>> 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/4d5d1afc89cfcc02732b59d728b06f18978656f4
>>>
>>> Of course, have not been able to test them.
>>>
>>> On Wed, Mar 21, 2012 at 3:26 PM, Drew Walters <de...@gmail.com> wrote:
>>>
>>>
>>> Thanks guys. Much appreciated, now I can stop banging my head against
>>> the desk for a little while. All my updates to cordova-js are in
>>> master. For 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. So, no real need to clone my branch to test playbook if
>>> you just build cordova.playbook.js from cordova-js.
>>>
>>> On Wed, Mar 21, 2012 at 2:44 PM, Filip Maj <fi...@adobe.com> wrote:
>>>
>>>
>>> Beat me to it Gord ;P
>>>
>>> On 3/21/12 12:43 PM, "Filip Maj" <fi...@adobe.com> 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 for
>>> 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" <de...@gmail.com> 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. Problem is, the
>>> blackberry-webworks repo also contains the Playbook code. The
>>> Playbook simulators (v1.0 and v2.0) have been giving me fits for the
>>> past day which makes it frustrating/impossible to debug. I do not
>>> have an actual Playbook device to test with. Is 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
>>>
>>>
>>>
>>>
>>>
>>>
>
>
Re: Playbook cordova-js testing
Posted by Ronny Mennerich <ro...@googlemail.com>.
Drew, thx. At this time, is it possible to use the FileTransfer on
Playbook? 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 to get working on the Playbook, since it is working well
for me on iOS+Android 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. If 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
> <ro...@googlemail.com> 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 part 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. Whether the implemented API
>> actually work is the real question :-)
>>
>> On Thu, Mar 22, 2012 at 12:58 PM, Gord Tanner <go...@tinyhippos.com> 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 <de...@gmail.com> wrote:
>>
>>
>>
>> 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/4d5d1afc89cfcc02732b59d728b06f18978656f4
>>
>> Of course, have not been able to test them.
>>
>> On Wed, Mar 21, 2012 at 3:26 PM, Drew Walters <de...@gmail.com> wrote:
>>
>>
>> Thanks guys. Much appreciated, now I can stop banging my head against
>> the desk for a little while. All my updates to cordova-js are in
>> master. For 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. So, no real need to clone my branch to test playbook if
>> you just build cordova.playbook.js from cordova-js.
>>
>> On Wed, Mar 21, 2012 at 2:44 PM, Filip Maj <fi...@adobe.com> wrote:
>>
>>
>> Beat me to it Gord ;P
>>
>> On 3/21/12 12:43 PM, "Filip Maj" <fi...@adobe.com> 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 for
>> 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" <de...@gmail.com> 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. Problem is, the
>> blackberry-webworks repo also contains the Playbook code. The
>> Playbook simulators (v1.0 and v2.0) have been giving me fits for the
>> past day which makes it frustrating/impossible to debug. I do not
>> have an actual Playbook device to test with. Is 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
>>
>>
>>
>>
>>
>>
Re: Re: Playbook cordova-js testing
Posted by Drew Walters <de...@gmail.com>.
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. If 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
<ro...@googlemail.com> 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 part 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. Whether the implemented API
> actually work is the real question :-)
>
> On Thu, Mar 22, 2012 at 12:58 PM, Gord Tanner <go...@tinyhippos.com> 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 <de...@gmail.com> wrote:
>
>
>
> 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/4d5d1afc89cfcc02732b59d728b06f18978656f4
>
> Of course, have not been able to test them.
>
> On Wed, Mar 21, 2012 at 3:26 PM, Drew Walters <de...@gmail.com> wrote:
>
>
> Thanks guys. Much appreciated, now I can stop banging my head against
> the desk for a little while. All my updates to cordova-js are in
> master. For 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. So, no real need to clone my branch to test playbook if
> you just build cordova.playbook.js from cordova-js.
>
> On Wed, Mar 21, 2012 at 2:44 PM, Filip Maj <fi...@adobe.com> wrote:
>
>
> Beat me to it Gord ;P
>
> On 3/21/12 12:43 PM, "Filip Maj" <fi...@adobe.com> 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 for
> 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" <de...@gmail.com> 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. Problem is, the
> blackberry-webworks repo also contains the Playbook code. The
> Playbook simulators (v1.0 and v2.0) have been giving me fits for the
> past day which makes it frustrating/impossible to debug. I do not
> have an actual Playbook device to test with. Is 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
>
>
>
>
>
Re: Re: Playbook cordova-js testing
Posted by Ronny Mennerich <ro...@googlemail.com>.
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 part
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. Whether the implemented API
> actually work is the real question :-)
>
> On Thu, Mar 22, 2012 at 12:58 PM, Gord Tanner <go...@tinyhippos.com> 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 <de...@gmail.com> wrote:
>>
>>
>>> 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/4d5d1afc89cfcc02732b59d728b06f18978656f4
>>>
>>> Of course, have not been able to test them.
>>>
>>> On Wed, Mar 21, 2012 at 3:26 PM, Drew Walters <de...@gmail.com> wrote:
>>>
>>>> Thanks guys. Much appreciated, now I can stop banging my head against
>>>> the desk for a little while. All my updates to cordova-js are in
>>>> master. For 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. So, no real need to clone my branch to test playbook if
>>>> you just build cordova.playbook.js from cordova-js.
>>>>
>>>> On Wed, Mar 21, 2012 at 2:44 PM, Filip Maj <fi...@adobe.com> wrote:
>>>>
>>>>> Beat me to it Gord ;P
>>>>>
>>>>> On 3/21/12 12:43 PM, "Filip Maj" <fi...@adobe.com> 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 for
>>>>>> 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" <de...@gmail.com> 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. Problem is, the
>>>>>>> blackberry-webworks repo also contains the Playbook code. The
>>>>>>> Playbook simulators (v1.0 and v2.0) have been giving me fits for the
>>>>>>> past day which makes it frustrating/impossible to debug. I do not
>>>>>>> have an actual Playbook device to test with. Is 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
>>
>
>
Re: Playbook cordova-js testing
Posted by gt...@gmail.com.
Loading it on the playbook as we speak.
My event went late last night so gonna hack on this today
Sent on the TELUS Mobility network with BlackBerry
-----Original Message-----
From: Drew Walters <de...@gmail.com>
Date: Tue, 27 Mar 2012 09:32:42
To: <ca...@incubator.apache.org>; <gt...@gmail.com>
Subject: Re: Playbook cordova-js testing
Gord, any update on the status of Playbook?
On Thu, Mar 22, 2012 at 2:07 PM, <gt...@gmail.com> wrote:
> Also: tested the battery events on the playbook and they are working fine!
>
> I would like to get this into master before the reorg happens.
> Sent on the TELUS Mobility network with BlackBerry
>
> -----Original Message-----
> From: Drew Walters <de...@gmail.com>
> Sender: purdrew@gmail.com
> Date: Thu, 22 Mar 2012 13:49:40
> To: <ca...@incubator.apache.org>
> Reply-To: callback-dev@incubator.apache.org
> Subject: Re: Playbook cordova-js testing
>
> Yeah, benefit of all the stubbed out API in cordova-js which weren't
> there in 1.5 BlackBerry implementation. Whether the implemented API
> actually work is the real question :-)
>
> On Thu, Mar 22, 2012 at 12:58 PM, Gord Tanner <go...@tinyhippos.com> 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 <de...@gmail.com>
> wrote:
> >
> >> 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/4d5d1afc89cfcc02732b59d728b06f18978656f4
> >>
> >> Of course, have not been able to test them.
> >>
> >> On Wed, Mar 21, 2012 at 3:26 PM, Drew Walters <de...@gmail.com>
> wrote:
> >> > Thanks guys. Much appreciated, now I can stop banging my head against
> >> > the desk for a little while. All my updates to cordova-js are in
> >> > master. For 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. So, no real need to clone my branch to test playbook if
> >> > you just build cordova.playbook.js from cordova-js.
> >> >
> >> > On Wed, Mar 21, 2012 at 2:44 PM, Filip Maj <fi...@adobe.com> wrote:
> >> >> Beat me to it Gord ;P
> >> >>
> >> >> On 3/21/12 12:43 PM, "Filip Maj" <fi...@adobe.com> 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
> for
> >> >>>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" <de...@gmail.com> 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. Problem is, the
> >> >>>>blackberry-webworks repo also contains the Playbook code. The
> >> >>>>Playbook simulators (v1.0 and v2.0) have been giving me fits for the
> >> >>>>past day which makes it frustrating/impossible to debug. I do not
> >> >>>>have an actual Playbook device to test with. Is 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
>
Re: Playbook cordova-js testing
Posted by Drew Walters <de...@gmail.com>.
Gord, any update on the status of Playbook?
On Thu, Mar 22, 2012 at 2:07 PM, <gt...@gmail.com> wrote:
> Also: tested the battery events on the playbook and they are working fine!
>
> I would like to get this into master before the reorg happens.
> Sent on the TELUS Mobility network with BlackBerry
>
> -----Original Message-----
> From: Drew Walters <de...@gmail.com>
> Sender: purdrew@gmail.com
> Date: Thu, 22 Mar 2012 13:49:40
> To: <ca...@incubator.apache.org>
> Reply-To: callback-dev@incubator.apache.org
> Subject: Re: Playbook cordova-js testing
>
> Yeah, benefit of all the stubbed out API in cordova-js which weren't
> there in 1.5 BlackBerry implementation. Whether the implemented API
> actually work is the real question :-)
>
> On Thu, Mar 22, 2012 at 12:58 PM, Gord Tanner <go...@tinyhippos.com> 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 <de...@gmail.com>
> wrote:
> >
> >> 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/4d5d1afc89cfcc02732b59d728b06f18978656f4
> >>
> >> Of course, have not been able to test them.
> >>
> >> On Wed, Mar 21, 2012 at 3:26 PM, Drew Walters <de...@gmail.com>
> wrote:
> >> > Thanks guys. Much appreciated, now I can stop banging my head against
> >> > the desk for a little while. All my updates to cordova-js are in
> >> > master. For 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. So, no real need to clone my branch to test playbook if
> >> > you just build cordova.playbook.js from cordova-js.
> >> >
> >> > On Wed, Mar 21, 2012 at 2:44 PM, Filip Maj <fi...@adobe.com> wrote:
> >> >> Beat me to it Gord ;P
> >> >>
> >> >> On 3/21/12 12:43 PM, "Filip Maj" <fi...@adobe.com> 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
> for
> >> >>>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" <de...@gmail.com> 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. Problem is, the
> >> >>>>blackberry-webworks repo also contains the Playbook code. The
> >> >>>>Playbook simulators (v1.0 and v2.0) have been giving me fits for the
> >> >>>>past day which makes it frustrating/impossible to debug. I do not
> >> >>>>have an actual Playbook device to test with. Is 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
>
Re: Playbook cordova-js testing
Posted by gt...@gmail.com.
Also: tested the battery events on the playbook and they are working fine!
I would like to get this into master before the reorg happens.
Sent on the TELUS Mobility network with BlackBerry
-----Original Message-----
From: Drew Walters <de...@gmail.com>
Sender: purdrew@gmail.com
Date: Thu, 22 Mar 2012 13:49:40
To: <ca...@incubator.apache.org>
Reply-To: callback-dev@incubator.apache.org
Subject: Re: Playbook cordova-js testing
Yeah, benefit of all the stubbed out API in cordova-js which weren't
there in 1.5 BlackBerry implementation. Whether the implemented API
actually work is the real question :-)
On Thu, Mar 22, 2012 at 12:58 PM, Gord Tanner <go...@tinyhippos.com> 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 <de...@gmail.com> wrote:
>
>> 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/4d5d1afc89cfcc02732b59d728b06f18978656f4
>>
>> Of course, have not been able to test them.
>>
>> On Wed, Mar 21, 2012 at 3:26 PM, Drew Walters <de...@gmail.com> wrote:
>> > Thanks guys. Much appreciated, now I can stop banging my head against
>> > the desk for a little while. All my updates to cordova-js are in
>> > master. For 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. So, no real need to clone my branch to test playbook if
>> > you just build cordova.playbook.js from cordova-js.
>> >
>> > On Wed, Mar 21, 2012 at 2:44 PM, Filip Maj <fi...@adobe.com> wrote:
>> >> Beat me to it Gord ;P
>> >>
>> >> On 3/21/12 12:43 PM, "Filip Maj" <fi...@adobe.com> 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 for
>> >>>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" <de...@gmail.com> 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. Problem is, the
>> >>>>blackberry-webworks repo also contains the Playbook code. The
>> >>>>Playbook simulators (v1.0 and v2.0) have been giving me fits for the
>> >>>>past day which makes it frustrating/impossible to debug. I do not
>> >>>>have an actual Playbook device to test with. Is 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
Re: Playbook cordova-js testing
Posted by Drew Walters <de...@gmail.com>.
Yeah, benefit of all the stubbed out API in cordova-js which weren't
there in 1.5 BlackBerry implementation. Whether the implemented API
actually work is the real question :-)
On Thu, Mar 22, 2012 at 12:58 PM, Gord Tanner <go...@tinyhippos.com> 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 <de...@gmail.com> wrote:
>
>> 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/4d5d1afc89cfcc02732b59d728b06f18978656f4
>>
>> Of course, have not been able to test them.
>>
>> On Wed, Mar 21, 2012 at 3:26 PM, Drew Walters <de...@gmail.com> wrote:
>> > Thanks guys. Much appreciated, now I can stop banging my head against
>> > the desk for a little while. All my updates to cordova-js are in
>> > master. For 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. So, no real need to clone my branch to test playbook if
>> > you just build cordova.playbook.js from cordova-js.
>> >
>> > On Wed, Mar 21, 2012 at 2:44 PM, Filip Maj <fi...@adobe.com> wrote:
>> >> Beat me to it Gord ;P
>> >>
>> >> On 3/21/12 12:43 PM, "Filip Maj" <fi...@adobe.com> 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 for
>> >>>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" <de...@gmail.com> 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. Problem is, the
>> >>>>blackberry-webworks repo also contains the Playbook code. The
>> >>>>Playbook simulators (v1.0 and v2.0) have been giving me fits for the
>> >>>>past day which makes it frustrating/impossible to debug. I do not
>> >>>>have an actual Playbook device to test with. Is 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
Re: Playbook cordova-js testing
Posted by Gord Tanner <go...@tinyhippos.com>.
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 <de...@gmail.com> wrote:
> 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/4d5d1afc89cfcc02732b59d728b06f18978656f4
>
> Of course, have not been able to test them.
>
> On Wed, Mar 21, 2012 at 3:26 PM, Drew Walters <de...@gmail.com> wrote:
> > Thanks guys. Much appreciated, now I can stop banging my head against
> > the desk for a little while. All my updates to cordova-js are in
> > master. For 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. So, no real need to clone my branch to test playbook if
> > you just build cordova.playbook.js from cordova-js.
> >
> > On Wed, Mar 21, 2012 at 2:44 PM, Filip Maj <fi...@adobe.com> wrote:
> >> Beat me to it Gord ;P
> >>
> >> On 3/21/12 12:43 PM, "Filip Maj" <fi...@adobe.com> 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 for
> >>>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" <de...@gmail.com> 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. Problem is, the
> >>>>blackberry-webworks repo also contains the Playbook code. The
> >>>>Playbook simulators (v1.0 and v2.0) have been giving me fits for the
> >>>>past day which makes it frustrating/impossible to debug. I do not
> >>>>have an actual Playbook device to test with. Is 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
Re: Playbook cordova-js testing
Posted by Drew Walters <de...@gmail.com>.
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/4d5d1afc89cfcc02732b59d728b06f18978656f4
Of course, have not been able to test them.
On Wed, Mar 21, 2012 at 3:26 PM, Drew Walters <de...@gmail.com> wrote:
> Thanks guys. Much appreciated, now I can stop banging my head against
> the desk for a little while. All my updates to cordova-js are in
> master. For 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. So, no real need to clone my branch to test playbook if
> you just build cordova.playbook.js from cordova-js.
>
> On Wed, Mar 21, 2012 at 2:44 PM, Filip Maj <fi...@adobe.com> wrote:
>> Beat me to it Gord ;P
>>
>> On 3/21/12 12:43 PM, "Filip Maj" <fi...@adobe.com> 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 for
>>>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" <de...@gmail.com> 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. Problem is, the
>>>>blackberry-webworks repo also contains the Playbook code. The
>>>>Playbook simulators (v1.0 and v2.0) have been giving me fits for the
>>>>past day which makes it frustrating/impossible to debug. I do not
>>>>have an actual Playbook device to test with. Is there someone else
>>>>that can grab the latest cordova-js for Playbook and test it
>>>>out/debug?
>>>
>>
Re: Playbook cordova-js testing
Posted by Drew Walters <de...@gmail.com>.
Thanks guys. Much appreciated, now I can stop banging my head against
the desk for a little while. All my updates to cordova-js are in
master. For 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. So, no real need to clone my branch to test playbook if
you just build cordova.playbook.js from cordova-js.
On Wed, Mar 21, 2012 at 2:44 PM, Filip Maj <fi...@adobe.com> wrote:
> Beat me to it Gord ;P
>
> On 3/21/12 12:43 PM, "Filip Maj" <fi...@adobe.com> 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 for
>>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" <de...@gmail.com> 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. Problem is, the
>>>blackberry-webworks repo also contains the Playbook code. The
>>>Playbook simulators (v1.0 and v2.0) have been giving me fits for the
>>>past day which makes it frustrating/impossible to debug. I do not
>>>have an actual Playbook device to test with. Is there someone else
>>>that can grab the latest cordova-js for Playbook and test it
>>>out/debug?
>>
>
Re: Playbook cordova-js testing
Posted by Filip Maj <fi...@adobe.com>.
Beat me to it Gord ;P
On 3/21/12 12:43 PM, "Filip Maj" <fi...@adobe.com> 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 for
>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" <de...@gmail.com> 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. Problem is, the
>>blackberry-webworks repo also contains the Playbook code. The
>>Playbook simulators (v1.0 and v2.0) have been giving me fits for the
>>past day which makes it frustrating/impossible to debug. I do not
>>have an actual Playbook device to test with. Is there someone else
>>that can grab the latest cordova-js for Playbook and test it
>>out/debug?
>
Re: Playbook cordova-js testing
Posted by Filip Maj <fi...@adobe.com>.
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 for
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" <de...@gmail.com> 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. Problem is, the
>blackberry-webworks repo also contains the Playbook code. The
>Playbook simulators (v1.0 and v2.0) have been giving me fits for the
>past day which makes it frustrating/impossible to debug. I do not
>have an actual Playbook device to test with. Is there someone else
>that can grab the latest cordova-js for Playbook and test it
>out/debug?