TC 55: DataWedge Output

Our application needs Scanner function at four different place. We have already implemented it and using Intent for output. We had to create four different profiles manually in DataWedge.

 

Question 1) Is there any way to automate profile creating from within the application?

 

Question 2) DataWedge shows another type of output "Keystroke Output". What's this and can we using it instead of Intent? We couldn't find anything about it in documentation.

 

Best.

Sharjeel

Bruce Crawford
Sharjeel, currently

Sharjeel, currently applications can not create DataWedge profiles.  This capability will be added within the next few months.  "Keystroke Output" as reported by DataWedge simply means that the keyboard was used for data entry instead of the Scanner or MSR.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Sharjeel Ahmed
Thank you.It seems importing

Thank you.

It seems importing/exporting profiles is the best way to go here then.

Or maybe put profile within apk and then on first run move to the profiles folder, if application has permission to right to the profile folder?

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Bruce Crawford
Sharjeel, either option will

Sharjeel, either option will work.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Sharjeel Ahmed
I have another situation

I have another situation where I have to scan two different kinds of packages in the same Activity. One will go to list one and other will go to list two.

I plan to use Hardware button for one scan and Soft Trigger using button for other scan. However it's not possible to have two different Profiles for one Activity. So it's not possible to distinguish by looking at returning Intent if that scan by done by Hardware button or triggered by soft key.

Any way around it to achieve this?

I could use some flag when soft key is press when it will not work if user cancels scan and then presses hardware key.

/S

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Anonymous (not verified)
Sharjeel,Had a couple of

Sharjeel,
Had a couple of questions regarding your use-case. Could you please elaborate on the "two different kinds of packages" ? And these lists are maintained within your app itself ?

Is there any other way of discerning between these packages apart from having to use different trigger buttons ? For example, are the barcodes on the two different packages different in the symbology or content ?

Thanks,

Anu

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments