Widespread Augmented Reality

Widespread Augmented Reality
Click on the image to get the Android Augmented Reality Heads up Display

Thursday, December 5, 2013

Android 2,2 Fragments

Since my app at Google Play targets Android 2.2 or higher, there a few things that need to be in place for fragments.

  • import android.support.v4.app.DialogFragment; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentActivity;
  • ActivityThatCallsFragment extends FragmentActivity
  • Use getSupportFragmentManager() instead of getFragmentManager()
  • No comments:

    Post a Comment