5 <title>Mobile activation testing page
</title>
9 background: -webkit-gradient(linear, left top, left bottom,
10 from(#EBEBEB), to(#CFCFCF));
11 font-family: 'Lucida Grande', Helvetica, sans-serif;
18 <script src=
"connection_manager.js"></script>
21 return document
.getElementById(id
);
24 chromeos
.connectionManager
.getDeviceInfo(function(device
) {
25 $('device-info').innerHTML
=
26 'carrier = ' + device
.carrier
+ '<br>' +
27 'MEID = ' + device
.MEID
+ '<br>' +
28 'IMEI = ' + device
.IMEI
+ '<br>' +
29 'IMSI = ' + device
.IMSI
+ '<br>' +
30 'ESN = ' + device
.ESN
+ '<br>' +
31 'MDN = ' + device
.MDN
;
34 function sendStatus(status
) {
35 chromeos
.connectionManager
.setTransactionStatus(status
,
43 <h2>Plan Payment Page
<h2>
44 <div>Press a button below to signal transaction status back to the browser
</div>
46 <button id='ok-btn'
onclick=
"sendStatus('OK')">OK
</button>
47 <button id='fail-btn'
onclick=
"sendStatus('FAILED')">Failed
</button>
51 <div id=
"device-info"></div>