edu.dhbw.andar.pub
Class CustomActivity

java.lang.Object
  extended by Activity
      extended by edu.dhbw.andar.AndARActivity
          extended by edu.dhbw.andar.pub.CustomActivity
All Implemented Interfaces:
java.lang.Thread.UncaughtExceptionHandler

public class CustomActivity
extends AndARActivity

Example of an application that makes use of the AndAR toolkit.

Author:
Tobi

Constructor Summary
CustomActivity()
           
 
Method Summary
 void onCreate(Bundle savedInstanceState)
          Called when the activity is first created.
 boolean onCreateOptionsMenu(Menu menu)
           
 boolean onOptionsItemSelected(MenuItem item)
           
 void uncaughtException(java.lang.Thread thread, java.lang.Throwable ex)
          Inform the user about exceptions that occurred in background threads.
 
Methods inherited from class edu.dhbw.andar.AndARActivity
disableScreenTurnOff, getArtoolkit, getSurfaceView, setFullscreen, setNonARRenderer, setNoTitle, setOrientation, startPreview, surfaceChanged, surfaceCreated, surfaceDestroyed, takeScreenshot
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomActivity

public CustomActivity()
Method Detail

onCreate

public void onCreate(Bundle savedInstanceState)
Description copied from class: AndARActivity
Called when the activity is first created.

Overrides:
onCreate in class AndARActivity

uncaughtException

public void uncaughtException(java.lang.Thread thread,
                              java.lang.Throwable ex)
Inform the user about exceptions that occurred in background threads. This exception is rather severe and can not be recovered from. Inform the user and shut down the application.


onCreateOptionsMenu

public boolean onCreateOptionsMenu(Menu menu)

onOptionsItemSelected

public boolean onOptionsItemSelected(MenuItem item)