[android-developers] Re: xml view defination to take event handler class name

2009-05-03 Thread Raja Nagendra Kumar
Thank you for the details.. these details help us in the short term. Also, I have seen similar abstraction provided by KUIX (j2me UI framework - http://www.kalmeo.org/projects/kuix/docs/tutorial_3 ). Though abstraction is very good, impl. on that fails because of lack of reflection api in j2me. I

[android-developers] Re: xml view defination to take event handler class name

2009-05-02 Thread Raphael
In the meantime, you could easily automate this behavior on your side: - one method is to add custom tags to your layout XML. Use an XmlPullParser to parse the XML and when you find an element with an android:id and your tag, use reflection to associate a listener to it. - another method would b

[android-developers] Re: xml view defination to take event handler class name

2009-05-02 Thread Raja Nagendra Kumar
Nice to note this.. in which release could be expect this feature in.. when is the expected date for this release...pl. Regards, Raja Nagendra Kumar, www.tejasoft.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "A

[android-developers] Re: xml view defination to take event handler class name

2009-05-01 Thread Romain Guy
Funny you say that now, I implemented this feature this morning for the next release of Android :) On Fri, May 1, 2009 at 9:14 PM, Raja Nagendra Kumar wrote: > > Instead of finding the button (as per the id specified in xml) i.e > > Button button = (Button)findViewById(R.id.corky); >    // Regis