I have a fully functional phone app and I am converting it to a dedicated tablet app. I was hoping to support 3.0 and upwards but when I set the minsdk to 11 (Android 3.0) all of my network code breaks, (everything. It's something to do with strict mode). If I set the minsdk to 9 or lower, all of the code works just fine on my Android 3.0 tablet.
The problem will arise when I go to put this on the market. I want to rule out all tablets pre 3.0, but this will not be possible it I set the minsdk to 9. Does anyone know of a fix for this? Is this a common problem?
Is there any problem in using same code base by setting minSDK = 9 and targetSDK as 11, in your code you can write version specific things wherever needed. Or i believe the other solution is only to have seperate packages, quite a few apps do this in market.