http://developer.android.com/guide/topics/manifest/uses-sdk-element.html
*"Caution: If you do not declare this attribute, the system assumes a default value of "1", which indicates that your application is compatible with all versions of Android. If your application is notcompatible with all versions (for instance, it uses APIs introduced in API Level 3) and you have not declared the proper minSdkVersion, then when installed on a system with an API Level less than 3, the application will crash during runtime when attempting to access the unavailable APIs. For this reason, be certain to declare the appropriate API Level in the minSdkVersion attribute. " * On Monday, July 23, 2012 6:47:11 PM UTC+1, vivek singh wrote: > > @RichardC no i have used <uses-sdk/> only once in my mainfest file > as i said in my previous entry i was using level 15 .I just added this > line and > i saw the different behavior in UI on while running app on same api level > i.e. level 15 > > On Mon, Jul 23, 2012 at 11:06 PM, RichardC <[email protected] > > wrote: > >> Did you already have a <uses-sdk /> element in your manifest, if so what >> did it say? >> On what Android version (levels) are you comparing your results? >> >> >> On Monday, July 23, 2012 6:31:16 PM UTC+1, vivek singh wrote: >>> >>> Hi >>> I developed my android app on api 15 my avd is created over api15 .I >>> found that my app can work properly on api 11 or greater too. So i added >>> following line >>> in my mainfest >>> >>> <uses-sdk android:minSdkVersion="11" android:targetSdkVersion="15" /> >>> >>> There was change in UI behavior after adding the line above in my >>> mainfest file(however app works fine) >>> Like before addition of this line the progress dialog was black and >>> transparent in color and >>> seekbar progress was also in yellow color >>> >>> After addition of this line progress dialog is solid and gray, and the >>> seekbar progress yellow color is replaced by blue >>> why so? any suggestions? >>> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Developers" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en >> > > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

