I'd like to do some additional code generation after the R.java file has been created by aapt. Specifically, I want to auto-generate some helper methods to retrieve items from R.java.
Is there any way put my own, custom utility in place which will generate this extra code as part of every Android build within Eclipse? Yes, I know that I can already do this: String foobar = this.getString(R.string.foobar); I just want to generate some extra code which will allow me to so something like the following: String foobar = something.getFoobar(); (where "something" is either a previously instantiated object or a static class reference -- depending on how I ultimately decide to implement this) This way, I won't have to keep adding, changing, and deleting these helper methods manually in my Activity class as I change the items in strings.xml. Thanks in advance for any suggestions. -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.