P Pepebis Member Licensed User Longtime User Oct 15, 2020 #1 Dear all , I'm trying to incorporate a bar code scanner from this example https://www.b4x.com/android/forum/threads/b4x-b4xpages-barcode-reader.120417/ with udp library. Separratly both of them are working just fine. Problem occurs when I'm combining them. First is that error : HttpUtils2Service is declared twice. You should either remove the library reference or the code module. Click to expand... Please see attached file. When another activity is being loaded problem is showing. Another problem is with Toast message, this is not working with that combination. Any suggestions? Attachments BArcodewithanotherudp.zip 32.3 KB · Views: 189
Dear all , I'm trying to incorporate a bar code scanner from this example https://www.b4x.com/android/forum/threads/b4x-b4xpages-barcode-reader.120417/ with udp library. Separratly both of them are working just fine. Problem occurs when I'm combining them. First is that error : HttpUtils2Service is declared twice. You should either remove the library reference or the code module. Click to expand... Please see attached file. When another activity is being loaded problem is showing. Another problem is with Toast message, this is not working with that combination. Any suggestions?
DonManfred Expert Licensed User Longtime User Oct 15, 2020 #2 what is MkWiFiUDP? I can not find this library The project you uploaded is not using any httputils library or classes. Neither the module or the library!? Upvote 0
what is MkWiFiUDP? I can not find this library The project you uploaded is not using any httputils library or classes. Neither the module or the library!?
P Pepebis Member Licensed User Longtime User Oct 15, 2020 #3 That library is establishing udp communication with wifi modules. I don't know if that lib is using httputils . I guess not. Upvote 0
That library is establishing udp communication with wifi modules. I don't know if that lib is using httputils . I guess not.
DonManfred Expert Licensed User Longtime User Oct 15, 2020 #4 1. Where can i find this library? 2. The project you uploaded is NOT using any httputils. Pepebis said: I guess not. Click to expand... i guess yes Upvote 0
1. Where can i find this library? 2. The project you uploaded is NOT using any httputils. Pepebis said: I guess not. Click to expand... i guess yes
P Pepebis Member Licensed User Longtime User Oct 15, 2020 #5 library is attached in shared file Upvote 0
P Pepebis Member Licensed User Longtime User Oct 15, 2020 #6 ok. you were right . in xml file <dependsOn includesSingletonModules="true">httputils2</dependsOn> Click to expand... what should i do ? Upvote 0
ok. you were right . in xml file <dependsOn includesSingletonModules="true">httputils2</dependsOn> Click to expand... what should i do ?
DonManfred Expert Licensed User Longtime User Oct 15, 2020 #7 remove that line from xml PS: Edit to add. I would delete this library as it looks like it is internal using a httputils2 service module which is a mistake Ask the author to fix that Upvote 0
remove that line from xml PS: Edit to add. I would delete this library as it looks like it is internal using a httputils2 service module which is a mistake Ask the author to fix that
DonManfred Expert Licensed User Longtime User Oct 15, 2020 #8 The library has the module included. BAD CODE Upvote 0
P Pepebis Member Licensed User Longtime User Oct 15, 2020 #9 Ok. Thank you . I will try to contact him . Best Regards , Przemek Upvote 0