Closed kpcyrd closed 9 years ago
In MainActivity we have textIsSelectable, which is only available in API level 11 and fontFamily, which is only available in API level 16.
I added minSdkVersion=11 for ActionBar: https://github.com/berlinmeshnet/cjdns-android/compare/actionbar
textIsSelectable and fontFamily can actually be removed -- my initial idea was to have MainActivity continuously display cjdroute's output, but for now I'd rather show simple peer stats.
In the end we'll have to use at least version 14 / Android 4.0, because that's when VpnService was introduced. cjdroute itself is compatible down to version 7 / Android 2.1, so that's the ideal minSdkVersion we should shoot for in the long term.
The new Toolbar-based ActionBar implementation supports all the way down to API 7. I think there are some other things used that requires API 11, but I think API 11 is a reasonable baseline requirement.
By the way, the min and target SDK levels are now specified in the build.gradle, which overrides what's in the AndroidManifest.xml.
Should we close this issue?
Go ahead and do it, I invited you to the org
Cool, thanks for the invite :smile:
In file AndroidManifest.xml