would it be better to just
try {
   window.phz.backbutton ()
} catch ()

instead? this need to be cross-browser safe.

I have noticed that the normally implicit .toString() js method causes
chunks to be blown,
so I'm not doubting you :)

Mike

On Jun 4, 4:28 pm, Mark Murphy <mmur...@commonsware.com> wrote:
> Michael Thomas wrote:
> > 1) window.phz is not null and is an object in my js (as before in 1.0)
>
> Don't do that.
>
> > 3) window.phz.backbutton is now null (ie, the debugmsg(...) is called
> > in the js)
>
> Don't do that either.
>
> I do not believe it is part of the API contract that the Java objects
> are necessarily exposed as first-class Javascript objects. I have had
> problems in the past with Javascript code attempting to do anything
> other than just calling the methods exposed by the Java objects.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> Android App Developer Books:http://commonsware.com/books.html
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to