WaypointEvent_Type

Craetion of WP events:
Upload & Download
DroneInteraces : WaypointManager Listener Interface

Create new interface
WaypointMananer : Add Listener

Create aprivate OnWaypointManagerListener variable
WaypointManager : BeginWaypointEvent

Add doBeginWaypointEvent for
1. Start of waypoint uploading -
doBeginWaypointEvent(WaypointEvent_Type.WP_UPLOAD)
2. Start of waypoint downloading -
doBeginWaypointEvent(WaypointEvent_Type.WP_DOWNLOAD)
WaypointManager : doWaypointEvent

Add doWaypointEvent method
WaypointManager : doEndWaypointEvent

Add doEndWaypointEvent method

Fix: DroneInterfaces
rename doBeginWaypointsEvent -> doBeginWaypointEvent (for consistency)

Fix: WaypointManger
update the listener calling method
WaypointManager : Read event implementation

Add:
1. call doWaypointEvent() upon receiving waypoints from APM
2. call doEndWaypointEvent upon receiveing the final waypoint from APM
WaypointManger : Write event implementation

Add:
1. Call doWaypointEvent upon uploading waypoint to APM
2. Call doEndWaypointEvent upon uploading the last waypoint to APM

Fix:
Change doWaypointEvent ‘count’ argument from short to int
SuperActivity : OnWaypointMangerListener Implementation

Add:
Stubs for Listener callbacks
Strings : wpevent reseource strings

Add
1. wpevent_upload - “Uploading mission to APM…”
2. wpevent_download - “Downloading mission from APM…”
SuperActivity: remove call back codes

Remove:
Call back does not happen here
NewUI implments in InfoMenu class instead.

Fix:
change sett to a better name fro consistency
InfoMenu: Read/Write implementation

Add:
1. New argument to InfoMenu constructor (drone, context)
2. Listener callback methods

SuperUI:
Supplied new argument to the InfoMenu new constructor
WaypointEvent_Type: new enums to cater MAVLink retry handler feature

Add:
WP_RETRY
WP_CONTINUE
WP_TIMEOUT
WaypointManager: Retry event trigger

Add:
1. retryIndex variable - to keep track of retry count
2. maxRetry variable - to set the timeout timer and as a reference to
event callback argument
WaypointManager: Continue event trigger

To notify a rettry is successful and now continuuing with
upload/download
InfoMenu: Retry & Continue implementation
Merge pull request #401 from azrin1972/Waypoint-Progressbar

Waypoint progressbar