public class

EvernoteOAuthActivity

extends Activity
java.lang.Object
   ↳ android.content.Context
     ↳ android.content.ContextWrapper
       ↳ android.view.ContextThemeWrapper
         ↳ android.app.Activity
           ↳ com.evernote.client.android.EvernoteOAuthActivity

Class Overview

An Android Activity for authenticating to Evernote using OAuth. Third parties should not need to use this class directly. class created by @tylersmithnet

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
EvernoteOAuthActivity()
Public Methods
void onCreate(Bundle savedInstanceState)
boolean onCreateOptionsMenu(Menu menu)
On honeycomb and above this will create an actionbar with the item to switch services Below honeycomb it will create the options menu bound to a hardware key
boolean onOptionsItemSelected(MenuItem item)
This will select the next BootstrapProfile in #mBootstrapProfiles and start a new webview load request.
boolean onPrepareOptionsMenu(Menu menu)
On Honeycomb and above this is called when we invalidate, this happens when the ArrayList of BootstrapProfile are updated.
Protected Methods
Dialog onCreateDialog(int id)
void onPrepareDialog(int id, Dialog dialog)
void onResume()
void onSaveInstanceState(Bundle outState)
Not needed because of conficChanges, but leaving in case developer does not add to manifest
[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

Public Constructors

public EvernoteOAuthActivity ()

Public Methods

public void onCreate (Bundle savedInstanceState)

public boolean onCreateOptionsMenu (Menu menu)

On honeycomb and above this will create an actionbar with the item to switch services Below honeycomb it will create the options menu bound to a hardware key

public boolean onOptionsItemSelected (MenuItem item)

This will select the next BootstrapProfile in #mBootstrapProfiles and start a new webview load request.

public boolean onPrepareOptionsMenu (Menu menu)

On Honeycomb and above this is called when we invalidate, this happens when the ArrayList of BootstrapProfile are updated. Below Honeycomb this is called when the user presses the menu button. This detects the number of bootstrap items and sets the UI element appropriately.

Protected Methods

protected Dialog onCreateDialog (int id)

protected void onPrepareDialog (int id, Dialog dialog)

protected void onResume ()

protected void onSaveInstanceState (Bundle outState)

Not needed because of conficChanges, but leaving in case developer does not add to manifest