I want to implement strictMode to make my application faster but whenver I try to import it via:
Import android.os.StrictMode;
It’s not available. I’ve read that strictMode won’t work with versions before 2.3.3. This is a problem because the app is designed for 2.2 froyo. Is there a way to make my application go to 2.3.3 and be able to use strictMode?
the answer is simply you need 2.3.3 to use strict mode
so there is no way around that but you can set your application during development to 2.3.3 and when you want to release it set the apilevel back to “8”
as vogella says in his tutorial :
so in the end you only have to remove all the strict mode features as you would normaly have to do anyway