loading background
Hi,
im getting an error in loading a background. the error occurs on reserving device. it seem that the resources is own by a previous application. how can i determine if the previous device has been release?
below are my code
HBackgroundDevice backDevice = HScreen.getDefaultHScreen().getDefaultHBackgroundDevice();
HBackgroundConfigTemplate backgroundConfigurationTemplate = new HBackgroundConfigTemplate();
backgroundConfigurationTemplate.setPreference(HBackgroundConfigTemplate.FLICKER_FILTERING, HBackgroundConfigTemplate.REQUIRED);
HBackgroundConfiguration backConfig = backDevice.getBestConfiguration(backgroundConfigurationTemplate);
if(backDevice.reserveDevice(this)) {
try {
backDevice.setBackgroundConfiguration(backConfig);
} catch(Exception ex) {
Configuration");
backDevice.releaseDevice();
return null;
}
if (backConfig instanceof HStillImageBackgroundConfiguration) {
return (HStillImageBackgroundConfiguration) backConfig;
}

