I would like to share my latest findings with community regarding a possibility to disable Home Button in MC40. Quite often we can see requests from our customer trying to achieve this programmatically however this is not possible by default on JB/KK. This additional feature has been added to the latest version of MC40JB(Rev B). This feature might be quite handy if you wish to lock down user in specific application and together with our EHS it is even more powerful. Following piece of code showing how should the intent look like and its parameter for disabling/enabling the Home Button.
Intent i = new Intent("com.motorolasolutions.intent.action.HOMEKEY_MODE"); i.putExtra("state", 1); sendBroadcast(i); 1 - Enable 0 - Disable