Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q]Iconset not showing up in list

OP rcHumanz

15th April 2014, 10:22 AM   |  #1  
OP Junior Member
Thanks Meter: 4
 
27 posts
Join Date:Joined: Jan 2012
I've created an iconset based on the Sense 4 weather icons. I edited the config.xml (using XML Notepad) to reflect my own title, description, file names etc. I zipped the icons folder together with the config.xml using Winrar, then I placed a copy of the zip file in the iconsets folder in ZooperWidgets on my sdcard. When I try to use my iconset in any of the templates I've installed, the iconset does not show up in the list. All the other iconsets I've downloaded show up (e.g. Meteo, 7even, flex) but not mine. I thought perhaps the images in my iconset were too big, but reducing the image sizes has not worked, the iconset still wouldn't show up in Zooper.

Any suggestions on where I could have gone wrong? Is there a special way to zip the file for Zooper? I tried not to do too much editing of the config.xml, to reduce the possibilities of introducing errors, and as far as I can tell, there are no errors in the code. I've attached my zipped iconset file.
Attached Files
File Type: zip Sense4HD.zip - [Click for QR Code] (4.76 MB, 9 views)
15th April 2014, 05:19 PM   |  #2  
scottx .'s Avatar
Senior Member
Flag San Antonio, Texas
Thanks Meter: 801
 
2,233 posts
Join Date:Joined: Jun 2011
More
Quote:
Originally Posted by rcHumanz

I've created an iconset based on the Sense 4 weather icons. I edited the config.xml (using XML Notepad) to reflect my own title, description, file names etc. I zipped the icons folder together with the config.xml using Winrar, then I placed a copy of the zip file in the iconsets folder in ZooperWidgets on my sdcard. When I try to use my iconset in any of the templates I've installed, the iconset does not show up in the list. All the other iconsets I've downloaded show up (e.g. Meteo, 7even, flex) but not mine. I thought perhaps the images in my iconset were too big, but reducing the image sizes has not worked, the iconset still wouldn't show up in Zooper.

Any suggestions on where I could have gone wrong? Is there a special way to zip the file for Zooper? I tried not to do too much editing of the config.xml, to reduce the possibilities of introducing errors, and as far as I can tell, there are no errors in the code. I've attached my zipped iconset file.

I looked it over and it looks like it's fine. The config that is.

This is from a working Sense 5 set I have.

Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- 
Weather conditions:
 0 = UNKOWN
 1 = STORM
 2 = THUNDERSTORM
 3 = DRIZZLE
 4 = RAIN
 5 = SHOWERS 
 6 = FLURRIES
 7 = RAINANDSNOW
 8 = SNOW
 9 = HAIL
