Hi all, I'm porting Android to a particular board and I have some questions.
First, Can we implements just 50 % of a fonctionality. For exemple, in the framework there is a Class that contain a method public String myFunction(){ //frameword Code}. Can I change it for public static String myFunction(){ return "");}? Finally, a question more complex, can I make my own implementation of an Interface a pass it in a framework factory decorated with @hide. Exemple : @hide public class MyFactory{ public InterfaceC getAObject(){ return (InterfaceC) new A(); } public InterfaceC getBObject(){ return (InterfaceC) new B(); } } A and B implement InterfaceC. Factory is a framework class in android package. Can I write something like public class MyFactory{ public InterfaceC getAObject(){ return (InterfaceC) new D(); } public InterfaceC getBObject(){ return (InterfaceC) new D(); } } D implements InterfaceC. Do this two modification are CTS compliant? Thanks, Adrien -- 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