Point mobile pm85 barcode scanner
-
- Profound User
- Posts: 38
- Joined: Wed Jul 19, 2017 4:54 am
- First Name: Nadine
- Last Name: Gauthier
- Company Name: CAPL
- Country: France
- Contact:
Point mobile pm85 barcode scanner
Hi,
I try to use scanner instead of camera(works well with cordova) on a pm85 but i don't know if need to load external plugins or not to work.
best regards
I try to use scanner instead of camera(works well with cordova) on a pm85 but i don't know if need to load external plugins or not to work.
best regards
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Point mobile pm85 barcode scanner
Hello,
I'm not familiar with a pm85 barcode scanner. Does it need a Cordova plugin?
If it needs a Cordova plugin, you should use the Cordova documentation to learn how to build a project, add plugins, build an app from them, etc. Profound Logic has documentation on how you can integrate Profound UI into a Cordova project, but it does not try to teach you how Cordova works -- so it is important to learn Cordova from the Cordova documentation.
Details of integrating Profound UI with Cordova can be found here:
https://docs.profoundlogic.com/display/ ... h+PhoneGap
I'm not familiar with a pm85 barcode scanner. Does it need a Cordova plugin?
If it needs a Cordova plugin, you should use the Cordova documentation to learn how to build a project, add plugins, build an app from them, etc. Profound Logic has documentation on how you can integrate Profound UI into a Cordova project, but it does not try to teach you how Cordova works -- so it is important to learn Cordova from the Cordova documentation.
Details of integrating Profound UI with Cordova can be found here:
https://docs.profoundlogic.com/display/ ... h+PhoneGap
-
- Profound User
- Posts: 38
- Joined: Wed Jul 19, 2017 4:54 am
- First Name: Nadine
- Last Name: Gauthier
- Company Name: CAPL
- Country: France
- Contact:
Re: Point mobile pm85 barcode scanner
Hello,
A Cordova plugin does exists : "cordova-plugin-pm80-scanner".
We installed it on our ibm i as indicated in the codova documentation (-> "npm i cordova-plugin-pm80-scanner").
We see it :
But Profound UI mobile doesn't recognize it.
Sorry : we're not specialist of mobile's world !
Best regards.
A Cordova plugin does exists : "cordova-plugin-pm80-scanner".
We installed it on our ibm i as indicated in the codova documentation (-> "npm i cordova-plugin-pm80-scanner").
We see it :
But Profound UI mobile doesn't recognize it.
Sorry : we're not specialist of mobile's world !
Best regards.
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Point mobile pm85 barcode scanner
Hello,
You appear to have installed the plugin into /QOpenSys/pkgs/bin your IBM i rather than into your mobile app.
Have you created a mobile app with cordova and loaded it onto your device?
If you are using the device's browser or Profound's mobile app, you won't have the plugin. (These were not built in a the plugin.) If the plugin is a requirement, you need to build your own app with Cordova.
You appear to have installed the plugin into /QOpenSys/pkgs/bin your IBM i rather than into your mobile app.
Have you created a mobile app with cordova and loaded it onto your device?
If you are using the device's browser or Profound's mobile app, you won't have the plugin. (These were not built in a the plugin.) If the plugin is a requirement, you need to build your own app with Cordova.
-
- Profound User
- Posts: 38
- Joined: Wed Jul 19, 2017 4:54 am
- First Name: Nadine
- Last Name: Gauthier
- Company Name: CAPL
- Country: France
- Contact:
Re: Point mobile pm85 barcode scanner
We had hoped that we could add the plugin in profound ui mobile !!
So, we builded one app with phonegap as it's show in "Deploying Profound UI Mobile With PhoneGap" 's documentation, but that app don't connect to our ibm i :
Our app.js :
Our configuration in Visual Designer :
Do you have an idea ?
Thanks.
So, we builded one app with phonegap as it's show in "Deploying Profound UI Mobile With PhoneGap" 's documentation, but that app don't connect to our ibm i :
Our app.js :
Our configuration in Visual Designer :
Do you have an idea ?
Thanks.
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Point mobile pm85 barcode scanner
Perhaps there's a firewall that blocks access to your IBM i, and you need to either open a port through the firewall or use VPN software or something like that?
If that's not it, perhaps the problem is in your html file or your config.xml file. Can you provide those?
If that's not it, perhaps the problem is in your html file or your config.xml file. Can you provide those?
-
- Profound User
- Posts: 38
- Joined: Wed Jul 19, 2017 4:54 am
- First Name: Nadine
- Last Name: Gauthier
- Company Name: CAPL
- Country: France
- Contact:
Re: Point mobile pm85 barcode scanner
Hi,
Our mobile use our private network wifi and connect well with the profound ui mobile app. So we think that it's our android app witch have a problem.
config.xml : index.html : spec.html : Thanks.
Our mobile use our private network wifi and connect well with the profound ui mobile app. So we think that it's our android app witch have a problem.
config.xml : index.html : spec.html : Thanks.
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Point mobile pm85 barcode scanner
I don't see any obvious problems.
Please try connecting Chrome to your app (via USB cable to the device) and use its debugging tools to see what is going wrong. There's a web site that tells you how to do that here:
https://ourcodeworld.com/articles/read/ ... gle-chrome
Hope that helps
Please try connecting Chrome to your app (via USB cable to the device) and use its debugging tools to see what is going wrong. There's a web site that tells you how to do that here:
https://ourcodeworld.com/articles/read/ ... gle-chrome
Hope that helps
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
-
- Profound User
- Posts: 38
- Joined: Wed Jul 19, 2017 4:54 am
- First Name: Nadine
- Last Name: Gauthier
- Company Name: CAPL
- Country: France
- Contact:
Re: Point mobile pm85 barcode scanner
Hi,
We have do a log file with android studio :
in config.xml we have add for test : <allow-navigation href="http://10.84.1.2:8080/*" /> and <allow-intent href="*" /> we have same trouble
Thank you for your help
We have do a log file with android studio :
Code: Select all
see line 36 : SystemWebViewClient: URL blocked by whitelist: http://10.84.1.2:8080/profoundui/PUI0001200.pgm
in config.xml we have add for test : <allow-navigation href="http://10.84.1.2:8080/*" /> and <allow-intent href="*" /> we have same trouble
Thank you for your help
Who is online
Users browsing this forum: No registered users and 5 guests