• 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:

    • Share on Reddit (Opens in new window) Reddit
    • Share on Facebook (Opens in new window) Facebook
    • Share on LinkedIn (Opens in new window) LinkedIn
    • Share on X (Opens in new window) X
    • Email a link to a friend (Opens in new window) Email

    Tags:

    Sponsored by
    Manta Technologies

    The Leader in IBM i Education!
    Need training on anything i?
    Manta is all you need.

    Courses and competency exams on:
    · IBM i operations
    · System Management and Security
    · IBM i Programming Tools
    · Programming in RPG, COBOL, CL, Java
    · Web Development

    SQL, DB2, QueryProduct features:
    · Runs in every popular browser
    · Available 24/7/365
    · Free Student Reference Guides
    · Free Student Administration
    · Concurrent User License
    · Built-In IBM i Simulator

    You can download our 200-page catalog and take sample sessions at MantaTech.com

    Share this:

    • Share on Reddit (Opens in new window) Reddit
    • Share on Facebook (Opens in new window) Facebook
    • Share on LinkedIn (Opens in new window) LinkedIn
    • Share on X (Opens in new window) X
    • Email a link to a friend (Opens in new window) 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

    BCD Brings Mobile App Goodness to WebSmart PHP Edition Venyu Hooks Up with CMA for Cloud Backup

    Leave a ReplyCancel 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

  • Power Systems Turns In Another Great Quarter
  • Big Blue Is Right On Schedule With Fall 2026 IBM i Tech Refreshes
  • Guru: Environment Variables – Global Variables Wearing Hiking Boots
  • A New IBM i Entity Takes Shape: Power By Fortra
  • IBM i PTF Guide, Volume 28, Number 38
  • Critical PHP2Shell Security Vulns Evoke ‘Black October’
  • Why Fortra Partnered with FalconStor to Launch Continuity Care: A Validated Recovery Service for IBM i
  • Guru: Analyzing User Session Statistics, Part 2
  • Fresche Launches OpsIQ, a Free AI-Based Operation Assistant for IBM i
  • IBM i PTF Guide, Volume 28, Number 37

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