(Optional) The application can download the custom resources using this API. The customized resource bundles are assigned to application connections in the SCC.
When a notification is received for updates made to the CUSTOMIZATION_RESOURCE property, this API returns the customization resource bundle as binary data.
ODPClientConnection.initInstance(getApplicationContext(), appName); ODPClientConnection lm= ODPClientConnection.getInstance(); EndPointListner epl=new EndPointListener(); lm.addConfigurationChangeListener(epl); serviceDocPath = las.getApplicationEndPoint(); public class EndPointListner implements IODPConfigurationChangeListener{ @Override public void configurationHasChanged(int key, String value) { Log.i("Configuration has changed", "key: "+arg0 + "Value: "+arg1); String Custom_resource = ""; if(key == CUSTOMIZATION_RESOURCES) { ODPAppSettings las = new ODPAppSettings(); byte[] Property_metadata; try { Property_metadata = las.getCustomizationResourceBundle(value,"supuser2","s3puser"); ! } catch (ODPException e) { e.printStackTrace(); } } Log.i("Customization resources test"+Custom_resource ); } } }
When a notification is received for updates made to the CUSTOMIZATION_RESOURCE property, this API returns the customization resource bundle as binary data.