edu.dhbw.andar.pub
Class CustomActivity
java.lang.Object
Activity
edu.dhbw.andar.AndARActivity
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
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 |
CustomActivity
public CustomActivity()
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)