ZEBRA TC 75 =>key programmer REMAP with xml file

Hello all,

we work with visual studio 2015 and xamarin.

We have buy 700 devices zebra TC 75 and for some reason some users would like to have the scan button on the right side => replace the volume by the scan.

 

Of course, for each device, we can change manually these option in the settings key programmers => but for 700 devices that's pretty boring ...

We see that it's possible to REMAP button with a XML config file locate on the device folder => entreprise/device/settings/keypad

 

We have build a little xml file as this

 

<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>

<Button_Remap>

  <trigger_1 mode="Remap Button">

    <REMAP_CODE>SCAN</REMAP_CODE>

    <EXTRA_SHORTCUT>MPA3_TRIGGER_1</EXTRA_SHORTCUT>

    <EXTRA_TITLE></EXTRA_TITLE>

    <EXTRA_PACKAGE_NAME></EXTRA_PACKAGE_NAME>

  </trigger_1>

</Button_Remap>

 

and drag and drop this xml file on this folder => entreprise/device/settings/keypad

But each time , we receive an error as this : detected invalid kew config xml reverting back to the last know good state

 

Any idea of how to REMAP button with a xml file

 

Thanks for your time

Anonymous (not verified)
Hi, this is not an answer per

Hi, this is not an answer per se but did you see the documentation for Button Remapping in the integrator guide?  https://www.zebra.com/content/dam/zebra_new_ia/en-us/manuals/mobile-computers/tc70-integrator-guide-a-en-us.pdf Section 6-9.  It states "Note It is not recommended to remap the scan button", so perhaps it is not possible.  You could try exporting a successful configuration as explained in the integrator guide and comparing it with your XML.  Also, the folder is enterprise/..., not entreprise/... but I presume that is a typo in your question.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Christophe BERNARD
Hello darryn,thanks for your

Hello darryn,

thanks for your fast reply, yes i have this document great ...

Thanks for the idea for export the file but it's not possible ?

when i go to settings / Key Programmer i have just the list of the button who are programmer ....and i don't have the choice to export it ...

TC75KeyProgrammer.PNG

Yes sorry it's enterprise and not entreprise

Any others idea ?

thanks for your help

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Anonymous (not verified)
Do you not have a menu (3

Do you not have a menu (3 dots) to the top right of the Key Programmer menu?  If it is missing that is very strange.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Christophe BERNARD
No ...unhappy there isn't the

No ...unhappy there isn't the 3 dot on the top ... i can't understand why ...

if i look on the document on the section you mentionned in your last comment i see the print screen where there is the top menu  ...

i think the version it's not the same ...

i've read on the document that these settings (original) are save in the folder usr ...

but for me, i've found a xml file named key-conig.xml locate here : enterprise/device/settings/defaults ...

MCFolder.png

i will be try to modify these file and put into folder settings/keypad

don't hesitate if you have any other idea ..

thanks

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Christophe BERNARD
Hello darrynsome news but not

Hello darryn

some news but not ...so good !

i've copy paste the file locate in :

enterprise/device/settings/default into my windows office

modify some node of this xml and copy paste this file into this folder :

enterprise/device/settings/keypad

but everytime i receive the error

detected invalid config xml, reverting back to the last now good state ...

i'm lost, if you have others idea

thanks

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Mark Jolley
Hi Christophe,I have done

Hi Christophe,

I have done this on quite a lot of TC75s, can you compare this XML to yours

<?xml version="1.0" encoding="UTF-8"?><Button_Remap>

  <trigger_1 mode="Remap Button">

    <REMAP_CODE>BUTTON_PTT</REMAP_CODE>

    <EXTRA_SHORTCUT>MPA3_TRIGGER_1</EXTRA_SHORTCUT>

    <EXTRA_TITLE/>

    <EXTRA_PACKAGE_NAME/>

  </trigger_1>

  <trigger_2 mode="Remap Button">

    <REMAP_CODE>BUTTON_SCAN</REMAP_CODE>

    <EXTRA_SHORTCUT>MPA3_TRIGGER_2</EXTRA_SHORTCUT>

    <EXTRA_TITLE/>

    <EXTRA_PACKAGE_NAME/>

  </trigger_2>

  <trigger_3 mode="Remap Button">

    <REMAP_CODE>BUTTON_SCAN</REMAP_CODE>

    <EXTRA_SHORTCUT>MPA3_TRIGGER_3</EXTRA_SHORTCUT>

    <EXTRA_TITLE/>

    <EXTRA_PACKAGE_NAME/>

  </trigger_3>

  <trigger_4 mode="Remap Button">

    <REMAP_CODE>BUTTON_SCAN</REMAP_CODE>

    <EXTRA_SHORTCUT>MPA3_TRIGGER_4</EXTRA_SHORTCUT>

    <EXTRA_TITLE/>

    <EXTRA_PACKAGE_NAME/>

  </trigger_4>

  <app_switch mode="Remap Button">

    <REMAP_CODE>NONE</REMAP_CODE>

    <EXTRA_SHORTCUT>MPA3_TRIGGER_5</EXTRA_SHORTCUT>

    <EXTRA_TITLE/>

    <EXTRA_PACKAGE_NAME/>

  </app_switch>

  <headset mode="Remap Button">

    <REMAP_CODE>NONE</REMAP_CODE>

  </headset>

</Button_Remap>

Also it needs to go in 2 places

    /enterprise/usr/key-config.xml

    /enterprise/device/settings/keypad/key-config.xml

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Pietro Francesc...
Hi Christophe,can you send a

Hi Christophe,

can you send a screenshot of the the about phone with the build number you're using on the device?

Keep in mind that key programmer works in a different way on TC75 and TC75x, so, please confirm that you're working on a TC75.

One thing that you can check while copying the file on the device is to set correctly the read permission, using something like:

chmod 666 /enterprise/device/settings/keypad/key-config.xml

Best,

~Pietro

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Christophe BERNARD
Hello all,happy new year to

Hello all,

happy new year to all, best wish without problem

@mark jolley => thanks for your time but i've copy paste your code and place it on the device at two location as you mentionned.

But every time i have the error message as i mentionned in the begining of this post.

AboutScreenShot.png

@pietro francesco maggi,

here is it the screen shot of my device .

I see on the print screen it a device TC75FK ?

TC75FK = TC75X ? if yes could you tell me how i can do for modify the button of scan because we have some user who use the left hand

and some others users would like scan with the right button.

Thanks for all

Christophe

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Pietro Francesc...
Hi Christophe,your device is

Hi Christophe,

your device is a TC75x. The file method (exporting and importing a configuration works on the original TC75, these new devices have a more secure way to remap the keys using our Mx layer:

About MX - Zebra Technologies TechDocs

To configure the keyboard you can use a configuration profile either through EMDK or through Stagenow (or an MDM if you use one that supports Mx Profiles):

Here some documentation for the relevant Key Mapping Manager profile: KeyMapping Manager - Zebra Technologies TechDocs

Here an EMDK example to set a profile with Xamarin: Your First EMDK For Xamarin Application - Zebra Technologies TechDocs

This tutorial is about setting the clock, but setting the Key Mapping is very similar.

You can test the attached StageNow barcode that should set the Volume Up and Volume Down keys as scanner trigger (sorry, I don't have a device with me on my current trip and cannot tests it right now).

You can find more information on StageNow here: Device Staging - Zebra Technologies TechDocs

~Pietro

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Christophe BERNARD
Hello Pietro,that's nice with

Hello Pietro,

that's nice with this all complete documentation i can do that.

thanks for all

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments