RFID Web App On Android Using RhoElements

B Brandon Brock 3 years 6 months ago
27 5 0

We have a web application that makes use of the RhoElements library using JavaScript. Currently this application is running on older Windows CE devices, using Enterprise Browser. Recently, we have moved to the Android based devices (MC3300R). We would like to connect to the same web applications, but they do not seem to function at all. I know, for the Windows devices, that we had to copy over the file "WTG_RFID_PLG.dll" to the device. I assume a similar step would be required on Android, but I am unable to find any instructions for how to accomplish this. The documentation for the RhoElements does state that it works with Android.
Does anyone know the steps to get these applications working again?

Please Register or Login to post a reply

5 Replies

N Norma Vasquez

If you need any help in app development, check https://chisw.com/tech-interest. The company is specialized in app development. I've been using their services for almost 5 months already.

D Darryn Campbell

Can you try with the latest EB 2.5 release?  Before I answered last week I was able to observe the rfid object using Chrome://inspect but I was using the latest version of EB.  https://www.zebra.com/us/en/support-downloads/software/developer-tools/…

B Brandon Brock

I did some more testing after reinstalling EB 2.0, with the change to the config.xml file as you mentioned. I still see the following in the EB Log.txt file:
I 03/24/2020 12:25:31:468 00003fc6 RhoWebChromeClient| Uncaught ReferenceError: rfid is not defined

D Darryn Campbell

Please try with:
 
    
 
In Config.xml.  More information is available from https://techdocs.zebra.com/enterprise-browser/2-5/guide/configreference/

D Darryn Campbell

Hi, so the Android API you are looking for is https://techdocs.zebra.com/enterprise-browser/2-5/api/re2x/rfid/.  The team tried to match the API as closely as possible to the previous WTG_RFID_PLUG API.  From Enterprise Browser 2.0 you no longer need a separate download for RFID.
I also have this code sample from a presentation I delivered a while back:

// RFID
rfid.enumRfidEvent = "EnumRfid(%s);";
rfid.enumerate();
function EnumRfid(rfidArray)
{
    rfid = rfidArray[0][0];
    rfid.connect();
    rfid.tagEvent = "TagHandler(%json)";
    rfid.performInventory();
}
function TagHandler(tagArray)
{
    for (i = 0; i < tagArray.TagData.length; i++)
        document.activeElement.value = tagarray.TagData[i].TagID;
}I don't have any hardware to check whether the above works I'm afraid but this was my understanding based on communication from the development team following EB 2.0's release.
 

CONTACT
Can’t find what you’re looking for?