MythTV-Clients / MythTV-Android-Frontend

Implementation of MythTV .25+ Services API for Android
GNU General Public License v3.0
66 stars 16 forks source link

Cannot build against Amazon Fire/FireTV API #259

Open y3ddet opened 10 years ago

y3ddet commented 10 years ago

Line 132 of src/org/mythtv/client/ui/preferences/MythPreferenceActivity.java causes a compiler error due to the Build.VERSION_CODES.KITKAT while Amazon headers define only up to JELLY_BEAN.

Further the isValidFragment() routine is not defined in the Fire SDK based in 4.4.2.

Is there a way to correctly control this fragment such that it wont conflict with the KITKAT build for mainline Android builders?

billmeek commented 10 years ago

Thanks for the report (and the comment on the Beta G+ list.) Set to Bug/1.20.7. http://securityintelligence.com/new-vulnerability-android-framework-fragment-injection/

y3ddet commented 10 years ago

[EDIT] Ignore this, it was due to a maven/ADK/Eclipse config. I still cannot generate through the Eclipse tools, but command line invocation of the "package" goal works.

When commented out, and Android 4.2.2 or the Amazon Fire API selected, compilation works, however no binaries appear to be merged into the resulting APK file. I can install it through ADB, but of course it fails to find the main class object identified in the manifest to execute. I can find the Java .class files in the Eclipse navigator, so javac appears to be working correctly, so the issue must be somewhere in either the Maven target, or the Eclipse configuration that causes the resulting .class files to be added to the jar/apk file. Any suggestions?