jotobjects I'm going to try what you suggest. It seems more like what
I'm looking for. And also let you know what was the result. Thanks.
With conditional compilation I refer of something more like an
attribute that let you tell the compiler to either use one method or
another.
I would like to use something like:
@Conditional(SDK: 4)
public void SmsMethod() {
// Uses android.telephony.gsm.SmsManager
}
@Conditional(SDK: 3)
public void SmsMethod() {
// Uses android.telephony.SmsManager
}
So I could easyly accomplish all of my goals with a very elegant and
clear solution and without any compilation errors. Of course there
isn't any attribute like that. But I would like to have one. Maybe in
the future we could have something like that in Android.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---