m (formatting) |
|||
Line 30: | Line 30: | ||
<variable id="test" type="text"/> | <variable id="test" type="text"/> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | |||
=====screen.xml===== | =====screen.xml===== |
Latest revision as of 18:23, 24 January 2018
gn:act_serialToTarget
- Description
- Action is to retrieve device serial number into target
- Action returns
- void
Action signatures
[gn:act_serialToTarget]|[target]
Example
initial value
device serial number
=273583945126833
@variable/test
=
variables.xml
<variable id="test" type="text"/>
screen.xml
<FrameLayout android:id="@+id/exampleFrame" android:layout_width="wrap_content" android:layout_height="wrap_content" android:visibility="gone" gn:act_set="[gn:act_serialToTarget]|[@variable/test]" />
after action execution
@variable/test
=273583945126833