Android Extensions Sample
This sample contains:
- A
User Control
definition. - An
External Object
definition. - An
Android Library
project of aGenexus Module
that implements the two previously defined extensions. - An
Genexus Library
definition which declares theAndroid Library
which implements theUser Control
andExternal Object
in Android and its correspondingGenexus 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 theSampleModule
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.