android compability problem
<p>My current project is created for API Level 4 and I use custom implementation of the interface <a href="http://developer.android.com/reference/android/view/Window.Callback.html" rel="nofollow">Window.Callback</a> there. When I'm running the project on higher API Levels I'm getting the error: <em>java.lang.AbstractMethodError: abstract method not implemented.</em> That's because two extra methods added to this interface since API Level 5. <strong>So any android interface can be modified in future API Levels and any application that uses modified interface will crash!?</strong> How to solve this problem? I have two solutions, which is better?:</p>

<ol>
<li>Use Proxy (this is not a problem but I don't want to complicate my code)</li>
<li>Built project under the latest API Level and indicate min-sdk=4 (but if new API Level is created I will have to rebuild my project again?!)</li>
</ol>
