Android 1.5: Service
<p>This may be very basic question but I really cannot find any proper solution for this.</p>

<p>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.</p>

<p>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.</p>

<p>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+)?</p>

<p>Or is there any easy solution for this problem?</p>

<p>Thanks in advance.</p>
