GithubHelp home page GithubHelp logo

ladrians / androidextensionssample Goto Github PK

View Code? Open in Web Editor NEW

This project forked from genexuslabs/sdextensionssample

0.0 2.0 0.0 93 KB

This repository contains extensions samples for the Android generator.

License: MIT License

Java 48.70% Swift 51.30%

androidextensionssample's Introduction

Smart Devices Extension 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 implementation for iOS for the User Control and External Object.
  • An app that lets you try out both extensions.

Requirements

  • Genexus 15 (Upgrade 9 or later)
  • JDK and Android SDK for Android generator
  • MAC machine for iOS generator

For more details see:

Instructions

Import the User Control definition in Genexus

  • Set the following environment variable:
    • GENEXUS_HOME to your Genexus installation directory.
  • Copy the BasicUserControl directory to %GENEXUS_HOME%\UserControls.
  • Run genexus.exe /install.

Import the External Object definition in Genexus

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

Import the Genexus Library definition to Genexus

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

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.

Android specific

Deploy the Genexus Android Module to Genexus

  • Set the following environment variable:
    • ANDROID_HOME to your Android SDK directory.
  • Run the command gradlew uploadArchives from the SampleModule directory.

Further reading

User Controls

External Objects

License

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.