How to: Configure Datalogic devices through an Intent

Method 1 - Send a Datalogic SDK configuration Intent via code (Java/Kotlin)

Datalogic SDK v1.29 required.

  1. Send an intent as following:
import com.datalogic.device.configuration.PropertyID;

Intent intent = new Intent(Intents.ACTION_CONFIGURATION_COMMIT); 

HashMap map = new HashMap(); 
map.put(PropertyID.WIFI_BAND_SELECTION, WifiBandSelection.WIFI_BAND_24_GHZ.toString()); 
map.put(PropertyID.CODE128_ENABLE, "false");
intent.putExtra(Intents.EXTRA_CONFIGURATION_CHANGED_MAP, map); 
mContext.sendBroadcast(intent);
  1. Reboot the device to apply the configuration.