FirstUse Application Functionality

From WebOS Internals
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

This page will be used to document what we now about the com.palm.app.firstuse application (the one which allows you to create and/or access a HP Profile).

com.palm.app.firstuse (hereafter referred to as just "firstuse") starts in app-assistant.js as follows:

  • StageAssistant(stageController)
    • pushHome()
      • pushScene("home");
      • isInitialized = false;
      • if (running on emulator)
        • setupSimulator();
          • isDevice = false;
          • isActivated = true;
          • Account.platformType = "CDMA";
          • simStatus = "simready";
          • isConnected = true;
        • pushScene("language");
      • else
        • isInitialized = true;
        • setUpFirstUse();
          • isInitialized = true;
          • isConnected set according to network connection status
        • activateDevice();
          • eventually pushScene("language");
  • isTelephonyReady();
    luna-send -i palm://com.palm.telephony/isTelephonyReady
    emulator
    {"returnValue":true,"errorCode":0,"extended":{"security":false,"networkRegistered":true,"emergency":false,"ready":true,"power":true,"securityLocked":false,"dataRegistered":true,"radioConnected":true}}
    device