Skip to content

Latest commit

 

History

History
55 lines (42 loc) · 2.34 KB

File metadata and controls

55 lines (42 loc) · 2.34 KB

Smart Devices Extension Sample

This sample contains:

  • A User Control definition.
  • An External Object definition.
  • An Android Library project of a Genexus Module that implements the two previously defined extensions.
  • An Genexus Library definition which declares the Android Library which implements the User Control and External Object in Android and its corresponding Genexus Module name.
  • An implementation for iOS for the User Control and External Object.
  • An app that lets you try out both extensions.

Requirements

  • Genexus 15 (Upgrade 9 or later)
  • JDK and Android SDK for Android generator
  • MAC machine for iOS generator

For more details see:

Instructions

Import the User Control definition in Genexus

  • Set the following environment variable:
    • GENEXUS_HOME to your Genexus installation directory.
  • Copy the BasicUserControl directory to %GENEXUS_HOME%\UserControls.
  • Run genexus.exe /install.

Import the External Object definition in Genexus

  • Open Genexus.
  • Import the BasicExternalObject definition from BasicExternalObject\BasicExternalObject.xpz.

Import the Genexus Library definition to Genexus

  • Copy the SampleLibrary directory to %GENEXUS_HOME%\Libraries.

Import the sample app (optional).

To try out the BasicUserControl and BasicExternalObject samples you may wish to import the sample app from SampleApp\BasicSample.xpz.

Android specific

Deploy the Genexus Android Module to Genexus

  • Set the following environment variable:
    • ANDROID_HOME to your Android SDK directory.
  • Run the command gradlew uploadArchives from the SampleModule directory.

Further reading

User Controls

External Objects

License

This project is licensed under the MIT License. See the LICENSE file for more details.