NXT-Spy – Implementation of most of the active components

So here is the list of the event handler I have created during the last two days :

  • CheckedChangeEventHandler <- android.widget.CompoundButton.OnCheckedChangeListener
  • ClickEventHandler <- android.view.View.OnClickListener
  • CreateContextMenuEventHandler <- android.view.View.OnCreateContextMenuListener
  • DateChangedEventHandler <- android.widget.DatePicker.OnDateChangedListener
  • DateSetEventHandler <- android.app.DatePickerDialog.OnDateSetListener
  • DialogCancelEventHandler <- android.content.DialogInterface.OnCancelListener
  • DialogDismissEventHandler <- android.content.DialogInterface.OnDismissListener
  • DialogKeyEventHandler <- android.content.DialogInterface.OnKeyListener
  • EditorActionEventHandler <- android.widget.TextView.OnEditorActionListener
  • FocusEventHandler <- android.view.View.OnFocusChangeListener
  • HierarchyChangeEventHandler <- android.view.ViewGroup.OnHierarchyChangeListener
  • ItemClickEventHandler <- android.widget.AdapterView.OnItemClickListener
  • ItemLongClickEventHandler <- android.widget.AdapterView.OnItemLongClickListener
  • ItemSelectedEventHandler <- android.widget.AdapterView.OnItemSelectedListener
  • KeyEventHandler <- android.view.View.OnKeyListener
  • LongClickEventHandler <- android.view.View.OnLongClickListener
  • RatingBarChangeEventHandler <- android.widget.RatingBar.OnRatingBarChangeListener
  • ScrollEventHandler <- android.widget.AbsListView.OnScrollListener
  • SeekBarChangeEventHandler <- android.widget.SeekBar.OnSeekBarChangeListener
  • TextChangedEventHandler <- android.text.TextWatcher
  • TimeChangedEventHandler <- android.widget.TimePicker.OnTimeChangedListener
  • TouchEventHandler <- android.view.View.OnTouchListener

And all the active components :

  • ActiveAlertDialog <- android.app.AlertDialog
  • ActiveAutocompleteTextView <- android.widget.AutoCompleteTextView
  • ActiveButton <- android.widget.Button
  • ActiveCheckBox <- android.widget.CheckBox
  • ActiveDatePicker <- android.widget.DatePicker
  • ActiveDatePickerDialog <- android.app.DatePickerDialog
  • ActiveGallery <- android.widget.Gallery
  • ActiveImageButton <- android.widget.ImageButton
  • ActiveImageView <- android.widget.ImageView
  • ActiveListView <- android.widget.ListView
  • ActiveProgressBar <- android.widget.ProgressBar
  • ActiveProgressDialog <- android.app.ProgressDialog
  • ActiveRadioButton <- android.widget.RadioButton
  • ActiveRatingBar <- android.widget.RatingBar
  • ActiveSeekBar <- android.widget.SeekBar
  • ActiveSpinner <- android.widget.Spinner
  • ActiveEditText <- android.widget.EditText
  • ActiveTextView <- android.widget.TextView
  • ActiveTimePicker <- android.widget.TimePicker
  • ActiveTimePickerDialog <- android.app.TimePickerDialog
  • ActiveToggleButton <- android.widget.ToggleButton

And the other classes :

  • ActiveActions
  • ActiveButtonControl
  • ActiveButtonState

So as you can notice, I cannot really detail in-deep all my classes (methods, attributes, output values) so I think I am going to do a more complete API in the wiki in the next few days.

I haven’t tested all these classes and most of them have some functionality missing but the core of the main graphical components implementation is done.

Supervisor’s comment:

This represents a lot of work and a real step forward to have JCSPae is fantastic. Well done.
We have arranged a meeting time Tuesdays at 14:00. This provides a real basis for further development within a consistent parallel environment. The initial goal of getting the awt to work was very sensible because it then provided instant feedback on the operation of the phone. The next step is to get Wi-Fi and Bluetooth integrated to enable communication between each of the parts of the project.

Leave a Reply

Your email address will not be published. Required fields are marked *