Arcgis Runtime: Building Cross-Platform Apps Mark Baird Luke Smallwood Rex Hansen Thank You to Our Sponsors Agenda

Total Page:16

File Type:pdf, Size:1020Kb

Arcgis Runtime: Building Cross-Platform Apps Mark Baird Luke Smallwood Rex Hansen Thank You to Our Sponsors Agenda ArcGIS Runtime: Building Cross-Platform Apps Mark Baird Luke Smallwood Rex Hansen Thank You to Our Sponsors Agenda • Cross-platform review • ArcGIS Runtime cross-platform options - Java - Qt - .NET Native vs Web? • Native apps • App installed on the device • Use Platform / Operating System APIs • Best performance and device integration • Support for connected and offline workflows • Work well when you have the ability to determine devices • Use ArcGIS Runtime SDKs to create native apps • Web apps • Web site/app downloaded from a server • Best for wider range of users on unknown devices • Use the ArcGIS API for JavaScript to create web client solutions • User experience and capabilities increasingly blurred as technologies evolve http://esriurl.com/ChoosingAnAPI Native app cross-platform considerations • Benefits - Share application code - Enforces good design patterns - Makes your app available to more users • Challenges - Testing - User experience of your app may vary - Handling platform idiosyncrasies (security, bugs, etc) - Development cost Building Native Apps on Multiple Platforms • How do you choose a cross platform SDK? - Business, technical, and user requirements - Developer skillset • Multiple options available - Oracle Java - Qt Company - Microsoft .NET/Xamarin ArcGIS Runtime cross-platform options • All Runtime APIs built on common Runtime core Java Qt / QML .NET / Xamarin Android Java iOS macOS Qt .NET C++ runtime core Android Linux iOS macOS Windows UWP DirectX x86 x64 ARM OpenGL Java Mark Baird Qt Luke Smallwood .NET Xamarin Rex Hansen Java Mark Baird Cross platform Java Development • “Write once, run anywhere” • ArcGIS Runtime SDK for Java targets Windows, Mac, and Linux desktops • Sits on the ArcGIS Runtime core architecture (C++) via JNI • JavaFX for building modern, native-looking GUIs • Massive ecosystem of mature, open- source libraries to use API Architecture Java SE API Android API Java Common API Interop C++ Core JavaFX • Layout uses a native window • Styling with CSS • Programmatic and markup (FXML) options for layout Be mindful of file paths • C:\Users\Tyler\Projects\MyData.geodatabase • /Users/Tyler/Projects/MyData.geodatabase <StackPane fx:controller="com.esri.samples.mysample.SampleController" xmlns:fx="http://javafx.com/fxml" stylesheets="/css/style.css"> <MapView fx:id=“mapView"/> <!-- SDK control --> <HBox StackPane.alignment="TOP_CENTER" maxWidth="200" maxHeight="50" spacing="5" styleClass="panel-region"> <Label text=“Click me: "/> <Button fx:id=“myButton" onAction=“#myEvent"/> </HBox> </StackPane> Distribution Deploy Windows Linux Mac OS X JAR file JRE JRE JRE Compile JAR file JAR file JAR file IDE Runtime Core Runtime Core Runtime Core .dll file .so file .dylib file Development environment Cross platform deployments Demo An App for Windows, Linux, and Mac javapackager -deploy -native -outdir packages -outfile SampleViewer -srcDir ./ -srcfiles java-se-sample-viewer-1.0.jar -srcfiles jniLibs -srcfiles resources -srcfiles samples-data -appclass com.esri.sampleviewer.App -name "SampleViewer" -title "Sample Viewer“ Summary • Pros - IDE and JDK are free - Deployments can be identical for ALL platforms - JavaFX apps style for the platform • Cons - Clients must have Java installed - Not targeted for mobile or web apps Qt Luke Smallwood ArcGIS Runtime SDK for Qt: Topics: • What is Qt? • Which platforms can I build for? • How do I get set up? • What language do I use? • What will my apps look like? • What are the Pros and Cons? What is Qt? The Qt Company – www.qt.io Code less, create more, deploy everywhere • A complete cross-platform software experience - C++ libraries - Ready-made UI elements - Tooling • Over 1 million developers (indie, corporate) worldwide • Open-source community Which platforms can I build for? ArcGIS Runtime SDK for Qt • Windows – x86, x64 • Linux – x64 • macOS – x64 • Android – armv7, x86 • iOS – armv7, arm64, sim • Universal Windows Platform (UWP) How do I get set up? • Setup Qt: - Create account - License / open-source? - Install kits • Setup ArcGIS Runtime SDK for Qt - https://developers.arcgis.com/qt/latest/ • Compiler, SDK dependencies - iOS: Xcode compiler - Windows: Visual Studio compiler, debugging tools - Linux: GCC compiler - Android: Android NDK and SDK • IDE - Qt Creator What language do I use? ArcGIS Runtime SDK for Qt 2 APIs: same Runtime Core (C++) • C++ API - Modern C++ language (C++ 11) - Fast performance • QML API - Qt Quick (QML) for UI - Declarative language - Imperative JavaScript business logic code - AppStudio (Survey 123) QML API Example QML API code Highly readable JSON/CSS- ArcGIS like syntax Runtime Declarative UI elements Dynamic property binding Imperative JavaScript Code to handle events Qt SDK Demo - Getting started What will my Apps look like? ArcGIS Runtime SDK for Qt Choice of UI framework: • C++ API - Widgets (desktop based) - QtQuick (declarative, mobile and desktop) • QML API - Business logic and UI in QtQuick Qt Quick Controls 1 Native Look and feel • macOS • Android – Nexus 5 Qt Quick Controls 2 Styled look and feel • UniversalMaterialDefaultFusionImagine stylestyle style style • Available Styles - Default style - Material style - Google’s guidelines - Universal style - Microsoft’s guidelines - Fusion style - Desktop-oriented look and feel - Imagine style - Based on image assets Qt Quick Controls Demo What are the Pros and Cons? ArcGIS Runtime SDK for Qt Pros - Write once - Same APIs and code - Consistent, styled look and feel - Access to device sensors - Open-source community - QML or C++ - based on experience Cons - Incomplete native APIs - Common abstraction API for iPhone and Android SDKs - Won’t match the look and feel of the native platform - Qt framework can increase apps size .NET Xamarin Rex Hansen .NET cross-platform with Xamarin • Xamarin enables cross-platform development for .NET • C# for Android and iOS • Uses the Mono .NET framework • Compiles into a native Android or iOS app • Exposes all APIs in Android and iOS SDKs • Re-use most of your .NET code across Android, iOS, and Windows • UI code is platform specific • Device code is platform specific (e.g. Bluetooth, GPS, sensors) • Take a look at Xamarin Essentials: https://github.com/xamarin/Essentials .NET cross-platform with Xamarin • Xamarin.Forms - Cross-platform UI framework - UI is rendered using native controls of target platform - Use XAML or C# to create UI • Can use combination of Xamarin ‘native’ and Xamarin.Forms • Other abstraction libraries can reduce platform-specific code - Many available on NuGet.org What is ArcGIS Runtime SDK for .NET • Supports: - Windows Presentation Foundation (WPF) - Universal Windows Platform (UWP) - Xamarin.Android - Xamarin.iOS - Xamarin.Forms (Android, iOS, and UWP) • The same business logic code for all platforms - Use native platform UI framework - Or use Xamarin.Forms abstraction to share UI logic as well ArcGIS Runtime SDK for .NET & Xamarin Architecture Diagram WPF UWP iOS Android Xamarin Forms Common UI WPF UWP iOS Android Native UI ArcGIS Runtime SDK for .NET (C#) • MapView, SceneView Public SDK .NET Framework .NET Core Mono / Xamarin Common SDK .NET Standard • Maps, scenes, layers, symbols, feature data, geocoding, routing, Interop portal, rasters, offline/syncing, geometry, geometry engine… Internal ArcGIS Runtime Core (C++) Where all the magic happens Windows Runtime OS Win32 iOS Android Solution Overview MyApp.Android MyApp.iOS MyApp.UWP MyApp.WPF MyApp.Xamarin.Shared MyApp.Shared Xamarin Demo github.com / Esri / arcgis-runtime-demos-dotnet Pros and Cons • Pros: - Xamarin is free and Open Source - Note: Visual Studio is not free for most commercial uses though - Target all platforms in a single IDE (Visual Studio), on a single OS* - Full access to all native platform APIs • Cons: - Not 100% abstraction of all platform code - Significant technology stack - *You need a Mac for iOS deployment ArcGIS Runtime cross-platform options • All Runtime APIs built on common Runtime core Java Qt / QML .NET / Xamarin Android Java iOS macOS Qt .NET C++ runtime core Android Linux iOS macOS Windows UWP DirectX x86 x64 ARM OpenGL Summary • How do you choose a cross platform SDK? - Understand expectations of your users - Understand skillset of your developers • Options and ArcGIS Runtime SDKs - Oracle Java => ArcGIS Runtime SDK for Java - Qt Company => ArcGIS Runtime SDK for Qt - Microsoft Xamarin => ArcGIS Runtime SDK for .NET Questions? developers.arcgis.com/arcgis-runtime .
Recommended publications
  • Building Openjfx
    Building OpenJFX Building a UI toolkit for many different platforms is a complex and challenging endeavor. It requires platform specific tools such as C compilers as well as portable tools like Gradle and the JDK. Which tools must be installed differs from platform to platform. While the OpenJFX build system was designed to remove as many build hurdles as possible, it is necessary to build native code and have the requisite compilers and toolchains installed. On Mac and Linux this is fairly easy, but setting up Windows is more difficult. If you are looking for instructions to build FX for JDK 8uNNN, they have been archived here. Before you start Platform Prerequisites Windows Missing paths issue Mac Linux Ubuntu 18.04 Ubuntu 20.04 Oracle Enterprise Linux 7 and Fedora 21 CentOS 8 Common Prerequisites OpenJDK Git Gradle Ant Environment Variables Getting the Sources Using Gradle on The Command Line Build and Test Platform Builds NOTE: cross-build support is currently untested in the mainline jfx-dev/rt repo Customizing the Build Testing Running system tests with Robot Testing with JDK 9 or JDK 10 Integration with OpenJDK Understanding a JDK Modular world in our developer build Adding new packages in a modular world First Step - development Second Step - cleanup Before you start Do you really want to build OpenJFX? We would like you to, but the latest stable build is already available on the JavaFX website, and JavaFX 8 is bundled by default in Oracle JDK 8 (9 and 10 also included JavaFX, but were superseded by 11, which does not).
    [Show full text]
  • Using FXML in Javafx
    JavaFX and FXML How to use FXML to define the components in a user interface. FXML FXML is an XML format text file that describes an interface for a JavaFX application. You can define components, layouts, styles, and properties in FXML instead of writing code. <GridPane fx:id="root" hgap="10.0" vgap="5.0" xmlns="..."> <children> <Label fx:id="topMessage" GridPane.halignment="CENTER"/> <TextField fx:id="inputField" width="80.0" /> <Button fx:id="submitButton" onAction="#handleGuess" /> <!-- more components --> </children> </GridPane> Creating a UI from FXML The FXMLLoader class reads an FXML file and creates a scene graph for the UI (not the window or Stage). It creates objects for Buttons, Labels, Panes, etc. and performs layout according to the fxml file. creates FXMLLoader reads game.fxml Code to Provide Behavior The FXML scene define components, layouts, and property values, but no behavior or event handlers. You write a Java class called a Controller to provide behavior, including event handlers: class GameController { private TextField inputField; private Button submitButton; /** event handler */ void handleGuess(ActionEvent e)... Connecting References to Objects The FXML scene contains objects for Button, TextField, ... The Controller contains references to the objects, and methods to supply behavior. How to Connect Objects to References? class GameController { private TextField inputField; private Button submitButton; /** event handler */ void handleGuess(ActionEvent e)... fx:id and @FXML In the FXML file, you assign objects an "fx:id". The fx:id is the name of a variable in the Controller class annotated with @FXML. You can annotate methods, too. fx:id="inputField" class GameController { @FXML private TextField inputField; @FXML private Button submitButton; /** event handler */ @FXML void handleGuess(ActionEvent e) The fxml "code" You can use ScaneBuilder to create the fxml file.
    [Show full text]
  • Draft ETSI EN 301 549 V0.0.51
    (2018-02) Draft EN 301 549 V2.1.1 HARMONISED EUROPEAN STANDARD Accessibility requirements for ICT products and services 2 Draft EN 301 549 V2.1.1 (2018-02) Reference REN/HF-00 301 549 Keywords accessibility, HF, ICT, procurement CEN CENELEC ETSI Avenue Marnix 17 Avenue Marnix 17 650 Route des Lucioles B-1000 Brussels - BELGIUM B-1000 Brussels - BELGIUM F-06921 Sophia Antipolis Cedex - FRANCE Tel: + 32 2 550 08 11 Tel.: +32 2 519 68 71 Fax: + 32 2 550 08 19 Fax: +32 2 519 69 19 Tel.: +33 4 92 94 42 00 Fax: +33 4 93 65 47 16 Siret N° 348 623 562 00017 - NAF 742 C Association à but non lucratif enregistrée à la Sous-Préfecture de Grasse (06) N° 7803/88 Important notice Individual copies of the present document can be downloaded from: ETSI Search & Browse Standards The present document may be made available in more than one electronic version or in print. In any case of existing or perceived difference in contents between such versions, the reference version is the Portable Document Format (PDF). In case of dispute, the reference shall be the printing on ETSI printers of the PDF version kept on a specific network drive within ETSI Secretariat. Users of the present document should be aware that the document may be subject to revision or change of status. Information on the current status of this and other ETSI documents is available at ETSI deliverable status If you find errors in the present document, please send your comment to one of the following services: ETSI Committee Support Staff Copyright Notification No part may be reproduced except as authorized by written permission.
    [Show full text]
  • Our Journey from Java to Pyqt and Web for Cern Accelerator Control Guis I
    17th Int. Conf. on Acc. and Large Exp. Physics Control Systems ICALEPCS2019, New York, NY, USA JACoW Publishing ISBN: 978-3-95450-209-7 ISSN: 2226-0358 doi:10.18429/JACoW-ICALEPCS2019-TUCPR03 OUR JOURNEY FROM JAVA TO PYQT AND WEB FOR CERN ACCELERATOR CONTROL GUIS I. Sinkarenko, S. Zanzottera, V. Baggiolini, BE-CO-APS, CERN, Geneva, Switzerland Abstract technology choices for GUI, even at the cost of not using Java – our core technology – for GUIs anymore. For more than 15 years, operational GUIs for accelerator controls and some lab applications for equipment experts have been developed in Java, first with Swing and more CRITERIA FOR SELECTING A NEW GUI recently with JavaFX. In March 2018, Oracle announced that Java GUIs were not part of their strategy anymore [1]. TECHNOLOGY They will not ship JavaFX after Java 8 and there are hints In our evaluation of GUI technologies, we considered that they would like to get rid of Swing as well. the following criteria: This was a wakeup call for us. We took the opportunity • Technical match: suitability for Desktop GUI to reconsider all technical options for developing development and good integration with the existing operational GUIs. Our options ranged from sticking with controls environment (Linux, Java, C/C++) and the JavaFX, over using the Qt framework (either using PyQt APIs to the control system; or developing our own Java Bindings to Qt), to using Web • Popularity among our current and future developers: technology both in a browser and in native desktop little (additional) learning effort, attractiveness for new applications.
    [Show full text]
  • Migrating Behavior Searchâ•Žs User Interface from Swing to Javafx
    Augustana College Augustana Digital Commons Celebration of Learning May 3rd, 12:00 AM - 12:00 AM Migrating Behavior Search’s User Interface from Swing to JavaFX An Nguyen Dang Augustana College, Rock Island Illinois Follow this and additional works at: http://digitalcommons.augustana.edu/celebrationoflearning Part of the Education Commons Augustana Digital Commons Citation Nguyen Dang, An. "Migrating Behavior Search’s User Interface from Swing to JavaFX" (2017). Celebration of Learning. http://digitalcommons.augustana.edu/celebrationoflearning/2017/posters/10 This Poster Presentation is brought to you for free and open access by Augustana Digital Commons. It has been accepted for inclusion in Celebration of Learning by an authorized administrator of Augustana Digital Commons. For more information, please contact [email protected]. Migrating BehaviorSearch’s User Interface from Swing to JavaFX An Nguyen Dang, and Forrest Stonedahl* Mathematics and Computer Science Department, Augustana College *Faculty Advisor I. Introduction II. Motivation III. Challenges Agent-Based Models (ABMs) and NetLogo Java Swing Graphical User Interface (GUI) Multithreading in JavaFX • Agent-based modeling is a computer modeling technique that • Earlier versions of BehaviorSearch used the Swing GUI library • When dealing with time-consuming computational tasks, like focuses on modeling the rules of individuals ("agents") and • With Swing, all of the graphical components and controlling what BehaviorSearch does to analyze models, it is important to simulating the interactions between these individuals. methods get embedded in the same code, which makes the code do those tasks in a parallel worker thread, so that the GUI stays • ABMs are widely used to simulate behavior in many fields long and hard to debug responsive.
    [Show full text]
  • Transforming the Way the World Runs Applications
    Transforming the Way the World Runs Applications Enterprise OSGiTM - Why should I care? Copyright © 2006-2008 Paremus Ltd Transforming the Way the World Runs Applications February 2008 ‣ OSGi - Overview ‣ OSGi - Current Enterprise Initiatives ‣ OSGi - “The Cure” or “the Final Straw”? ‣ The bigger picture ‣ Conclusions Copyright © 2006-2008 Paremus Ltd Transforming the Way the World Runs Applications February 2008 ‣ The OSGi Alliance formed in 1999 to focus on standardizing dynamic services in embedded devices; (originally started life as JSR 8!) ‣ OSGi Alliance (www.osgi.org) now has representation from most technology companies and a variety of large end user organizations. ‣ Members include IBM, RedHat, Oracle [BEA], SAP AG, Sun Microsystems, Motorola, Nokia, NEC, SpringSource Copyright © 2006-2008 Paremus Ltd Transforming the Way the World Runs Applications February 2008 Modules Life Cycle Execution One of the nicest things about OSGi is Environment Service that there isn’t much to say! Registry Bundles Copyright © 2006-2008 Paremus Ltd Transforming the Way the World Runs Applications February 2008 OSGi Execution Environment Modules The OSGi ‘Execution Environment’ may be hosted by Java 2 J2SE, CDC, CLDC, MIDP environments. Life Cycle Execution Environment Service The OSGi platform has Foundation Profile and a small number of additions Registry that specifies the minimum requirements on an execution environment to be Bundles useful for OSGi bundles. Copyright © 2006-2008 Paremus Ltd Transforming the Way the World Runs Applications February 2008 OSGi Modules Modules The ‘Modules’ layer defines the class loading policies. The OSGi Modules layer Life Cycle adds private classes for a module as well as controlled linking between Execution Environment modules.
    [Show full text]
  • (Microsoft Powerpoint
    Entwicklung mit JavaFX Die Java UI-Technologie im JDK 8 Wolfgang Weigend Sen. Leitender Systemberater Java Technologie und Architektur 1 Copyright © 2016 Oracle and/or its affiliates. All rights reserved. The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle. 2 Copyright © 2016 Oracle and/or its affiliates. All rights reserved. Agenda • Aktueller Status von JavaFX • Entwicklungsressourcen beim Engineering und in der Java Community • Linux on ARM Port • JavaFX-Aufbau und Architekturkonzept • Migration von Swing Komponenten • Barrierefreiheit • Vorteile bei der Entwicklung von JavaFX Anwendungen • SceneBuilder GUI Editor • Automatisiertes Testen von JavaFX GUI Komponenten • Open Source Projekt OpenJFX • Kundenbeispiele, Projekte und relevante Partnerlösungen • Zusammenfassung 3 Copyright © 2016 Oracle and/or its affiliates. All rights reserved. Aktueller Status von JavaFX • JavaFX 8 ist fester Bestandteil der Java SE 8 – General Availability for Windows, Linux, Mac OS – Java SE 8 Roadmap until 2025 and expected JDK 9 until 2028 – Java SE Development Kit 8 Update 6 for ARM • Starting with JDK 8u33, JavaFX Embedded is removed from the ARM bundle and is not supported – http://www.oracle.com/technetwork/java/javase/jdk-8u33-arm-relnotes-2406696.html – http://mail.openjdk.java.net/pipermail/openjfx-dev/2015-January/016570.html • Development Tools – NetBeans 8.2 – JavaFX Scene Builder 2.0 und Version 8.2.0 – e(fx)clipse • major release cycle alignment with eclipse roadmap • minor release cycle with JavaFX roadmap 4 Copyright © 2016 Oracle and/or its affiliates.
    [Show full text]
  • When the Automobile Driver Is Wearing Spectacles. 38 7.3
    VISVESVARAYA TECHNOLOGICAL UNIVERSITY “Jnana Sangama”, Belagavi– 590 018 A PROJECT REPORT ON “MONITORING DRIVER'S ATTENTION LEVEL” Submitted in partial fulfillment for the award of the degree of BACHELOR OF ENGINEERING IN COMPUTER SCIENCE AND ENGINEERING BY SISIR DAS K (1NH12CS118) SIDDHARTHKUMAR PATEL (1NH12CS117) Under the guidance of Ms.Pramilarani K (Senior Assistant Professor, Dept. of CSE, NHCE) DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING NEW HORIZON COLLEGE OF ENGINEERING (ISO-9001:2000 certified, Accredited by NAAC ‘A’, Permanently affiliated to VTU) Outer Ring Road, Panathur Post, Near Marathalli, Bangalore – 560103 NEW HORIZON COLLEGE OF ENGINEERING (ISO-9001:2000 certified, Accredited by NAAC ‘A’ Permanently affiliated to VTU) Outer Ring Road, Panathur Post, Near Marathalli, Bangalore-560 103 DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING CERTIFICATE Certified that the project work entitled “MONITORING DRIVER’S ATTENTION LEVEL” carried out by SISIR DAS K (1NH12CS118) and SIDDHARTHKUMAR PATEL (1NH12CS117) bonafide students of NEW HORIZON COLLEGE OF ENGINEERING in partial fulfilment for the award of Bachelor Of Engineering in Computer Science and Engineering of the Visvesvaraya Technological University, Belgavi during the year 2015-2016. It is certified that all corrections/suggestions indicated for Internal Assessment have been incorporated in the report deposited in the department library. The project report has been approved as it satisfies the academic requirements in respect of Project work prescribed for the said Degree. Name & Signature of Guide Name & Signature of HOD Signature of Principal (Ms. K Pramilarani) (Dr.Prashanth C.S.R.) (Dr.Manjunatha) External Viva Name of Examiner Signature with date 1. 2. ACKNOWLEDGEMENT The satisfaction and euphoria that accompany the successful completion of any task would be, but impossible without the mention of the people who made it possible, whose constant guidance and encouragement crowned our efforts with success.
    [Show full text]
  • AGL HMI Framework Architecture Document
    AGL HMI Framework Architecture Document Version Date 0.2.4 2017/8/2 AGL HMI Framework Architecture Document Index 1. HMI Framework overview ................................................................................... 4 1.1. HMI-FW Related components .......................................................................... 4 1.1.1. Related components .................................................................................. 5 1.1.2. HMI-FW Components .............................................................................. 6 1.2. Considerations on implementation ................................................................... 7 2. HMI-Apps (HMI-FW Related components) .................................................. 8 2.1. Overviw ............................................................................................................. 8 2.1.1. Related external components .................................................................... 8 2.1.2. HMI-Apps Life Cycle ............................................................................... 9 3. GUI-library ......................................................................................................... 10 3.1. Overview ......................................................................................................... 10 3.1.1. Related external components .................................................................. 10 3.1.2. Internal Components ............................................................................... 11 3.2. Graphics
    [Show full text]
  • Javafx Scene Graph to FXML Serialization
    JavaFX Scene Graph Object Serialization ELMIRA KHODABANDEHLOO KTH Information and Communication Technology Degree project in Communication Systems Second level, 30.0 HEC Stockholm, Sweden JavaFX Scene Graph Object Serialization Elmira Khodabandehloo Master of Science Thesis 8 October 2013 Examiner Professor Gerald Q. Maguire Jr. Supervisor Håkan Andersson School of Information and Communication Technology (ICT) KTH Royal Institute of Technology Stockholm, Sweden © Elmira Khodabandehloo, 8 October 2013 Abstract Data visualization is used in order to analyze and perceive patterns in data. One of the use cases of visualization is to graphically represent and compare simulation results. At Ericsson Research, a visualization platform, based on JavaFX 2 is used to visualize simulation results. Three configuration files are required in order to create an application based on the visualization tool: XML, FXML, and CSS. The current problem is that, in order to set up a visualization application, the three configuration files must be written by hand which is a very tedious task. The purpose of this study is to reduce the amount of work which is required to construct a visualization application by providing a serialization function which makes it possible to save the layout (FXML) of the application at run-time based solely on the scene graph. In this master’s thesis, possible frameworks that might ease the implementation of a generic FXML serialization have been investigated and the most promising alternative according to a number of evaluation metrics has been identified. Then, using a design science research method, an algorithm is proposed which is capable of generic object/bean serialization to FXML based on a number of features or requirements.
    [Show full text]
  • Arcgis Runtime Sdks: Building Cross-Platform Apps Tyler Schiewe Lucas Danzinger Rich Zwaap Rex Hansen Agenda
    ArcGIS Runtime SDKs: Building Cross-Platform Apps Tyler Schiewe Lucas Danzinger Rich Zwaap Rex Hansen Agenda • Cross-platform review • ArcGIS Runtime cross-platform options - Java - Qt - .NET Native vs Web? • Native apps • App installed on the device • Use Platform / Operating System APIs • Best performance and device integration • Support for connected and offline workflows • Work well when you have the ability to determine devices • Use ArcGIS Runtime SDKs to create native apps • Web apps • Web site/app downloaded from a server • Best for wider range of users on unknown devices • Use the ArcGIS API for JavaScript to create web client solutions • User experience and capabilities increasingly blurred as technologies evolve http://esriurl.com/ChoosingAnAPI Native app cross-platform considerations • Benefits - Share application code - Enforces good design patterns - Makes your app available to more users • Challenges - Testing - User experience of your app may vary - Handling platform idiosyncrasies (security, bugs, etc) - Development cost Building Native Apps on Multiple Platforms • How do you choose a cross platform SDK? - Business, technical, and user requirements - Developer skillset • Multiple options available - Java - Qt - .NET/Xamarin ArcGIS Runtime cross-platform options • All Runtime APIs built on common Runtime core Java Qt / QML .NET / Xamarin Android Java iOS macOS Qt .NET C++ runtime core Android Linux iOS macOS Windows UWP DirectX x86 x64 ARM OpenGL Java Tyler Schiewe Qt Lucas Danzinger .NET and Xamarin Rich Zwaap Java Tyler
    [Show full text]
  • Using Javafx UI Controls
    JavaFX Working with JavaFX UI Components Release 8 E47848-02 August 2014 In this tutorial, you learn how to build user interfaces in your JavaFX applications with the UI components available through the JavaFX API. JavaFX Working with JavaFX UI Components Release 8 E47848-02 Copyright © 2011, 2014, Oracle and/or its affiliates. All rights reserved. Primary Author: Alla Redko, Irina Fedortsova Primary Author: This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable: U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are "commercial computer software" or "commercial technical data" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, duplication, disclosure, modification, and adaptation shall be subject to the restrictions and license terms set forth in the applicable Government contract, and, to the extent applicable by the terms of the Government contract, the additional rights set forth in FAR 52.227-19, Commercial Computer Software License (December 2007).
    [Show full text]