Android Open Source - african-art-talent-discovery Base Fragment

From Project

Back to project page african-art-talent-discovery.


The source code is released under:

GNU General Public License

If you think the Android project african-art-talent-discovery listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.ekoconnect.afriphoto.fragments;
//from w ww . java2  s .co m
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.PreferenceManager;

import com.appsng.connectors.LocalDataBase;

public class BaseFragment extends SherlockFragment {
  ActionBar acBar;
  static Context context;
  static LocalDataBase localDataBase;
  public static SharedPreferences  sharedPref;
  public void onCreate(Bundle savedInstanceState) {
    // TODO Auto-generated method stub

    acBar = getSherlockActivity().getSupportActionBar();
    context =   getSherlockActivity();
    localDataBase = new LocalDataBase(context);
    sharedPref = PreferenceManager.getDefaultSharedPreferences(context);



Java Source Code List