All Products
Search
Document Center

Overview

Last Updated: Feb 24, 2021

mPaaS Inside is a new access method of mPaaS. This new access method is almost the same as the native AAR method. The difference is that the new method allows you to use the capabilities of mPaaS. mPaaS Inside is applicable to scenarios in which you do not need the component-based Bundle solution but urgently need mPaaS capabilities. We provide this tutorial to help you become familiar with this new access method and get started quickly.
This tutorial contains the following six parts:

  1. Create an app in Android Studio.
  2. Create an app in the mPaaS console.
  3. Connect a native project to mPaaS Inside.
  4. Add the HTML5 container component to the project.
  5. Use the HTML5 container
  6. Use HTML5 offline packages

What you will learn

  • How to create an Android app in which a toast appears upon a tap on a button.
  • How to connect to mPaaS Inside.
  • How to use the HTML5 container service of mPaaS
  • How to use HTML5 offline package service of mPaaS

Prerequisites

  1. Configure a development environment. This tutorial describes how to configure a development environment in macOS as an example. For more information, see Configure the environment for mPaaS Inside connection and Portal & Bundle connection.
  2. Network access.
  3. A web browser is installed. The Chrome browser is recommended.
  4. An Android phone and an accessory data bus. The operating system must be Android 4.3 or later. You can also use an emulator for commissioning. This tutorial uses a mobile phone as an example.