Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of contents

...

Table of Contents
minLevel1
maxLevel4

Introduction

...

This explanation assumes that the i-PRO camera application development environment has been completed.
If you are not ready to build the development environment, please refer to here to complete it.

Also, in this tutorial, the SDK installation directory is described as ${SDK_DIR}.

Operation overview

...

skeleton_sample_app is the base for application development. If this app is build and run, there are no features worth mentioning.
When creating a new application, copy the entire folder of skeleton_sample_app and use it.

External libraries required for operation

...

No special mention.

Directory path of the sample app

...

The C/C++ source code is stored below.

...

Info

We recommend jpeg_app as a sample app that is the base for Python application development.

${SDK_DIR}/src/adamapp-py/jpeg_app

How to build the sample app (C/C++)

...

Load the build environment settings file in the SDK installation directory.

...

It is successful if a character string like the image below is displayed.

...

How to use the sample app

...

No noteworthy matters as it is the base for application development.

Appendix

...

Summary

This sample application has only system required event handlers.
The system event loop uses the main thread.

Event Handlers

  1. Stop Handler
    Called when stopApplication command requested.
    This sample handler call ADAM_Eventloop_Exit() for finish the main
    event loop.

  2. Server Request Receive Handler
    Called when sendDataToAdamApplication command requested.
    This sample handler returns
    - same m_type ( s_appDataType -> r_appDataType )
    - swapped capital character and small character ( s_appData -> r_appData )

Main program

performs the minimum procedure.

...