The Device Profile Database

The device profile database contains information about hundreds of mobile devices - everything from screen sizes and memory amounts to obscure bugs and undocumented quirks. It can be used to tailor your application to different devices or create fallbacks for unsupported features.

Profile Database

Our device profile database is stored as a hierarchical filesystem structure - one directory per device vendor, each containing per-device subdirectories. Each device directory contains a C header file with information about the device formatted as C preprocessor definitions, and a textual reference to the associated runtime. The profile header file can be used in MoSync programs to automatically modify their functionality depending on the target device: Common information in profiles include vendor and device names, screen size and API availability, for example Bluetooth or Location.


if-defs sample



Share on Facebook