Skip to Content mrc logo mrc logo
  • What is m-Power?
    Overview Demos Build Process Case Studies Specs Pricing Trial
    m-Power Resources
    Overview How-To Videos Webinars & Podcasts White Papers Fact Sheets
  • What does m-Power build?
    Overview Database Front-Ends Reporting CRM Systems Business Intelligence Dashboards Inventory Management Mobile Apps ERP Enhancements Modernization Spreadsheets to the Web MS Access to the Web B2B/Web Portals Scheduling Embedded Analytics Web Forms Workflow Data Exploration Budgeting & Forecasting APIs & Web Services Db2 Web Query Alternative
    Solutions by Industry
    Overview Manufacturing Government Foodservice Software Vendors Logistics & Supply Chain Software Consultants Healthcare
  • Development Services Training Mentoring
  • Overview Partners Press Releases Careers Events Contact Blog
  • Support Home FAQ Documentation Customer Portal Enhancements Updates Roadmap Techblog
Try m-Power

m-Power Manual

Browse:

  • Home
  • General
  • Creating Mobile Applications
Back to Manual

Creating Mobile Applications

This tutorial describes how to create Mobile Applications with m-Power.

The first step is to configure the data dictionary to work with mobile applications. Click Admin., click Edit Data Dictionary Files, and then click Dictionary Configuration.

This opens into the Mobile Options tab. The first option is the devices_to_support property. This property specifies which HTML layers can be created within your current data dictionary. For instance, if I select PC and Tablet from the dropdown, I would not be able to create smartphone applications within my dictionary.

The next three options allow you to select which HTML layers can be displayed on different device types. For instance, if a PC is used to run an application, the end-user can only view the application in the layers I’ve specified by the device_options_pc property. This is often set to PC, Tablet, and Smartphone for testing purposes. After selecting your options, click ‘Accept’ to save. (These three properties can be specified at the Application level, within Application Properties.)

At this point, any new applications will automatically generate the HTML layers specified by the data dictionary settings. Existing applications will need to be recompiled in order to generate the HTML layers. However, recompiling these applications is a little different than the standard recompile process.

To recompile, open the application and click Build. Choose ‘Yes’ to override both the HTML and Application Properties. Note that you can override individual HTML layers, and can deselect the PC layer if you do not want to override your existing HTML. Click Accept. m-Power is now creating the necessary HTML layers for the Mobile Applications.

My application is currently displaying the PC layer. I can change to the Tablet or Smartphone layer through the ‘Options’ button in the right hand corner (These options come from the device_options_pc setting as the application is being run on a PC). After switching to the Tablet layer, notice that the application has been optimized for a smaller screen, and has plenty of space for touch screen navigation. Like the PC HTML layer, you can customize the HTML layers for tablet and smartphone display.

In order to edit the mobile layer, open this application in m-Painter. Hover over the file menu and click Open File. Next, under Device, choose the desired tablet or smartphone layer and select the appropriate HTML page. Click OK. You can now customize the mobile application.

 

Created: January 16, 2013 | Modified: December 3, 2013

Search


Browse By Category

Build Process (13)
Starting with m-Power (8)
Retrievals (10)
Reports (15)
Summaries (4)
Maintainers (17)
Graphs (8)
m-Power Data Explorer (4)
General (24)
Calculations (5)
Utilities (9)
m-Power Administration (23)
Security (11)
Freemarker (6)
m-Painter (29)
Form Validation (5)
External Objects & UDFs (12)
Deprecated Documentation (23)
Bootstrap Templates (7)

Popular Tags

Retrieval Database Reports Graph Properties Build Process Getting Started Retrievals Data Dictionary Graphing Prompt Screens Email Freemarker External Objects Java Tomcat Bar Graphs Security Maintainer Admin Compiling Excel m-Painter Popular Advanced Record Selections SQL Maintainers Bootstrap Templates RPG Production Application Properties Administration mrc-Productivity Series Performance Parameters Dropdowns Form Validation DB2 Graphs Summaries Report Dates Video Calculations App Properties

See all tags »

michaels, ross & cole, ltd. (mrc)

Privacy Policy Cookie Policy Cookie Settings Notice at Collection Do Not Sell or Share My Personal Information

mrc (US)

2001 Midwest Road
Suite 310
Oak Brook, IL 60523
630-916-0662

mrc (UK)

Mortlake Business Centre
20 Mortlake High Street
London, SW14 8JN
+44-20-335-59566


© mrc. All rights reserved.