Sign in to PTT Pro for Android
Sign in to PTT Pro for Android

Sign in to
PTT Pro for Android

This intent is used to sign in to
PTT Pro for Android
. There are three different use cases for sign-in.
Sign in with ESN
The user is in a shared device environment, where devices are shared among different users. In a shared environment, the Electronic Serial Number (ESN) is automatically used as the activation code when the device is signed in to the
PTT Pro Server
.
Sign in with the Activation Code
If a user is not in a shared device environment, a user always uses the same device. In this case, each user is assigned a unique activation code. After the device is signed in with an activation code, the user and device are statically associated, unless reset at the portal.
Sign in with Username and Password
This intent is used to sign in to a user with a user name and password.

Prerequisites

  • For a shared device environment:
    • The device’s ESN must be configured in the
      PTT Pro Server
      .
    • The user must be configured in the
      PTT Pro Server
      .
    • OAuth authorization information must be configured in the
      PTT Pro Server
      .
  • For a non-shared device environment:
    • The user must be configured in the PTT Pro server.
  • The minimum required PTT Pro Android version is 3.0.10036.

Intent Definition

Name
Description
Action
android.intent.action.VIEW with URI and package
Intent Type
startActivity
URI
Shared device environment: pttpro://activatewithesn
Non-shared device environment: pttpro://activate/?ac=
URI parameter 0 (optional)
This optional parameter can be used to prevent the display of
Data Consent
screen after installation.
                    Name
showDisclosure
                    Value
true or false
Package
com.symbol.wfc.pttpro

ADB Examples

Shared device environment:
adb shell am start -a android.intent.action.VIEW -d "pttpro://activatewithesn/?showDisclosure=false" com.symbol.wfc.pttpro
Non-shared device environment:
adb shell am start -a android.intent.action.VIEW -d "pttpro://activate/?ac=ABCDEFGHIJ\&showDisclosure=false" com.symbol.wfc.pttpro.