So, I hope I'm not the only one desperate in remembering things, understanding what's going on with the code etc.
This is a simple button with an action that collects informations AND opens the log window in your sluggish phone.
Opening the log on a device, smartphone, android iphone ipad and tablet is quite impossible to me and I succeed once every 20 times. So here it is!
<!-- REMOVE BEFORE FLIGHT, a button that tests the device properties and sows pixelratio etc. -->
<layer name="skin_btn_debug"
type="text"
keep="true"
zorder="1"
align="left"
bgalpha="1"
bgcolor="0x141414"
bgroundedge="40"
x="8" y="-30%"
width="80"
height="80"
scale="0.5"
alpha="1"
visible="true"
enabled="true"
ondown="call_for_infos();"
css="font-family:Georgia; text-align:center; font-size:28px; color:#E6E6E6;"
html="%3F"
/>
<action name="call_for_infos">
showlog();
trace(------ call for infos ------);
trace('the pixel ratio of this device is_',get(device.pixelratio));
trace(stage width _,get(stagewidth) );
trace(stage height _,get(stageheight) );
trace(icon circle size in pixels_,get(layer[skin_btn_debug].width) );
trace(this icon now has a scale of__,get(layer[skin_btn_debug].scale));
if(device.fractionlscaling, trace('this device has a_','fractionlscaling'); );
if(device.mobile, trace('this device is_','mobile'); );
if(device.desktop, trace('this device is_','desktop'); );
if(device.tablet, trace('this device is_','tablet'); );
if(device.touch, trace('this device has a_','touchscreen'); );
if(device.ios, trace('this device is_','ios'); );
if(device.android, trace('this device is_','android'); );
if(device.handheld, trace('this device is_','handheld'); );
trace(--------- end ---------);
</action>