Michael Thomas wrote: > would it be better to just > try { > window.phz.backbutton () > } catch () > > instead? this need to be cross-browser safe.
Oof. That could be trouble. Can't you sniff on browser type and serve up the proper HTML based on whether it's an Android device? > I have noticed that the normally implicit .toString() js method causes > chunks to be blown, > so I'm not doubting you :) If you mean that a returned string from Java is not really a Javascript string, I know what you mean. Concatenate an empty string on the Java return value to force it to become a Javascript string, where needed. -- 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 -~----------~----~----~----~------~----~------~--~---