public abstract class

SCBaseFragmentActivity

extends Activity
implements ILoaderHandlerContext ILoaderHandlerContextProvider
java.lang.Object
   ↳ android.content.Context
     ↳ android.content.ContextWrapper
       ↳ android.view.ContextThemeWrapper
         ↳ android.app.Activity
           ↳ com.c2call.sdk.pub.activities.core.SCBaseFragmentActivity
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

This is the base class that all Activities, which use the C2Call SDK, should derive from. It automatically takes care of starting/stopping C2Call services and background tasks within the Activity life cycle.

Summary

[Expand]
Inherited Constants
From class android.app.Activity
From class android.content.Context
From interface android.content.ComponentCallbacks2
[Expand]
Inherited Fields
From class android.app.Activity
Public Constructors
SCBaseFragmentActivity()
Instantiates a new SCBaseFragmentActivity activity.
Public Methods
static int getId(String name)
Convenient method that calls dynamically load a resource id with given name.@return
int getLayoutFromIntent()
Gets the layout from intent that was passed by the key EXTRA_DATA_LAYOUT;
ILoaderHandlerContext getLoaderActivity()
Context getLoaderContext()
Protected Methods
void onCreate(Bundle savedInstance)
void onDestroy()
void onPause()
void onResume()
void onStart()
void onStop()
[Expand]
Inherited Methods
From class android.app.Activity
From class android.view.ContextThemeWrapper
From class android.content.ContextWrapper
From class android.content.Context
From class java.lang.Object
From interface android.content.ComponentCallbacks
From interface android.content.ComponentCallbacks2
From interface android.view.KeyEvent.Callback
From interface android.view.LayoutInflater.Factory
From interface android.view.LayoutInflater.Factory2
From interface android.view.View.OnCreateContextMenuListener
From interface android.view.Window.Callback
From interface com.c2call.sdk.pub.gui.core.loaderhandler.ILoaderHandlerContext
From interface com.c2call.sdk.pub.gui.core.loaderhandler.ILoaderHandlerContextProvider

Public Constructors

public SCBaseFragmentActivity ()

Instantiates a new SCBaseFragmentActivity activity.

Public Methods

public static int getId (String name)

Convenient method that calls dynamically load a resource id with given name.@return

Parameters
name The name of the id to load

public int getLayoutFromIntent ()

Gets the layout from intent that was passed by the key EXTRA_DATA_LAYOUT;

Returns
  • the layout from intent

public ILoaderHandlerContext getLoaderActivity ()

public Context getLoaderContext ()

Protected Methods

protected void onCreate (Bundle savedInstance)

protected void onDestroy ()

protected void onPause ()

protected void onResume ()

protected void onStart ()

protected void onStop ()