import com.datalogic.device.configuration.ConfigurationManager;
import com.datalogic.device.configuration.Property;
import com.datalogic.device.configuration.PropertyGroup;
...
ConfigurationManager configurationManager = new ConfigurationManager(getApplicationContext());
PropertyGroup rootGroup = configurationManager.getTreeRoot();
printGroup(rootGroup);
...
void printGroup(PropertyGroup pg) {
Log.d("SAMPLE", pg.getName());
for (Property p : pg.getProperties()) {
Log.d("SAMPLE", " " + p.getName() + ": " + p.get());
}
for (PropertyGroup p : pg.getGroups()) {
printGroup(p);
}
}