Example usage for android.support.v4.app FragmentActivity subclass-usage

List of usage examples for android.support.v4.app FragmentActivity subclass-usage

Introduction

In this page you can find the example usage for android.support.v4.app FragmentActivity subclass-usage.

Usage

From source file br.com.mybaby.contatos.ContactsListActivity.java

/**
 * FragmentActivity to hold the main {@link ContactsListFragment}. On larger screen devices which
 * can fit two panes also load {@link ContactDetailFragment}.
 */
public class ContactsListActivity extends FragmentActivity
        implements ContactsListFragment.OnContactsInteractionListener {

From source file com.android.mail.ui.AbstractMailActivity.java

/**
 * <p>
 * A complete Mail activity instance. This is the toplevel class that creates the views and handles
 * the activity lifecycle.</p>
 *
 * <p>This class is abstract to allow many other activities to be quickly created by subclassing

From source file cn.ucai.yizhesale.activity.BaseActivity.java

public class BaseActivity extends FragmentActivity {
    BaseActivity activity;

    @Override
    protected void onCreate(Bundle arg0) {
        super.onCreate(arg0);

From source file android.com.example.contactslist.ui.ContactDetailActivity.java

/**
 * This class defines a simple FragmentActivity as the parent of {@link ContactDetailFragment}.
 */
public class ContactDetailActivity extends FragmentActivity {
    // Defines a tag for identifying the single fragment that this activity holds
    private static final String TAG = "ContactDetailActivity";

From source file com.appsol.sharewithcontact.ui.ContactDetailActivity.java

/**
 * This class defines a simple FragmentActivity as the parent of {@link ContactDetailFragment}.
 */
public class ContactDetailActivity extends FragmentActivity {
    // Defines a tag for identifying the single fragment that this activity holds
    private static final String TAG = "ContactDetailActivity";

From source file android.com.example.contactslist.ui.ContactsListActivity.java

/**
 * FragmentActivity to hold the main {@link ContactsListFragment}. On larger screen devices which
 * can fit two panes also load {@link ContactDetailFragment}.
 */
public class ContactsListActivity extends FragmentActivity
        implements ContactsListFragment.OnContactsInteractionListener {

From source file com.actionbarsherlock.sample.demos.app.ActionBarActionItemCustomView.java

public class ActionBarActionItemCustomView extends FragmentActivity {
    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        MenuItem item = menu.add(0, android.R.id.copy, 0, "Test");

        final int twentyDp = (int) (20 * getResources().getDisplayMetrics().density);

From source file com.actionbarsherlock.sample.demos.app.FragmentDialogOrActivitySupport.java

public class FragmentDialogOrActivitySupport extends FragmentActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.fragment_dialog_or_activity);

From source file ca.psiphon.ploggy.ActivitySendIdentityByNfc.java

/**
 * Base class for all activities that send identity via NFC.
 *
 * Implements NFC (Android Beam) identity exchange. Due to the "Touch to Beam" OS prompt enforced
 * for Beam for Android 4+, apps cannot automatically send a Beam in response to an incoming Beam
 * (for mutual identity exchange triggered by one device). So NFC identity exchange is

From source file com.android.bleserver.MainActivity.java

/**
 * Setup display fragments and ensure the device supports Bluetooth.
 */
public class MainActivity extends FragmentActivity {

    private BluetoothAdapter mBluetoothAdapter;