-2

I have an activity that requires SDK but still want to make the rest of the app available for lower SDK versions. Is there a way of reading the users SDK to a string so I can place in an if statement please?

1

1 Answer 1

2

Do you mean something like this?

if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
    ... do stuff ...
    }
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.