Hi,

This may be very basic question but I really cannot find any proper solution
for this.

I was developing app (which have service) on Android 2.2. Then I realize
that I should also make it compatible to Android 1.5.

But for android 1.5, onStartCommand() method was not there and instead
onStart() method was there. And for Android 2.0+, onStart() method is
deprecated.

So my question is, As Java don't have support for pre-processor directives,
do I need to make two build (one for android 1.5+ and other for android
2.0+)?

Or is there any easy solution for this problem?

Thanks in advance.

Mahavir

-- 
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

Reply via email to