Changes required for version 20.10

Upgrading to v20.10 and beyond

Version 20.10 of Trimble Access supports the Android platform for Scapi plugins. This has necessitated some changes to the SDK and in order to keep development similar for both Windows and Android we have made a few changes to the Windows Scapi SDK. Plugins built using the Trimble Access v19.xx or 20.xx SDK for Windows are binary-compatible with version 20.10, provided there is no use of the Windows GDI+ API.

There are two primary areas of change for Windows development:

And some other things to note:

By making these changes for Windows, a plugin will become very close to the state required to run on Android. 

Version 19.xx and 20.01 compatibility on Windows

To allow plugins built with an older SDK (19.xx and 20.01) to continue working:

Upgrading existing Windows plugins v20.10

The required changes to source code are essentially the same as those for Android; plugins should mostly work in both environments without #if's, except for plugins making use of the Windows API. There are also a few changes required in the build.

Example of tsc_InitializePlugin function

Example of code to be added to existing tsc_InitializePlugin function (use the same code for both Windows and Android):

extern void tsc_InitializePlugin ()

{

    tsc_SurveyCore::RegisterApplication (...);

    tsc_SurveyCore::RegisterUITask (...);

    ...

    tsc_SurveyCore::RegisterAssets (

    {

        {IDB_FolderIcon, "FolderPic.png"},

        {IDB_Pencil, "Pencil.png"},

        {IDF_TemplateXml, "CustomDataTemplate.xml"}

    });

}