Skip to content

cinthamo/AndroidExtensionsSample

 
 

Repository files navigation

Android Extensions 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 app that lets you try out both extensions.

Requirements

  • Genexus 15 (Upgrade 3 or later)
  • JDK
  • Android SDK

For more details see Android Requirements for Genexus 15.

Instructions

Deploy the Genexus Android Module to Genexus

  • Set the following environment variables:
    • GENEXUS_HOME to your Genexus installation directory.
    • ANDROID_HOME to your Android SDK directory.
  • Run the command gradlew uploadArchives from the SampleModule directory.

Import the User Control definition to Genexus

  • Copy the BasicUserControl directory to %GENEXUS_HOME%\UserControls.
  • Run genexus.exe /install.

Import the Genexus Library definition to Genexus

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

Import the External Object definition to Genexus

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

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.

Further reading

User Controls

External Objects

License

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

About

This repository contains extensions samples for the Android generator.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 100.0%