Developing Garmin SmartWatch Apps with ConnectIQ Platform-Part 2
This is part 2 of blog series that covers a tutorial on developing Wearables App for Garmin SmartWatches. In this part of the tutorial we will write the logic to display Meeting Alerts in the watch widget that we created in part-1 of this tutorial. Lets create a Monkey-C class called MeetingAlert.mc in the CalendarAlerts ConnectIQ Eclipse Project. MeetingAlert class will represent a single MeetingAlert record that we will receive from the Android Device over BLE. using Toybox.System as Sys; class MeetingAlert { //mTime - meeting time //mDate - meeting date //mSubject - meeting subject //mLocation -meeting location hidden var mTime, mDate, mSubject, mLocation; function getMeetingTime() { return mTime; } function getMeetingDate() { return mDate; } function getMeetingSubject() { return mSubject; } function getMeetingLocation() { return mLocation; } } We can assume that the calendar event details are received from Android Device whenever t...