Android minSdkVersion and using classes introduced in higher level SDK
<p>I was testing android minSDKVersion property and find a strange behavior-</p>

<p>I put minSDKVersion=3 (1.5) and targetSDKVersion=4 (1.6) in androidManifest.xml file.</p>

<p>For testing, I put following lines in onCreate method of launching activity -</p>

<pre><code> android.telephony.SmsManager sm = android.telephony.SmsManager.getDefault();
 ArrayList&lt;String&gt; stringArray = sm.divideMessage("this is message");
 Toast.makeText(this, stringArray.get(0), Toast.LENGTH_LONG).show(); 
</code></pre>

<p>android.telephony.SmsManager class is being introduced in android 1.6.</p>

<p>After adding these lines, on 1.6 emulator it was showing toast, but on 1.5 emulator it did not show toast and did not crashed either.</p>

<p>I was expecting that the application will crash on 1.5 emulator but this did not happen.
Can anyone explain this?</p>

<p>Thanks</p>
