This sample contains:
- A
User Controldefinition. - An
External Objectdefinition. - An
Android Libraryproject of aGeneXus Modulethat implements the two previously defined extensions. - An
GeneXus Librarydefinition which declares theAndroid Librarywhich implements theUser ControlandExternal Objectin Android and its correspondingGeneXus Modulename. - 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
SampleLibrarydirectory to theLibrariesdirectory in your GeneXus installation.
- Copy the
BasicUserControldirectory to theUserControlsdirectory in your GeneXus installation. - Run
genexus.exe /installin a command line in the Genexus installation directory.
- Open GeneXus and open the KB to work with.
- Import the BasicExternalObject definition from
BasicExternalObject\BasicExternalObject.xml.
To try out the BasicUserControl and BasicExternalObject samples you may wish to import the sample app from SampleApp\BasicSample.xml.
- Set the following system environment variables:
GENEXUS_REPOto GeneXus Android Maven repository located inAndroid\m2repositoryinside your GeneXus installation (e.g.file:///C:/path/to/GX/Android/m2Repository, making sure it starts with thefilescheme).ANDROID_HOMEto your Android SDK directory.
- Run the command
gradlew publishDebugPublicationToInternalRepositoryfrom theSampleModuledirectory.
- Take into account that this project uses the latest
FlexibleClientversion 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.