ZebraDevs / datawedge-MAUI-SampleApp

Showing how to integrate Zebra Datawedge barcode readings into an existing .NET MAUI App. DW is sending readings via broadcast Intents and needs a specific profile setup which is part of this solution.
17 stars 5 forks source link

Datawedge Get active profile #3

Open fgonc124 opened 3 hours ago

fgonc124 commented 3 hours ago

I'v been trying to get Datawedge active profile using .Net Maui but I could not get it one.

This the code that I use to get the job done is:

Intent i = new Intent(); i.SetAction("com.symbol.datawedge.api.ACTION"); i.AddCategory("android.intent.category.DEFAULT"); i.PutExtra("com.symbol.datawedge.api.GET_ACTIVE_PROFILE","");

this.SendBroadcast(i);

The broadcastreceiver isn't activated.

I tried several times and with two different devices, TC21 and TC27.

TC21 has Android 11 and Datawedge 11.4.42 TC27 has Android 13 and Datawedge 13.0.107

Thanks

Fernando fernandomg4@gmail.com

NDZL commented 2 hours ago

Hi Fernando - going to check and get back to you

br Nicola dzl

Nicola De Zolt L.

Software Engineer

ZEBRA TECHNOLOGIES

M: +39 347.630.1535


From: fgonc124 @.> Sent: Friday, November 1, 2024 8:26:07 PM To: ZebraDevs/datawedge-MAUI-SampleApp @.> Cc: Subscribed @.***> Subject: [ZebraDevs/datawedge-MAUI-SampleApp] Datawedge Get active profile (Issue #3)

I'v been trying to get Datawedge active profile using .Net Maui but I could not get it one. This the code that I use to get the job done is: Intent i = new Intent(); i. SetAction("com. symbol. datawedge. api. ACTION"); i. AddCategory("android. intent. category. DEFAULT"); ZjQcmQRYFpfptBannerStart External Sender This message came from outside our organization. Please use caution before acting on the message.

ZjQcmQRYFpfptBannerEnd

I'v been trying to get Datawedge active profile using .Net Maui but I could not get it one.

This the code that I use to get the job done is:

Intent i = new Intent(); i.SetAction("com.symbol.datawedge.api.ACTION"); i.AddCategory("android.intent.category.DEFAULT"); i.PutExtra("com.symbol.datawedge.api.GET_ACTIVE_PROFILE","");

this.SendBroadcast(i);

The broadcastreceiver isn't activated.

I tried several times and with two different devices, TC21 and TC27.

TC21 has Android 11 and Datawedge 11.4.42 TC27 has Android 13 and Datawedge 13.0.107

Thanks

Fernando @.**@.>

— Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_ZebraDevs_datawedge-2DMAUI-2DSampleApp_issues_3&d=DwMCaQ&c=Qwsh1H-X9ypOoLLEcAIltRyC0Dw0FG3Mmyd56ahml5w&r=U1B3Lk8Honsy_xtgC17ZQ7saNKD_TQhFfmjOeDxJ__A&m=xMz_0trEC8wQZt3KUf4KXR2OHu8MGvNIKHk_lXJjFKIzBy-AuqoDiRWooLgtDh17&s=Yk0lH4VD6-SpkVzTPH9W3Dm-IOGMI_trly7-A-18dEg&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ACW36NA4JTTLWK2SOCOI2MLZ6PIU7AVCNFSM6AAAAABRA2RUZWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYZDSNZSGY2TMNQ&d=DwMCaQ&c=Qwsh1H-X9ypOoLLEcAIltRyC0Dw0FG3Mmyd56ahml5w&r=U1B3Lk8Honsy_xtgC17ZQ7saNKD_TQhFfmjOeDxJ__A&m=xMz_0trEC8wQZt3KUf4KXR2OHu8MGvNIKHk_lXJjFKIzBy-AuqoDiRWooLgtDh17&s=6QP1_tC8hKmfcUM16rU_xufDARrVljqNH-lSKw3l1Ao&e=. You are receiving this because you are subscribed to this thread.Message ID: @.***>