Example usage for android.app Activity subclass-usage

List of usage examples for android.app Activity subclass-usage

Introduction

In this page you can find the example usage for android.app Activity subclass-usage.

Usage

From source file com.manning.androidhacks.hack017.MainActivity.java

public class MainActivity extends Activity {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

From source file com.google.android.panoramio.ImageGrid.java

/**
 * The main Activity which displays the grid of photos fetched from
 * Panoramio service.
 */
public class ImageGrid extends Activity implements OnClickListener {
    private static final String DEFAULT_QUERY = "San Francisco";

From source file com.liferay.tasks.activity.AddTaskActivity.java

/**
 * @author Silvio Santos
 */
public class AddTaskActivity extends Activity implements View.OnClickListener {

    public static final String EXTRA_TASK = "task";

From source file com.manning.androidhacks.hack034.MainActivityJava.java

public class MainActivityJava extends Activity {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

From source file net.openid.appauth.AuthorizationManagementActivity.java

/**
 * Stores state and handles events related to the authorization flow. The activity is
 * started by {@link AuthorizationService#performAuthorizationRequest
 * AuthorizationService.performAuthorizationRequest}, and records all state pertinent to
 * the authorization request before invoking the authorization intent. It also functions
 * to control the back stack, ensuring that the authorization activity will not be reachable

From source file com.mobileaffairs.seminar.json.JSONDemoActivity.java

public class JSONDemoActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

From source file com.mono.applink.Foursquare.java

public class Foursquare extends Activity {

    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

From source file com.tobias.vocabulary_trainer.UpdateVocabularies.java

public class UpdateVocabularies extends Activity {
    public static final String USER_PREFERENCE = "USER_PREFERENCES";
    public static final String PREF_SERVER_ADDRESSE = "PREF_SERVER_ADDRESSE";
    public static final String PREF_SERVER_USERNAME = "PREF_SERVER_USERNAME";
    public static final String PREF_SERVER_PASSWORD = "PREF_SERVER_PASSWORD";
    public static final String PREF_SERVER_PORT = "PREF_SERVER_PORT";

From source file edu.nimbus.glass.TopicSelectActivity.java

/**
 * This class handles the original execution of the application.
 * On Startup the applications polls the ROSBridge server to get a list of currently publishing topics
 * After it does this it presents the user with a list of those topics.  Once one is selected the application
 * than starts of the TopicService to handle the creation of the live card and the updating and changing of the information
 * being displayed.

From source file com.arantius.tivocommander.ExploreCommon.java

abstract public class ExploreCommon extends Activity {
    private final MindRpcResponseListener mListener = new MindRpcResponseListener() {
        public void onResponse(MindRpcResponse response) {
            if ("error".equals(response.getBody().path("type").asText())) {
                if ("staleData".equals(response.getBody().path("code"))) {
                    Utils.toast(ExploreCommon.this, "Stale data error, panicking.", Toast.LENGTH_SHORT);