Pooka SDK Developer Guide
Building Sample Projects

Learning SDK with Sample Projects

More than 100 Sample Projects for SDK Learning

The best way to jumpstart cross-platform application development with Pooka SDK® is studying on the sample projects. Pooka SDK® provides more than 100 sample projects, categorized by skill level. Each sample project covers one or few specific technical area or features of the SDK.

Following is the folder structure of sample project directory, can be found at [SDK Root]/Samples.

  • Samples
    • MiniFC.Core
      • A-Beginner - Introduce fundamental concept and functions of Pooka SDK, which is essential to a practical application.
      • B-Intermediate - Introduce core features used to build applications, such as 2D sprite, 3D graphics, light-weight component and so on.
      • C-Advanced - Introduce advance features used to build applications, such as multi-threading, location service, in-app advertising and so on.
      • D-Comprehensive - Demonstrate building comprehensive and near-commercial cross-platform applications by Pooka SDK.
    • MiniFC.NetExt
      • Socket - Introduce socket based networking by Pooka SDK®.
      • HttpClient - Introduce building HTTP client applications
      • WebService - Introduce building web service client applications
      • WebPane - Demonstrate the light-weight web component (LWWebPane) that can shows HTML/CSS content inside application
      • MultiplayerGame - Comprehensive real-time multi-player game samples
    • Workspace_AllProjects
      • All_Samples_Win32_VS2015.sln - The Visual Studio 2015/2017 solution contains all Windows desktop edition sample projects
      • All_Samples_WinUWP_VS2015.sln - The Visual Studio 2015/2017 solution contains all Windows UWP edition sample projects
      • All_Samples_Android_VS2015.sln - The Visual Studio 2015/2017 solution contains all Android edition sample projects
      • All_Samples_macOS_XCode9.xcworkspace - The Visual Studio 2015/2017 solution contains all macOS edition sample projects
      • All_Samples_iOS_XCode9.xcworkspace - The Visual Studio 2015/2017 solution contains all iOS edition sample projects
For the whole list of Pooka SDK® sample projects, see the page Sample Projects.

Sample project directory structure

Each individual sample project is stored in a dedicated directory. The project directory is location-independent, which means you can put it any where in host computer (as long as the location not exceed the path limit for certain compiler, like GCC or CLang/LLVM)

If you prefer a all-in-one workspace (XCode) or solution (Visual Studio) FILE contains all sample project, you can find them under directory [SDK root]/Samples/Workspace_AllProjects.

All sample projects are generated by Pooka SDK® project creator, therefore its directory structure a directory with strict folder structure that works with Pooka SDK® and recommended development IDEs. See Using Pooka Project Creator for more details.

Build sample project with recommended IDEs

The following chart shows the recommended integrated development environment (IDEs) you can use to build sample projects. There are other alternative development tools and IDEs that you can use, but it requests certain amount of work effort to manually customize the projects to make the sample project built.

Host OS Windows 10 64-bit
(1607 or above)
macOS X
(10.12 sierra or above)
Recommended IDE
Visual Studio 2015 (update 3)
2017 (version 15.5)
XCode 8.x
XCode 9.x
App. Target OS Windows desktop App
Windows UWP App
Android App
macOS App
iOS App

 Note  Development Environment Setup
Developers need to set up their computer or IDE to be able to build Pooka SDK® projects, refer to Development Environment Setup for more details.

 Note  Upgrading Sample Projects
When a sample project is opened by an IDE with the version higher than the one it was created, the project should be either upgraded or modernized to conform to the newer build tools and platform SDK. For example, when a sample project for Visual Studio 2015 is opened by Visual Studio 2017, an one-way upgrade dialog is shown to help you upgrade the project for Visual Studio 2017. When a sample project for XCode 8.x is opened by XCode 9.x, there might be numbers of modernization issues listed in the issue navigator, click "Perform Changes" to modernize the project.