Timex M851 Design Manual
Timex M851 Design Manual

Timex M851 Design Manual

Wristapp gui plug-in
Hide thumbs Also See for M851:

Advertisement

M851 WristApp GUI Plug-in
Design Guide
Timex Corporation
March 31, 2003

Advertisement

Table of Contents
loading

Summary of Contents for Timex M851

  • Page 1 M851 WristApp GUI Plug-in Design Guide Timex Corporation March 31, 2003...
  • Page 2 M851 WristApp GUI Plug-in Design Guide Rev 1.0 DOCUMENT REVISION HISTORY REVISION: 1.0 DATE: 5/06/2003 AUTHOR: Brigham W. Thorp AFFECTED DESCRIPTION PAGES Created document. Timex Corporation...
  • Page 3: Table Of Contents

    ProcessData Function ......................3 3.2.3 Creating the DLL........................4 3.2.4 Example application – World Time ..................6 ........................ 7 RIST NFORMATION 3.3.1 Distributing the WristApp....................... 7 3.3.2 Changed WristApp Data......................8 3.3.3 Reading WristApp Data......................8 TRADEMARKS ........................... 8 Timex Corporation...
  • Page 4: Introduction

    Rev 1.0 1 Introduction The Timex Data Link USB watch supports downloading of programs called WristApps that add additional functionality to the device. Unlike built-in applications that are present in the device ROM, WristApps have code that use some watch memory. In addition, a WristApp may or may not have a database associated with it.
  • Page 5: System Overview

    PIM contains all of the data editors for each of the built-in modes. The data-editors themselves handle import plug-ins that allow you to import data from different sources such as CSV files or schedules over the Internet. The simple diagram shown below represents the Timex Data Link USB system. Timex Data Link USB PC Software Architecture...
  • Page 6: Developing The Application

    When the user has finished with the dialog, the updated database should be saved. For consitency between applications, Timex recommends using a dialog based class and saving data on the OK button press. Closing of the dialog should occur on the OK button, Cancel button, or ‘X’ button press.
  • Page 7: Creating The Dll

    Step 2: Select MFC AppWizard (dll) , enter the name of the project, as well as the project location., then click on OK. Step 3: Choose Regular DLL using shared MFC DLL, and leave the other settings alone. Click on Finish. Timex Corporation...
  • Page 8 "C" BOOL FAR PASCAL EXPORT Show(LPCTSTR lpszDataPath, LPVOID pData) //Need to use this macro whenever we access resources from MFC DLL AFX_MANAGE_STATE(AfxGetStaticModuleState()); CString sINIFile = lpszDataPath; sINIFile += "App\\TestApp.ini"; CTestApp dlg; dlg.m_sIniFileName = lpszDataPath; dlg.m_sIniFileName += "App\\TestApp.ini"; return dlg.DoModal(); Timex Corporation...
  • Page 9: Example Application - World Time

    3.2.4 Example application – World Time The World Time WristApp that comes with the Timex Data Link USB has a user interface that allows you to configure the different time zones within the WristApp. As described above, the Show and ProcessData functions are called by the PIM to launch the GUI Plug- in.
  • Page 10: Wristapp Information

    DLL that is created is present in the same directory as the other WristApp files (the App subdirectory where the PIM is installed) . However, the developer is free to place any additional subdirectories into the WristApp directory to be used for data storage. Timex Corporation...
  • Page 11: Changed Wristapp Data

    4 Trademarks TIMEX is a registered trademark and service mark of Timex Corporation. TIMEX DATA LINK and WristApp are trademarks of Timex Corporation in the U.S. and other countries. Night-Mode is a registered trademark of Timex Corporation. INDIGLO is a registered trademark of Indiglo Corporation.

Table of Contents