njumzs / mythdroid

Automatically exported from code.google.com/p/mythdroid
0 stars 0 forks source link

MythDroid ref 771 will not build for Android 2.3.3 with API level 10 #105

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Which version of MythDroid were you using?
trunk rev 771 
Attemped build for Android 2.3.3 with API level 10

Which version of MDD?
trunk rev 771

Which version of MythTV were you using? (e.g. mythfrontend --version)
MythTV Version : v0.25
MythTV Branch : fixes/0.25
Network Protocol : 72
Library API : 0.25.20120408-1
QT Version : 4.8.1

Please provide any additional information below.

I don't know if the repository project can be modified to still build 
"out-of-the-box" for 2.3.3 and API 10, but these are the steps I had to go to 
to get a successful build of the MythDroid.apk.  I am also not sure of the 
repercussions of the changes I made, but I have not noticed anything not 
working on my Android.

Steps to Build revision 771.

Reset Project properties To API Level 10 for Android 2.3.3

Removed:
  res/drawable/actionbaritem.xml

In:
  res/layout/frontend_indicator.xml
Removed:
    android:background="@drawable/actionbaritem"

Removed folders:
   res/values-large-v11
   res/values-v11
   res/values-xlarge-v11

In:
   MDActivity, MDFragmentActivity, MDListActivity
Removed:
 @Override
    public boolean onOptionsItemSelected(MenuItem item) {

In ActionView.java
changed from:
    public ActionView(Context context, AttributeSet attrs, int defStyle) {
        super(context, attrs, defStyle);
    }
changed to:
    public ActionView(Context context, AttributeSet attrs, int defStyle) {
        super(context, attrs);
    }

I think that's about it!

Cheers,
John

Original issue reported on code.google.com by john.clo...@gmail.com on 21 Jul 2012 at 8:07

GoogleCodeExporter commented 8 years ago
The project is designed to build against API 11 but should run on any version 
of Android back to 1.6. You shouldn't change the build target - API features 
that aren't available will be avoided at runtime. 

Original comment by foobum on 23 Jul 2012 at 8:37