B Brian Dean Well-Known Member Licensed User Longtime User Sep 28, 2021 #1 I have been writing code for many years but I know next to nothing about internet programming and protocols. Please bear that in mind when answering. I have written a class object that retrieves (scrapes) images from a website using a part number. It works perfectly from the B4J IDE. It is a B4X class and also works perfectly in an Android app. When I compile the B4J version to a stand-alone app it does not work; the image is not retrieved. I am sure all was okay when I last worked on this app a few months ago. I am probably missing something obvious. I attach a sample application. Attachments Problem.zip Problem.zip 4 KB · Views: 291
I have been writing code for many years but I know next to nothing about internet programming and protocols. Please bear that in mind when answering. I have written a class object that retrieves (scrapes) images from a website using a part number. It works perfectly from the B4J IDE. It is a B4X class and also works perfectly in an Android app. When I compile the B4J version to a stand-alone app it does not work; the image is not retrieved. I am sure all was okay when I last worked on this app a few months ago. I am probably missing something obvious. I attach a sample application.
Solution bdunkleysmith Sep 29, 2021 As per Tips and special cases point 7 in https://www.b4x.com/android/forum/t...-way-to-distribute-standalone-ui-apps.117880/ 7. If you get an error that looks like: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure, add: B4X: Copy #PackagerProperty: IncludedModules = jdk.crypto.ec That SSLHandshakeException could be seen by running run_debug.bat in the build folder.
As per Tips and special cases point 7 in https://www.b4x.com/android/forum/t...-way-to-distribute-standalone-ui-apps.117880/ 7. If you get an error that looks like: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure, add: B4X: Copy #PackagerProperty: IncludedModules = jdk.crypto.ec That SSLHandshakeException could be seen by running run_debug.bat in the build folder.
bdunkleysmith Active Member Licensed User Longtime User Sep 29, 2021 #2 As per Tips and special cases point 7 in https://www.b4x.com/android/forum/t...-way-to-distribute-standalone-ui-apps.117880/ 7. If you get an error that looks like: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure, add: B4X: Copy #PackagerProperty: IncludedModules = jdk.crypto.ec That SSLHandshakeException could be seen by running run_debug.bat in the build folder. Attachments Problem.zip Problem.zip 4 KB · Views: 285 Last edited: Sep 29, 2021 Upvote 2 Solution
As per Tips and special cases point 7 in https://www.b4x.com/android/forum/t...-way-to-distribute-standalone-ui-apps.117880/ 7. If you get an error that looks like: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure, add: B4X: Copy #PackagerProperty: IncludedModules = jdk.crypto.ec That SSLHandshakeException could be seen by running run_debug.bat in the build folder.
B Brian Dean Well-Known Member Licensed User Longtime User Sep 29, 2021 #3 Thanks - that works. I hadn't noticed run_debug.bat before : that is a useful tip in itself. Upvote 0