CameraExample  0.1
 All Classes Namespaces Files Functions Variables Pages
edu.clemson.cameraexample.DisplayInfoActivity Class Reference

This class controls activities that displays the information page. More...

Inheritance diagram for edu.clemson.cameraexample.DisplayInfoActivity:

Public Member Functions

boolean onOptionsItemSelected (MenuItem item)
 

Protected Member Functions

void onCreate (Bundle savedInstanceState)
 Method called when activity is created. This method sets the content view to activity_display_info, then creates an WebView view on which it displays the help information. The help information is stored in an an HTML file in the assets directory. R.string.about_text gives the location of the file. More...
 

Private Member Functions

void setupActionBar ()
 

Detailed Description

This class controls activities that displays the information page.

Author
jburton

Definition at line 21 of file DisplayInfoActivity.java.

Member Function Documentation

protected void edu.clemson.cameraexample.DisplayInfoActivity.onCreate ( Bundle  savedInstanceState)
protected

Method called when activity is created. This method sets the content view to activity_display_info, then creates an WebView view on which it displays the help information. The help information is stored in an an HTML file in the assets directory. R.string.about_text gives the location of the file.

More on scrolling from http://stackoverflow.com/questions/16623337/how-to-scroll-table-layout-in-horizontal-and-vertical-in-android

Parameters
savedInstanceState

Webview information at http://stackoverflow.com/questions/3295381/android-html-resource-with-references-to-other-resources

Definition at line 36 of file DisplayInfoActivity.java.

edu.clemson.cameraexample.DisplayInfoActivity.onOptionsItemSelected ( MenuItem  item)

This ID represents the Home or Up button. In the case of this activity, the Up button is shown. Use NavUtils to allow users to navigate up one level in the application structure. For more details, see the Navigation pattern on Android Design:

http://developer.android.com/design/patterns/navigation.html#up-vs-back

Parameters
itemThe MenuItem
Returns
If Home or Up, navigate up and return true.
Otherwise, parent class functionality.

Definition at line 86 of file DisplayInfoActivity.java.

private void edu.clemson.cameraexample.DisplayInfoActivity.setupActionBar ( )
private

Set up the android.app.ActionBar, if the API is available. This enables the up/home button to allow users to return to the main screen.

Definition at line 65 of file DisplayInfoActivity.java.


The documentation for this class was generated from the following file: