This documentation is for WSO2 IoT Server 3.1.0. View the documentation for the latest release.
Page Comparison - Creating an Android Application (v.2 vs v.3) - IoT Server 3.1.0 - WSO2 Documentation

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In this tutorial let's take a look at how to publish an Android application the WSO2 IoT application store.

Follow the instructions given below.

  1. Navigate to the App Publisher using the following URL: https://<IoT_HOST>:9443/publisher
  2. Enter the username and password, and sign in.

  3. Click Add New Mobile Application that is under the Mobile Application drop down.
  4. Select Android for Platform.
  5. Select the Store Type. The available store types are given below:
    • Enterprise - Refers to all apps that have been created by the organization.
    • Public - Refers to publicly available apps on the Play Store (e.g., free apps available online). 
  6. Creating a new mobile application:

    Localtab Group
    Localtab
    activetrue
    titleEnterprise application
    Panel
    borderColor#11375B
    bgColor#ffffff
    borderWidth2

    Select the APK file as shown below. The APK file size should not exceed 200MB.
    create new Android enterprise appImage Added

    Localtab
    titlePublic application
    Panel
    borderColor#11375B
    bgColor#ffffff
    borderWidth2

     Enter the exact package ID of the Play Store app as shown below.
    create Android public appImage Added

    The following table provides a few examples of how to identify the package ID as the position of the package ID may vary in the URL.

    URLPackage IDIdentifying the Package ID
    https://play.google.com/store/apps/details?id=com.andropenofficecom.andropenofficeThe package ID appears after "id=".
    https://play.google.com/store/apps/details?id=com.viber.voip&hl=encom.viber.voipThe package ID appears between "id=" and "&".
  7. Click Next, and you will get the following screen:
    Image Added
    Enter the following details of the app.
    • Name - The full name of the app.
    • Display Name - The name of the app that is displayed to the user.
    • Description -  A summarized description of the app.
    • Recent Changes - Optional. A summarized description of what is new in this app when compared to its previous version.
    • Version - Version of the public application. If you have previously entered a different version of this app, make sure to enter a unique version number.
    • Category - Select the category that this app needs to be listed under.
    • Visibility - Enter the user roles that this app will be visible to.
    • Tags - You can group mobile applications under a specific category using tags.  Define the category and press enter.
    • Click on the respective + buttons to upload the required images.
      • Banner - Image that will appear as the app banner.
      • Screenshots - Screenshots of the app so that the user can get an understanding of what the app offers. Amaximumoffourscreenshotsare allowed.
      • Icon file - The image that will be used as the application icon in the Store and when the application is installed on a device.
    Info

    The recommended image extension is .png while the recommended dimensions are as follows:

    • Icons: 124px x 124px
    • Screenshots: 288px x 512px (landscape) and 512px x 288px (portrait)
    • Banners: 705px x 344px

    You must follow the above standards when creating a webclip. A web clip is used to add a bookmark to a web application. 

  8. Click Create. The created app will appear in the created list of apps.
Note

After creating the mobile app, authorized users can review, approve, and publish the mobile application. For more information, see Mobile Application Lifecycle Management.

What's next?

Your Android application is now published and available in the WSO2 IoT Server app store. Next, take a look at Installing an Application on a Device.