

JohnLM
Members-
Content Count
350 -
Joined
-
Last visited
Everything posted by JohnLM
-
TidHTTP under FMX for android does not work
JohnLM replied to JohnLM's topic in Network, Cloud and Web
Update.. Great news.. after so many weeks and hours of searching and reading (and breaks, here and there), I have finally succeeded!! No more issues with SSL errors. I am now able to deploy apps using Indy v10.6.1.518 to my Galaxy S10+ smartphone (Android 10) using Delphi XE7 Professional under Windows 7 Home Prem 6 GB ram 64-bit laptop. I suffered many headaches over this. The screenshot below shows proof that I accomplished it. It is the same VCL app that I posted a screen copy of in my original post above, but this time in a redesigned FMX framework and deployed to the android 10 smartphone. I actually owe the thanks to Remy, from reading one of his posts over in StackOverFlow from 2016 through 2021. Actually, all the answers were spread out across many forums and topics. I just had to piece them all together somehow. This link, over at StatkOverFlow, https://stackoverflow.com/questions/37105600/error-could-not-load-ssl-library-on-android-with-tidhttp helped me to figure out the last piece of the missing part of many parts to get all this working. An excerpt from Remy's response near the bottom of that topic: So, thank you Remy -
How can I list all my Android SDK details in text format?
JohnLM posted a topic in Delphi IDE and APIs
I am trying to work out some issues with compiling certain components and need to list out all installations that pertain to Android development. I use the Android SDK tool to install various Android files. Although I can compile apps and deploy them to my Android device, I believe that I have messed things up pretty well, I think. F:\Users\Public\Documents\Embarcadero\Studio\15.0\PlatformSDKs\adt-bundle-windows-x86-20131030\sdk\tools\ --> Android Tools And I want to list out the same details seen below but in "text" format (so that I can post it to someone). I don't want to post it as an image like the below, plus also because there are a lot more info not seen in this image below and would require multiple images to post, and it would be better to post a text file and send that off to the person. Is there a command line tool that I can use to obtain the same text and layout? I can clean it up to look in a similar layout as in the image just above if I have to. Thanks. -
Windows 7 Home 64bit Delphi XE7 Professional update 1 with FireDAC and Mobile add-on Indy version 10.6.1.518 Android devices: (smartphone v10, and tables v4.4.4, and v4.4.2) I am having trouble trying to get these projects copied via Save-as and Save-project-as from the IDE, to another version'ized folder. When I start a project, I normally create a folder that describes the application name. Then, I create a version folder (i.e., v01, v02, ... v10, and so on) so that I can see the version of that project. This helps me to keep project apps organized, debugging, etc.. ** My steps are as follows for working with and saving a project into a new version folder: ** (this is just before I close down Delphi for the project) 1. open or create a project, E:\XE7\VCL\JasonParser\v01\JasonParser_v01.dproj 2. do work on that project. If the project is working well, I will quickly determine if that will be the final working version. If I decide, yes, then I will create a new version folder. ** Create new version folder: ** 3. Save-as (this saves the unit) thus, save into E:\XE7\VCL\JasonParser\v02\unit1.pas 4. Save-project-as, thus, save into E:\XE7\VCL\JasonParser\v02\JasonParser_v02.dproj 5. then, either I shut down Delphi or start a new project via steps 1 through 5. However, being my first time creating a project-group, I am lost as to how to copy over the whole project to a new version folder so that I can work on the project. The issue I am having is that the second project group is not carrying over. How do I fix this?
-
TidHTTP under FMX for android does not work
JohnLM replied to JohnLM's topic in Network, Cloud and Web
To be safe and mostly headache-free, I am making a backup copy of the F: drive mem stick, and after that, I will re-image my laptop's C: drive using Reflect Macrium. This way I can restore both mediums if all else fails. -
TidHTTP under FMX for android does not work
JohnLM replied to JohnLM's topic in Network, Cloud and Web
@Rollo62, I didn't realize you were linking to an Indy-alternative. Anway, thank you. I have no issues on the Windows side of things when using Indy, so far. But my needs are for Android 10 and onward. And I would need an http.get() equivalent to Indy's. Once again, thanks for your suggestion. -
TidHTTP under FMX for android does not work
JohnLM replied to JohnLM's topic in Network, Cloud and Web
My XE7 Pro is installed on an USB-3 external F: drive and not the usual C: drive. Will that be an issue with installation? Do I need to change certain files to reflect this? -
TidHTTP under FMX for android does not work
JohnLM replied to JohnLM's topic in Network, Cloud and Web
Remey, I am not a GitHub user and don't understand that hierarchy system and the discussions are difficult to follow in order to get to the step(s) for the solution or links or downloads. I'm on my way to work. Later, I will try and search this forum to see if there is a download link and installation instructions. If I don't find any, I may have to start another topic on this Indy Upgrade process. -
TidHTTP under FMX for android does not work
JohnLM replied to JohnLM's topic in Network, Cloud and Web
Yes, I had not mentioned that earlier today I updated my original post (at the top). -
TidHTTP under FMX for android does not work
JohnLM replied to JohnLM's topic in Network, Cloud and Web
update.. I have the issue partially solved, in the two tablets only. But, to answer Remy's question. I don't have the latest version because I had never used them in mobile devices.. only in Windows. And I never had any issues. They just worked. In Android mobile devices is where and when I just found out they don't work. Well, at least not for Android 10 on my smartphone. So, I wouldn't know if they are outdated and/or need to be upgraded. But, as it turns out, for the Android 4.4.2 and 4.4.4 on my two tablets, I did not have the Internet turned on, for those two devices. You see, in order to save battery life, I had turned off the auto-internet feature of those devices, and when I started using them in this project and with the Indy tidhttp component for the first, that is when I discovered all this trouble. However, the app no longer gives me any trouble for android 4.4.2 and 4.4.4 on the tablets.., it is working fine. I just need to get it working on the smartphone. -
TidHTTP under FMX for android does not work
JohnLM replied to JohnLM's topic in Network, Cloud and Web
update.. I decided to remove the tidhttp1 and IdSSLIOHandlerSocketOpenSSL1 components and re-add them to the project. This time, the LG Android 4.4.2 tablet is giving me this message: "Error resolving Address www.omdbapi.com: (7)" -
TidHTTP under FMX for android does not work
JohnLM replied to JohnLM's topic in Network, Cloud and Web
Just to update you on the process.. I am using the USB cable to deploy apps on the android, not the Google Store. I have never used that route, nor do I know anything about it. I use the USB route to add apps to my android device(s). Right up to now, I was using my smartphone, S10+ which has Android 10 on it. This device shuts down the app. Now, I am trying my old Acer tablet with Android 4.4.4 and an even older LG tablet with Android 4.4.2 on it. When I attempt to deploy the app on either of them via the USB cable, (and press the [submit] button in the app to process the idhttp) the app on both tablets does not shut down, instead, they display the same message: "IOHandler value is not valid" I thought for sure, that the LG 4.4.2 tablet would work for the "idhttp" component on android since I purchase both Delphi XE7 Pro and it, back in December 2014. So now, I am wondering if anyone ever did use the Indy TidHttp component on these much older androids successfully. -
TidHTTP under FMX for android does not work
JohnLM replied to JohnLM's topic in Network, Cloud and Web
Hi, I'm still up trying to find a solution. I've recently read about the TNetHTPClient, but it is for XE8 and onward. I have not found any package of it for XE7. If I can't find a solution for Indy, then I am hoping there is a component (with a similar operation to idhttp) elsewhere. -
TidHTTP under FMX for android does not work
JohnLM replied to JohnLM's topic in Network, Cloud and Web
Dave, (or anyone else) which section from the posted link should I be looking at? Looking through the maze of info, (it is all confusing to me. I am no Android expert. ) I have tried random ideas but still had no success.., the app continues to shut down.