Check if application uses only available classes and methods
<p>I have an application that runs on Android 2.1 and higher. But it's compiled with Android 3.1 SDK because it uses some features from this SDK. Recently I received a bug report from the Android Market. The error was about using a method that is not available on current platform. It was <a href="http://developer.android.com/reference/android/os/Bundle.html#getString%28java.lang.String,%20java.lang.String%29" rel="nofollow">Bundle.getString(String, String)</a> method.</p>

<p>So I'd like to know if there're some tools that can check if an application uses API that is available on a minimal required platform.</p>

<p><strong>EDIT</strong>: I know that <code>Bundle.getString(String, String)</code> is from API Level 12 and I use API Level 7. I just want a tool that will automatically check for such kind of errors.</p>