10 = FOG 
11 = HAZE 
12 = WIND
13 = PARTLY_CLOUDY
14 = MOSTLY_CLOUDY
15 = CLEAR 
16 = FAIR
-->
<config>
  <title>Sense 5 Weather Black</title>
  <description>Soft black minimal weather icons</description>
  <icons>icons</icons>
  <demo>weather-showers-scattered-day.png</demo>
  <default>weather-none-available.png</default>
  <!-- We provide current and 7 days weather -->
  <!--New Values (Example only includes 2 Day Weather)-->
  <mode value="#WCCODE#">Current Weather</mode>
  <mode value="#W0CODE#">Today's Weather</mode>
  <mode value="#W1CODE#">Tomorrow's Weather</mode>
  <mode value="#W2CODE#">Day After Tomorrow Weather</mode>
  <mode value="#W3CODE#">3 Days Weather</mode>
  <mode value="#W4CODE#">4 Days Weather</mode>
  <mode value="#W5CODE#">5 Days Weather</mode>
  <mode value="#W6CODE#">6 Days Weather</mode>
  <mode value="#W7CODE#">7 Days Weather</mode>
  <!-- Following condition icons are the same day and night -->
  <condition>
    <!-- Thunder Storm -->
    <test>#MODE#=2</test>
    <image>weather-storm.png</image>
  </condition>
  <condition>
    <!-- Flurries -->
    <test>#MODE#=6</test>
    <image>weather-snow.png</image>
  </condition>
  <condition>
    <!-- Rain and Snow -->
    <test>#MODE#=7</test>
    <image>weather-snow-rain.png</image>
  </condition>
  <condition>
    <!-- Snow -->
    <test>#MODE#=8</test>
    <image>weather-snow.png</image>
  </condition>
  <condition>
    <!-- Hail -->
    <test>#MODE#=9</test>
    <image>weather-hail.png</image>
  </condition>
  <condition>
    <!-- Fog / Haze / Wind-->
    <test>#MODE#=10</test>
    <test>#MODE#=11</test>
    <test>#MODE#=12</test>
    <image>weather-mist.png</image>
  </condition>
  <!-- Nightly icons block will be skipped entirely if his conditions do not match -->
  <condition>
    <!-- We just check if sunrise hour is greater than current -->
    <test>#ARHH#&gt;#DHH#</test>
    <!-- Or if sunset if minor than current -->
    <test>#ASHH#&lt;#DHH#</test>
	<!-- Storm -->
	<condition>
      <test>#MODE#=1</test>
      <image>weather-storm-night.png</image>
    </condition>
	<condition>
	  <!-- Drizzle / Rain-->
	  <test>#MODE#=3</test>
	  <test>#MODE#=4</test>
	  <image>weather-showers-scattered-night.png</image>
	</condition>
	<condition>
      <!-- Showers -->
      <test>#MODE#=5</test>
      <image>weather-showers-night.png</image>
    </condition>
	<condition>
	  <!-- Partly cloudy -->
	  <test>#MODE#=13</test>
	  <image>weather-few-clouds-night.png</image>
	</condition>
    <condition>
      <!-- Mostly Cloudy -->
      <test>#MODE#=14</test>
      <image>weather-clouds-night.png</image>
    </condition>
    <condition>
	  <!-- Fair/Clear -->
	  <test>#MODE#=15</test>
      <test>#MODE#=16</test>
      <image>weather-clear-night.png</image>
	</condition>
  </condition>
  <!-- Daily conditions (parser will arrive here if it did not catch anything in night block) -->
  <condition>
    <!-- Storm -->
    <test>#MODE#=1</test>
    <image>weather-storm-day.png</image>
  </condition>
  <condition>
    <!-- Drizzle / Rain-->
    <test>#MODE#=3</test>
    <test>#MODE#=4</test>
    <image>weather-showers-scattered-day.png</image>
  </condition>
  <condition>
    <!-- Showers -->
    <test>#MODE#=5</test>
    <image>weather-showers-day.png</image>
  </condition>
  <condition>
    <!-- Partly cloudy -->
    <test>#MODE#=13</test>
    <image>weather-few-clouds.png</image>
  </condition>
  <condition>
    <!-- Mostly Cloudy -->
    <test>#MODE#=14</test>
    <image>weather-clouds.png</image>
  </condition>
  <condition>
    <!-- Fair/Clear -->
    <test>#MODE#=15</test>
    <test>#MODE#=16</test>
    <image>weather-clear.png</image>
  </condition>
</config>
And yours:
Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- 
Weather conditions:
 0 = UNKOWN
 1 = STORM
 2 = THUNDERSTORM
 3 = DRIZZLE
 4 = RAIN
 5 = SHOWERS 
 6 = FLURRIES
 7 = RAINANDSNOW
 8 = SNOW
 9 = HAIL
