daily49er.android.app
Class EventsTab

java.lang.Object
  extended by Activity
      extended by daily49er.android.app.EventsTab

public class EventsTab
extends Activity

The Events Tab is composed of the Daily49er's "Diversions" calendar which is implemented via an embedded WebView.

Author:
Alex Chavez

Constructor Summary
EventsTab()
           
 
Method Summary
 void onCreate(Bundle savedInstanceState)
          Called when the activity is first created.
 boolean onKeyDown(int keyCode, KeyEvent event)
          This callback method will be called anytime a button is pressed while in the Events tab WebView; it will go back to a previous page in the webview.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventsTab

public EventsTab()
Method Detail

onCreate

public void onCreate(Bundle savedInstanceState)
Called when the activity is first created.


onKeyDown

public boolean onKeyDown(int keyCode,
                         KeyEvent event)
This callback method will be called anytime a button is pressed while in the Events tab WebView; it will go back to a previous page in the webview.

Parameters:
keyCode - - the key code that is passed whenever any of the standard device buttons are pressed.
keyEvent - - the event that is triggered by the button press.
Returns:
true - if the "back" button has been pressed; then return the event and keycode for the button that was pressed.