This page last changed on Apr 17, 2012 by temecom.

I added a pair of images to my test Android panel and they show up and work fine in the Designer, however when I sync the panel and restart the the generic on/off text switch shows up instead. Is the image feature implemented?

Hmm it should work. Which version of the Android app do you have installed?

Posted by juha at Apr 17, 2012 21:43

OpenRemote: 2.0.0 Beta2
Android 2.3.4
HTC PH44100

I do not see a reference to the images in panel.xml although they have been downloaded to the server.

<?xml version="1.0" encoding="UTF-8"?>
<openremote xmlns="http://www.openremote.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openremote.org http://www.openremote.org/schemas/panel.xsd">
<panels>
<panel id="1" name="Sprinklers">
<include type="group" ref="2" />
</panel>
</panels>
<screens>
<screen id="3" name="Test">
<absolute left="110" top="334" width="30" height="32">
<image id="10" src="OpenRemote.Logo.30x32.png" />
</absolute>
<absolute left="100" top="209" width="198" height="44">
<slider id="8" passive="true" vertical="false">
<min value="0" />
<max value="100" />
</slider>
</absolute>
<absolute left="133" top="49" width="82" height="42">
<switch id="6" />
</absolute>
</screen>
</screens>
<groups>
<group id="2" name="Irrigation">
<include type="screen" ref="3" />
</group>
</groups>
</openremote>

Posted by temecom at Apr 18, 2012 04:48

OK I connected the panel switch to a controller switch instead of a controller command and now it works. Does the use of a command make sense in any case? If so shouldn't the switch perform normally and show the on/off images?

Posted by temecom at Apr 18, 2012 07:12

Hello,
I got the exact same trouble on iOS. Switch images don't display. Button images are OK but not switch images. What do you precisely mean please by "controller switch instead of a controller command" ?
Thanks for your help.
Regards

Posted by paqueuc at Dec 31, 2012 00:09
Document generated by Confluence on Jun 05, 2016 09:29