}
properties.setProperty("NumberOfChannels", Integer.toString(mChannels.size()));
for (int i = 0; i < mChannels.size(); i++) {
final Channel channel = mChannels.get(i);
DataHydraChannelContainer container = mInternalChannels.get(channel);
properties.setProperty("ChannelId-" + i, container.getId());
properties.setProperty("ChannelTitle-" + i, container.getName());
properties.setProperty("ChannelBaseUrl-" + i, container.getBaseUrl());
properties.setProperty("ChannelIconUrl-" + i, container.getIconUrl());
properties.setProperty("ChannelLastUpdate-" + i, container.getLastUpdateString());
properties.setProperty("ChannelGroup-" + i, channel.getGroup().getId());
}
properties.setProperty(SweDBTvDataService.SHOW_REGISTER_TEXT, String.valueOf(mSettings.getShowRegisterText()));
mLog.info("Finished storing settings for DataHydraTvDataService. Returning properties...");
return properties;