From wiki.ginstr.com
Jump to: navigation, search
Line 1: Line 1:
 
<div style="float:right; clear:both; margin-left:0.5em;">__TOC__</div>
 
<div style="float:right; clear:both; margin-left:0.5em;">__TOC__</div>
<span STYLE="font-size: xx-large"><code>gn:act_replaceText</code></span>
+
<span STYLE="font-size: xx-large"><code>gn:act_serialToTarget</code></span>
 
[[Category:Action_Library]]
 
[[Category:Action_Library]]
  
Line 23: Line 23:
  
 
=====initial value=====
 
=====initial value=====
: device serial number = 273583945126833
+
:<code>device serial number</code> = <code>273583945126833</code>
 
:<code>@variable/test</code> = <code></code>
 
:<code>@variable/test</code> = <code></code>
  

Revision as of 18:48, 31 July 2017

gn:act_serialToTarget

Description
Action is to retrieve device serial number into target
Action returns
void

Action signatures

[gn:act_serialToTarget]|[target]
Parameter Description
target target into which serial number will be stored

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