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
GeneXus is a registered trademark of GeneXus S.A. Use of the GeneXus name, logo, or related trademarks must comply with GeneXus S.A.'s trademark guidelines. This project is not officially endorsed by or affiliated with GeneXus S.A. beyond being published by its engineering teams.
Third-party trademarks referenced in this project are the property of their respective owners:
- Android is a trademark of Google LLC.
- Google and Google Play are trademarks of Google LLC.
- Kotlin is a trademark of the Kotlin Foundation, developed by JetBrains s.r.o.
- Gradle is a trademark of Gradle, Inc.
- iOS, macOS, Swift, and Xcode are trademarks of Apple Inc.
- Maven is a trademark of the Apache Software Foundation.
References to these names are for descriptive purposes only and do not imply any endorsement by or affiliation with the respective trademark owners.
This project is licensed under the MIT License. See the LICENSE file for more details.