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 implementation for iOS for the User Control and External Object.
- An app that lets you try out both extensions.
- GeneXus (latest upgrade is recommended)
- JDK and Android SDK for Android generator
- MAC machine for iOS generator
For more details see:
- Copy the
SampleLibrary
directory to theLibraries
directory in your GeneXus installation.
- Copy the
BasicUserControl
directory to theUserControls
directory in your GeneXus installation. - Run
genexus.exe /install
in a command line in the Genexus installation directory.
- Open GeneXus and open the KB to work with.
- Import the BasicExternalObject definition from
BasicExternalObject\BasicExternalObject.xpz
.
To try out the BasicUserControl and BasicExternalObject samples you may wish to import the sample app from SampleApp\BasicSample.xpz
.
- Set the following system environment variables:
GENEXUS_REPO
to GeneXus Android Maven repository located inAndroid\m2repository
inside your GeneXus installation (e.g.file:///C:/path/to/GX/Android/m2Repository
, making sure it starts with thefile
scheme).ANDROID_HOME
to your Android SDK directory.
- Run the command
gradlew publishDebugPublicationToInternalRepository
from theSampleModule
directory.
- Take into account that this project uses the latest
FlexibleClient
version installed atGENEXUS_REPO
. If you need to work with a specific one, you will have to replace it in library/build.gradle file.
- User Control definition file syntax
- User Control properties file syntax
- External Objects for Smart Devices
This project is licensed under the MIT License. See the LICENSE file for more details.