Difference between revisions of "FirstUse Application Functionality"

From WebOS Internals
Jump to navigation Jump to search
(New page: 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 Palm Profile).)
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
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 Palm Profile).
+
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
 +
*::

Latest revision as of 01:32, 22 August 2011

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