Content

Page tree

Returns the current state of the phone.

The result will be "Minibrowser" if:

  • the state attribute is not set
  • the state attribute is set to default value (only_mb)
  • when phone was already in state Minibrowser prior to opening the current Minibrowser

Otherwise, the result will be depending on the state of the phone before opening the Minibrowser


Example for state Minibrowser:

<SnomIPPhoneText>
    <Text>state:$(phone_state)</Text>
</SnomIPPhoneText>

Result:


Example for other states :

<SnomIPPhoneText id="test" state="others_except_mb">
     <Text>state:$(phone_state)</Text>
</SnomIPPhoneText>


Result (when starting the Minibrowser while the phone is idle):