I think you should be able to do it. But you can only be sure if you try it for yourself. But, I am not sure as to how important this would be.
Thanks and Regards, Kumar Bibek On Apr 1, 6:23 am, Deepak <[email protected]> wrote: > Hello All, > > For a recent assignment, I need to make some Web Widgets. As I go > through the docs looking for Javascript extension APIs, I found > addJavascriptInterface (Object obj, String interfaceName) to bind a > class object to javascript so that the methods can be accessed through > javascript. This API enables us to associate a javascript name to a > class and access its methods using a single indirection like :- > > addJavascriptInterface (obj A, "AObjectName"); > and A has a method with the name CopyMe(); > > Now in the script we can use the following to access the CopyMe() > function of Object A: - > AObjectName.CopyMe() > > I need to know if it is possible to have more than one indirections > like: - > AObjectName.BOjectName.CopyMe(); > > This javascript has more than one indirection. > 1) Does Android support it? If yes, How can I achieve this? > 2) If not, does Google Android is planning to support it in the near > future? > > Thank you, > Best Regards -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using "remove me" as the subject.