10 = FOG 
11 = HAZE 
12 = WIND
13 = PARTLY_CLOUDY
14 = MOSTLY_CLOUDY
15 = CLEAR 
16 = FAIR
-->
<config>
  <title>Sense4HD</title>
  <description>Sense4HD</description>
  <icons>icons</icons>
  <demo>weather-showers-scattered-day.png</demo>
  <default>weather-none-available.png</default>
  <!-- We provide current and 7 days weather -->
  <!--New Values (Example only includes 2 Day Weather)-->
  <mode value="#WCCODE#">Current Weather</mode>
  <mode value="#W0CODE#">Today's Weather</mode>
  <mode value="#W1CODE#">Tomorrow's Weather</mode>
  <mode value="#W2CODE#">Day After Tomorrow Weather</mode>
  <mode value="#W3CODE#">3 Days Weather</mode>
  <mode value="#W4CODE#">4 Days Weather</mode>
  <mode value="#W5CODE#">5 Days Weather</mode>
  <mode value="#W6CODE#">6 Days Weather</mode>
  <mode value="#W7CODE#">7 Days Weather</mode>
  <!-- Following condition icons are the same day and night -->
  <condition>
    <!-- Thunder Storm -->
    <test>#MODE#=2</test>
    <image>weather-storm.png</image>
  </condition>
  <condition>
    <!-- Flurries -->
    <test>#MODE#=6</test>
    <image>weather-snow.png</image>
  </condition>
  <condition>
    <!-- Rain and Snow -->
    <test>#MODE#=7</test>
    <image>weather-snow-rain.png</image>
  </condition>
  <condition>
    <!-- Snow -->
    <test>#MODE#=8</test>
    <image>weather-snow.png</image>
  </condition>
  <condition>
    <!-- Hail -->
    <test>#MODE#=9</test>
    <image>weather-snow-rain.png</image>
  </condition>
  <condition>
    <!-- Fog / Haze / Wind-->
    <test>#MODE#=10</test>
    <test>#MODE#=11</test>
    <test>#MODE#=12</test>
    <image>weather-mist.png</image>
  </condition>
  <!-- Nightly icons block will be skipped entirely if his conditions do not match -->
  <condition>
    <!-- We just check if sunrise hour is greater than current -->
    <test>#ARHH#&gt;#DHH#</test>
    <!-- Or if sunset if minor than current -->
    <test>#ASHH#&lt;#DHH#</test>
    <!-- Storm -->
    <condition>
      <test>#MODE#=1</test>
      <image>weather-storm-night.png</image>
    </condition>
    <condition>
      <!-- Drizzle / Rain-->
      <test>#MODE#=3</test>
      <test>#MODE#=4</test>
      <image>weather-rain.png</image>
    </condition>
    <condition>
      <!-- Showers -->
      <test>#MODE#=5</test>
      <image>weather-showers-night.png</image>
    </condition>
    <condition>
      <!-- Partly cloudy -->
      <test>#MODE#=13</test>
      <image>weather-few-clouds-night.png</image>
    </condition>
    <condition>
      <!-- Mostly Cloudy -->
      <test>#MODE#=14</test>
      <image>weather-clouds-night.png</image>
    </condition>
    <condition>
      <!-- Fair/Clear -->
      <test>#MODE#=15</test>
      <test>#MODE#=16</test>
      <image>weather-clear-night.png</image>
    </condition>
  </condition>
  <!-- Daily conditions (parser will arrive here if it did not catch anything in night block) -->
  <condition>
    <!-- Storm -->
    <test>#MODE#=1</test>
    <image>weather-storm-day.png</image>
  </condition>
  <condition>
    <!-- Drizzle / Rain-->
    <test>#MODE#=3</test>
    <test>#MODE#=4</test>
    <image>weather-showers-scattered-day.png</image>
  </condition>
  <condition>
    <!-- Showers -->
    <test>#MODE#=5</test>
    <image>weather-showers-day.png</image>
  </condition>
  <condition>
    <!-- Partly cloudy -->
    <test>#MODE#=13</test>
    <image>weather-few-clouds.png</image>
  </condition>
  <condition>
    <!-- Mostly Cloudy -->
    <test>#MODE#=14</test>
    <image>weather-clouds.png</image>
  </condition>
  <condition>
    <!-- Fair/Clear -->
    <test>#MODE#=15</test>
    <test>#MODE#=16</test>
    <image>weather-clear.png</image>
  </condition>
</config>
(easier this way for me to compare)
The Following User Says Thank You to scottx . For This Useful Post: [ View ]
15th April 2014, 09:04 PM   |  #3  
OP Junior Member
Thanks Meter: 4
 
27 posts
Join Date:Joined: Jan 2012
Thanks Scottx. I think I'll try stripping out the config.xml file to bare minimum and see if the iconset will at least show up. Then build on it from there, if that works. I found a partially working Sense4 iconset that I can use for the time being, but I'd really like to know where I went wrong with mine.

Update:
Got it working, by using the config.xml file from the working iconset I found. I'm tweaking it slowly so I don't mess it up. I still don't know what went wrong with the first config.xml file. Thanks for the help.
Last edited by rcHumanz; 15th April 2014 at 10:01 PM. Reason: Update
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes