How Datawedge profile add programmatically in xamarin?

R Randheer Amaranath 3 years 7 months ago
71 2 0

We have a mobile application developed for Motorola MC40 devices to scan barcodes by using a DataWedge profile. Currently this DataWedge Profile is created manually. Since this is troublesome, we are in a process of automating the DataWedge profile creation. For application development we use Xamarin Studio with C#.NET development. The approach we use is "AutoImport" funactionality in DataWedge application. The mobile application copies "datawedge.db" file (exported and stoed in a known location) to ~/enterprise/device/settings/datawedge/autoimport path during application initialization by using "FileStream Copy" and DataWedge application is supposed to pickup the file automatically and create the relavant profiles.The mobile application copies the file to correct location, but DataWedge application does not import it and create profiles. If the MC40 device is restarted after the file copy, DataWedge detects it and create the profiles. Also if the datawedge.db file is copied manually, DataWedge picks it up immediately and create the profiles.

We also referred to below discussions but could not found the correct approach to solve the issue.
https://developer.motorolasolutions.com/message/15674#15674 https://developer.motorolasolutions.com/message/14371#14371 https://developer.motorolasolutions.com/message/15010#15010

Packaging DataWedge Profile with Application

Re: How to create DataWedge profile programatically

ET1 Datawedge profile add programaticaly ,
 
It is greatly Appreciated if you could provide some insight into this issue.

Please Register or Login to post a reply

2 Replies

d dilip nums

Can you please provide me a sample for scanning barcodes using DataWedge.  I am developing the application using Xamarin and C#.

B Bruce Crawford

Randheer, I suggest using the capabilities of the new EMDK for Android  to include a DataWedge barcode configuration with your application.

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