incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Bowser <bows...@gmail.com>
Subject Re: Update on CordovaView/CordovaActivity - Tests
Date Thu, 12 Jan 2012 19:13:51 GMT
The back button issues should be resolved. Please pull down the changes
again.

Thanks

Joe

On Wed, Jan 11, 2012 at 12:00 PM, Simon MacDonald <simon.macdonald@gmail.com
> wrote:

> Hey Joe,
>
> I've been spending some time today testing your changes and it looks
> good for the most part. The only areas that I seem to be having issues
> with are:
>
> 1) Splash screen
> 2) Back button
>
> 1) I believe you posted the splash screen would have to be re-worked
> with the new approach.
>
> 2) The back button is acting very oddly:
>
> a) Sometimes when I'm in the second page of an application hitting the
> back button goes back one page, at other times it exits the app
> completely.
> b) If you register an event listener for the back button it works
> great but if you then unregister that event listener the back button
> does not work anymore. That is, you can't exit the application using
> the back button anymore.
> c) The function navigator.app.backHistory() no longer works.
>
> You can reproduce the above by using the callback-test code.
> Specifically the index.html under events.
>
> Simon Mac Donald
> http://hi.im/simonmacdonald
>
>
>
> On Tue, Jan 10, 2012 at 7:56 PM, Joe Bowser <bowserj@gmail.com> wrote:
> > Hey
> >
> > We've got most of the functionality implemented in
> > CordovaView/CordovaActivity, and we're starting on tests.  Android tests
> > are somewhat complex for anything that uses Activities or Views, so we're
> > using Eclipse for the time being.  Does Apache have a wiki where we can
> put
> > testing information such as this?
> >
> > Anyway, here's the projects needed for the tests:
> > https://github.com/infil00p/callback-android/tree/phonegapview - Source
> > https://github.com/infil00p/PhoneGap-CordovaTest - JUnit Tests
> > https://github.com/infil00p/PhoneGapView-Test - Test Cases that JUnit
> uses
> >
> > We have three activities in the 3rd project that use the phonegap jar.
> >  These activities are what we use to test the different methods of
> loading
> > a PhoneGap application. This is required to test the delayed loadUrl
> method
> > for the splashscreen, although we haven't added the tests to it yet.  You
> > can use eclipse to add the PhoneGap project to the build path of
> > CordovaTest.
> >
> > Anyway, have a look at the tests and the recent changes.  Please provide
> > feedback and feel free to look at it. Also, DroidGap.java is finally
> dead!
> > We've moved all the functionality across the four remaining classes that
> > handle this (CordovaActivity, CordovaView, CordovaClient and GapClient).
> >  Assuming that things are good, I can author a patch and send it up
> and/or
> > do a pull request.  Whatever our process looks like (which I'd assume is
> in
> > a wiki somewhere).
> >
> > Joe
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message