Tuesday, December 2, 2014

What is difference between target and min sdk in Android

Target is the version , eclipse building  and testing against means you can include the methods those are available in the target sdk version.
Min or minimum is lower than target. 
This thing allow us to use some of target version feature in the min sdk. But careful when using such feature. Let say having new feature in target version which are not in min sdk then it may crash in min sdk.

To avoid such things you can use reflection to check availability of method.

No comments:

Post a Comment