FAQ Automagic

สอนใช้แอพ Automagic * Automation
Gridvision Engineering GmbH
https://play.google.com/store/apps/details?id=ch.gridvision.ppam.androidautomagic
Post Reply
tong
Site Admin
Posts: 2386
Joined: Fri 01 May 2009 8:55 pm

FAQ Automagic

Post by tong »

...
tong
Site Admin
Posts: 2386
Joined: Fri 01 May 2009 8:55 pm

Re: FAQ Automagic

Post by tong »

Problem getWidgetElementProperty fillcolor return in signed integer

Code: Select all

dec = -16711936;
dec2hex = callJavaStaticMethod("java.lang.Integer", "toHexString(int)", dec);

hex = "ff00ff00";
hex2dec = callJavaStaticMethod("java.lang.Long", "parseLong(java.lang.String, int)", hex, 16);
Post Reply