| org.hecl.android.Hecl
All known Subclasses: org.hecl.android.SubHecl,
Hecl | public class Hecl extends Activity (Code) | | The Hecl class is the main entry point into Hecl
applications on Android.
author: David N. Welton version: 1.0 |
Method Summary | |
protected void | errmsg(String msg) The errmsg method displays and logs an error
message. | public Thing | getMailBox() | protected void | loadLibs(Interp interp) The loadLibs method loads some classes, commands,
and the lib.hcl file. | public static void | logStacktrace(Exception e) The logStacktrace method dumps an Exception's
stack trace to the Android log. | public static void | logTime() | public void | onCreate(Bundle heclApp) The onCreate is the application's entry point. | public boolean | onCreateOptionsMenu(Menu menu) The onCreateOptionsMenu method is called when the
user hits the phones 'menu' key. | public boolean | onOptionsItemSelected(Menu.Item item) onOptionsItemSelected is called when the user
selects a menu item. | protected void | onResume() onResume is called both the first time the
activity is run, as well as when the activity is reawakened. | public void | setMailBox(Thing m) |
interp | protected static Interp interp(Code) | | The interp variable is static in order to be
available to SubHecl activities.
|
errmsg | protected void errmsg(String msg)(Code) | | The errmsg method displays and logs an error
message.
Parameters: msg - a String value |
loadLibs | protected void loadLibs(Interp interp) throws Exception(Code) | | The loadLibs method loads some classes, commands,
and the lib.hcl file.
Parameters: interp - an Interp value exception: Exception - if an error occurs |
logStacktrace | public static void logStacktrace(Exception e)(Code) | | The logStacktrace method dumps an Exception's
stack trace to the Android log.
Parameters: e - an Exception value |
logTime | public static void logTime()(Code) | | |
onCreate | public void onCreate(Bundle heclApp)(Code) | | The onCreate is the application's entry point.
Everything starts here.
Parameters: heclApp - a Bundle value |
onCreateOptionsMenu | public boolean onCreateOptionsMenu(Menu menu)(Code) | | The onCreateOptionsMenu method is called when the
user hits the phones 'menu' key. It utilizes variables set by
the menusetup command defined in AndroidCmd.
Parameters: menu - a Menu value a boolean value |
onOptionsItemSelected | public boolean onOptionsItemSelected(Menu.Item item)(Code) | | onOptionsItemSelected is called when the user
selects a menu item. The callbacks are set up via the
menucallback command, defined in AndroidCmd.
Parameters: item - a Menu.Item value a boolean value |
onResume | protected void onResume()(Code) | | onResume is called both the first time the
activity is run, as well as when the activity is reawakened.
|
|
|