• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • LANSA Takes Mobile Apps Offline

    December 3, 2013 Alex Woodie

    Mobile applications are proving themselves to be useful tools for businesses. But they often don’t work when disconnected from the server running the ERP systems and databases. IBM i development tool maker LANSA is addressing this shortcoming with a new release of its LongRange mobile application framework that allows RPG- or COBOL-based mobile apps to continue working even when the user is outside of cell or WiFi coverage.

    LongRange is a mobile application framework designed to give IBM i shops the capability to deliver mobile interfaces to existing IBM i resources without learning HTML5, CSS3, PHP, JavaScript, Java, or Objective-C. The software, which LANSA launched in May 2012, includes a server-side management service that processes input and output from existing IBM i applications; native iOS and Android clients that present menu-driven, tabbed, and touch sensitive interfaces; and a mobile app builder for configuring mobile clients and hooking them up to the IBM i resources.

    The new offline mode uses the SQLite database that’s embedded in all Android and iOS phones, and includes some nifty coding tricks by the folks at LANSA, according to Don Nelson, a LANSA vice president who works out of the company’s Chicago, Illinois office.

    “Previously, we allowed you to go offline, but it required a lot of JavaScript skills,” Nelson tells IT Jungle. “Now, it’s a native application delivered through our LongRange framework that runs on the device. It translates the RPG components into native controls that are then downloaded to the device when you connect.”

    Depending on how the developer configured the application, the entire application or just parts of it will get cached on the device. With today’s 128 GB flash memory cards, a SQLite database on a mobile device could theoretically reach 100 GB, which is a lot of data to be carrying around–probably too much, in fact.

    “You’re not going to take your whole ERP database and put it down there,” Nelson says. “You’re going to put down on the device the basic information you need to be able to fulfill the job you need to do.”

    The new offline feature will be useful to field personnel across many industries and lines of works. A salesman, for example might choose to download information about customers, what types of products they typically order, and the latest pricing information on those products. The salesman can download that information to the device and be confident that he can complete a transaction on the mobile device if needed.

    One of LANSA’s early adopters for the offline mode is a homebuilder that needed a way to do home inspections while offline. Other potential uses include conducting surveys. “A lot of that stuff will work offline because it doesn’t require a real time interface,” Nelson says. “If you’re building an inventory or order entry application, obviously the inventory balance might change as soon as you go offline. You’re able to place the order, but there are some limitations.”

    LANSA provides developers with the tools to manage the syncing of the mobile database with the server database. It’s best to attempt syncs when a steady WiFi connection is available, and not while driving through spotty cell coverage.

    “They would need to be aware of the initial sync, and then when they get reconnected–you can check if they’re connected or not–do a sync when you have a [solid] connection,” Nelson says. “If you’re going in and out of wireless zones, you may or may not get a full sync occurring, so you have to be careful how you build your applications.”

    To prevent data from being corrupted, Nelson recommends users implement failover capability to ensure that updates to the database go through completely and cleanly. He also recommends that developers use commitment control logic in the database.

    That shouldn’t be too hard for LongRange users, considering LANSA is focusing narrowly on traditional IBM i skills. “Previously you could do these things, but it required extra skills that a lot of RPG guys don’t have,” Nelson says. “They do know how to read and write to the database. That’s really the key. You connect to a remote database, read the data, and write it out to the IBM i database, and they’re off and running.”

    The new offline mode is included in LongRange Rev15. This release also includes support for iOS7, including the new interface and native GUI controls for iPhones and iPads; enhanced PDF viewer integration for Android; support for additional bar code scanners and magnetic card readers; and additional RPG-code building blocks and sample apps, with source code included. For more info, see www.lansa.com.

    RELATED STORIES

    LANSA Adds Goodies to LongRange Mobile App

    LANSA Adds E-Commerce to LongRange Mobile App

    Braum’s Takes the RPG Path to Mobile Apps with LANSA LongRange

    Kawasaki Saves a Bundle with LANSA-Based eKanban System

    LANSA Launches LongRange University

    LANSA Moves into Native Mobile App Development



                         Post this story to del.icio.us
                   Post this story to Digg
        Post this story to Slashdot

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags:

    Sponsored by
    Midrange Dynamics North America

    Accelerate Change & Integration on IBM i

    Good change management unites IBM i and open systems development for productive collaboration. Developers work with their preferred tools and IDEs. Ultimate version control and traceability mean fast bug fixes and less stress. Rollback to a stable version in seconds.

    Change management gives managers, operations teams, and auditors the visibility they need, and developers can focus on what they like best: building great applications.

    Learn More

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Sponsored Links

    Abacus Solutions:  Let our IBM i experts take your infrastructure to the cloud!
    Linoma Software:  GoAnywhere Secure File Transfer. Simplify. Automate. Encrypt.
    Cybernetics:  Ditch the tape backup? Up to 4.3 TB/hr! Start saving now!

    More IT Jungle Resources:

    System i PTF Guide: Weekly PTF Updates
    IBM i Events Calendar: National Conferences, Local Events, and Webinars
    Breaking News: News Hot Off The Press
    TPM @ EnterpriseTech: High Performance Computing Industry News From ITJ EIC Timothy Prickett Morgan

    IBM Bops Around With Flex System Feature Prices End-Of-Year Feedback

    Leave a Reply Cancel reply

Volume 13, Number 35 -- December 3, 2013
THIS ISSUE SPONSORED BY:

New Generation Software
Databorough
WorksRight Software
Linoma Software
Shield Advanced Solutions

Table of Contents

  • Help/Systems Teams with DSI to Sell VTLs
  • BCD Brings Mobile App Goodness to WebSmart PHP Edition
  • LANSA Takes Mobile Apps Offline
  • Venyu Hooks Up with CMA for Cloud Backup
  • HiT Supports SAP HANA with Data Replication Tool
  • Coda on IBM i Beats Out PeopleSoft Upgrade
  • Austrian Manufacturer Demonstrates IT Simplicity with IBM i
  • New Zealand TV Company Taps Zentive for ICOMS Monitoring
  • ASTI Records UDO Win in County Court’s Office
  • SMBs Lack Cohesive Digital Strategy, IBM Says

Content archive

  • The Four Hundred
  • Four Hundred Stuff
  • Four Hundred Guru

Recent Posts

  • To Comfort The Afflicted And Afflict The Comfortable
  • How FalconStor Is Reinventing Itself, And Why IBM Noticed
  • Guru: When Procedure Driven RPG Really Works
  • Vendors Fill In The Gaps With IBM’s New MFA Solution
  • IBM i PTF Guide, Volume 27, Number 27
  • With Power11, Power Systems “Go To Eleven”
  • With Subscription Price, IBM i P20 And P30 Tiers Get Bigger Bundles
  • Izzi Buys CNX, Eyes Valence Port To System Z
  • IBM i Shops “Attacking” Security Concerns, Study Shows
  • IBM i PTF Guide, Volume 27, Number 26

Subscribe

To get news from IT Jungle sent to your inbox every week, subscribe to our newsletter.

Pages

  • About Us
  • Contact
  • Contributors
  • Four Hundred Monitor
  • IBM i PTF Guide
  • Media Kit
  • Subscribe

Search

Copyright © 2025 IT Jungle