Deprecated/replaced methods, how do you target all versions?
<p>Many times in Android , you see that a method is deprecated as of version 3.0 and a different method should be used.</p>

<p>How do you handle such things when programming your app if you are targeting most of the devices (say from Version 2.1). Do you code the same app multiple times each one for different version? and then create different profiles in Google Play for each APK? I find it this a bit excessive and does not make sense. Please let me know what is the correct way of handling such situations</p>

<p>Thanks</p>
