JohnLM
Members-
Content Count
269 -
Joined
-
Last visited
Everything posted by JohnLM
-
never mind.. this post deleted by me.
-
Installing Delphi 12.2 Inline patch 1 - no android support .. [Resolved]
JohnLM posted a topic in Cross-platform
This is so frustrating, every time I reinstall Delphi, I have to do something in order to get the Android functions to work for deployment. I have those familiar 3 triangles, and I just can't remember what I did the last time to resolve it, and I can't find it here where I i know I posted it. Does anyone know what I need to do to clear those yellow triangles in SDK Manager? -
Installing Delphi 12.2 Inline patch 1 - no android support .. [Resolved]
JohnLM replied to JohnLM's topic in Cross-platform
update.. resolved! I finally figured it all out and got mobile deployment working for Delphi 12.2 IP 1 once again. FWIW.. it was because I did not tick the "[x] Eclipse Temurin..." during the installation. Also, because I had the different values for the JAVA tab under SDK Manager. I had to change them all to this folder "c:\program files\Eclipse Adoptium\jdk - 17.0.9.9-hotspot\bin\" for both keytool.exe and jarsigner.exe files. And then all compiled/deployed to mobile. -
Installing Delphi 12.2 Inline patch 1 - no android support .. [Resolved]
JohnLM replied to JohnLM's topic in Cross-platform
I found it, the link to my original issue with android, and its now resolved. However, I am unable to deploy because of a missing "D:\bin\java.exe" file. Anyone know anything about this and how to resolve ? -
Chrome browser locked in Edit mode and cant scroll with cursor keys up/down .. [Solved]
JohnLM posted a topic in General Help
specs: Win7, Chrome Version 109.0.5414.120 (Official Build) (64-bit) I was pressing a keyboard shortcut multi-key sequence too quickly (like ctrl+t, etc.) but don't know the key combination because I was doing this in very low light conditions a moment ago and now I can't scroll a webpage up/down/home/end any more. And for all I know this could be a key sequence not documented anywhere. I tried to resolve it by shutting down the Chrome browser but that did not help. Does anyone know what key sequence I need to restore back to normal browser behavior to?- 1 reply
-
- chrome
- key-sequence
-
(and 2 more)
Tagged with:
-
Chrome browser locked in Edit mode and cant scroll with cursor keys up/down .. [Solved]
JohnLM replied to JohnLM's topic in General Help
Solved !! Solution: I was calling it Edit mode because my cursor carrot key is blinking as if in Edit mode. But its refered to as 'Navigate pages with a text cursor' that needs to be turned off. I guess I must have pressed F7 when all this happened. It is now back to normal.- 1 reply
-
- chrome
- key-sequence
-
(and 2 more)
Tagged with:
-
I am not a Thread guru, though I do browse around as it is something I want to learn eventually. So I tried the code snippet in XE7, but didn't work at first, then took out the "@" (before reading Remy's reply) and although the routine appeared to work, the Label did not get updated. And after looking through the code, I saw that var x was never called/assigned. Then I added x=i and it worked! The Lable now gets updated in real-time, even while dragging the form around the screen during the thread's operation. // Simulate some work by looping and sleeping for i := 1 to 1000 do begin Sleep(10); // Simulate work (1 second per iteration) msg := '# ' + IntToStr(i); x:=i; Synchronize(UpdateUI); // Update UI safely from the main thread end; PS: I made a VCL project.
-
I use the TMemo in Android apps a lot, but due to this issue (I suffer from this as well--Galaxy S10+ phone) I've been holding off compiling to Android via 12.2 Does the Inline Patch 1 from 10-17-2024 fix this issue ? As soon as I can, I will be making an HDD image before I proceed to this Inline Patch 1 process.
-
Messing around with random codesnippets written for Indy 9 using in XE7 and 12.2 (Resolved)
JohnLM posted a topic in Indy
As the subject implies, I am just messing around with code snippets found on the web. Some I downloaded from people writing code for various purposes. Anyway... So I have this code snippet that I downloaded and was trying to see what happens. The snippet has the line: IdTCPClient1.writeln('start'); and in another: listbox1.item.add(IdTCPClient1.readln); These two commands do not appear in Indy 10.x for XE7 and D12.2 versions. Have those commands been moved some place else in the IdTCPClient component and where?- 4 replies
-
- delphi xe7
- indy
-
(and 5 more)
Tagged with:
-
Messing around with random codesnippets written for Indy 9 using in XE7 and 12.2 (Resolved)
JohnLM replied to JohnLM's topic in Indy
Thanks. I think this one works better and a faster response time (searches/lookup etc): One of those files, a .zip of the HTML Help, has been uploaded to this repository.- 4 replies
-
- delphi xe7
- indy
-
(and 5 more)
Tagged with:
-
Messing around with random codesnippets written for Indy 9 using in XE7 and 12.2 (Resolved)
JohnLM replied to JohnLM's topic in Indy
Because I don't know what version the code snips are until later on in reading the entire discussion. These are google search results. I see a snippet and read what's going on. I try it and see if it works on my main laptop computer which has XE7. And if it doesn't work either I'll keep reading further or try it on Delphi 11.2 or 12.2 as those are the three versions I have. But not all google-found search results include the versions of Indy in those discussions. I am just searching google for info and if code snippets are given I try them out for fun or interest. Not all say the version of Indy, and if I can't find any further info to resolve any issues that I might run into while trying those snippets then I might post a question here on Praxis, or not, and move on. Delphi is my hobby. Sometimes I get *new* ideas from these random google searches and they become hobby projects. In fact, I just started a new project from this as of yesterday, a Client/Server app and it appears to be working okay. First time I ever accomplished this as I always wanted to get a client/server (send/receive text) project working via Indy but failed many times. But not this time. But is it perfect or correct? Probably not. But it works. :) I was meaning to post a few questions because I had many issues, about 18 or more hours worth (I just could not stop). I'm stuck on an issue or two and still working them out. Maybe I'll post a question or two later, if I can't figure it out as it is driving me nuts. Also, I have searched around on all my versions of Delphi (xe7, 11.2 and 12.2) and did not see any documentation or Samples folder for Indy. And the link in the About of the Indy components (when you rightl-click the component in the IDE) do not work on any of those Delphi versions.- 4 replies
-
- delphi xe7
- indy
-
(and 5 more)
Tagged with:
-
I am having trouble figuring this one out. I have a form with a tscrollbox and an timage. In the image1MouseMove event of the timage I have the following code; procedure TForm2.im1MouseMove(Sender: TObject; Shift: TShiftState; X, Y: Integer); begin scrollbox1.vertScrollBar.Position := x; scrollbox1.horzScrollBar.Position := y; end; But it is not what I'd expect. What I am trying to do: 1. Lets say I have screenshot of my desktop and inserted into the timage. 2. And I resize the app's form smaller 3. Using the mouse, I want to click on the image and drag (or pan) around inside the form's scrollbox area so that I can see other parts of the image. What am I doing wrong and how can I fix this? TIA
-
Thank you @Lajos Juhász for your suggestion. I had tried a few mods late last night but I could not get it to work any better. And thank you @Anders Melander for your suggestion. It is working the way I was hoping. And, I learned a little bit about Delta. Thank you both for your help, it is appreciated!
-
Specs: Win10, Delphi 12.2 - Installing fresh because previous 12.2 installation did not include Android support. 2nd fresh install, same issue. I've reinstalled 12.2 but have no android support and when I plug the usb cable in, there is no device -- field is blank. Okay, so for sure, I thought I would not have this issue this time around in this latest release, but disappointed that this continues every new version install. What can I do? Please advise.
- 2 replies
-
- delphi 12.2
- installing
-
(and 1 more)
Tagged with:
-
Delphi 12.2 Installation Issues - No Android Support and or Missing files and folders and entries under SDK properties (Resolved)
JohnLM replied to JohnLM's topic in Delphi IDE and APIs
Update. . . Success and Resolved. Thank you @Z Vadim for the solution. In order to work, I had to search for the "sdkmanager.bat" file and found here: C:\Users\Public\Documents\Embarcadero\Studio\23.0\CatalogRepository\AndroidSDK-2525-23.0.53571.9782\cmdline-tools\11.0\bin\sdkmanager.bat I closed down Delphi 12.2, and made sure I was connected to the internet, and went to that folder and ran the following: sdkmanager.bat "platform-tools" "platforms;android-34" I now have moble development working for Android for the first time in the 12.2 version.- 2 replies
-
- delphi 12.2
- installing
-
(and 1 more)
Tagged with:
-
Delphi 12.2 Installation issues - Platforms availability - (Resolved)
JohnLM posted a topic in Delphi IDE and APIs
Specs: win10 tablet I am unable to install 12.2 It removed 12.0 but the installation stops at: Platforms availability No more platforms pending to install. Any suggestions?- 6 replies
-
- delphi 12.2
- installing
-
(and 2 more)
Tagged with:
-
Delphi 12.2 Installation issues - Platforms availability - (Resolved)
JohnLM replied to JohnLM's topic in Delphi IDE and APIs
At the start of the installation is a [Options] button for changing folder locations. And I was trying to install to another drive instead of the standard C: drive. It did not like it, I guess. When I changed it to the default location, the installation went ahead, successfully, about 50 minutes.- 6 replies
-
- delphi 12.2
- installing
-
(and 2 more)
Tagged with:
-
Delphi 12.2 Installation issues - Platforms availability - (Resolved)
JohnLM replied to JohnLM's topic in Delphi IDE and APIs
Just reporting 12.2 has successfully installed.- 6 replies
-
- delphi 12.2
- installing
-
(and 2 more)
Tagged with:
-
Delphi 12.2 Installation issues - Platforms availability - (Resolved)
JohnLM replied to JohnLM's topic in Delphi IDE and APIs
Issue is resolved and installation is now continuing.- 6 replies
-
- delphi 12.2
- installing
-
(and 2 more)
Tagged with:
-
Because I have a small, 128GB hdd in my tablet, I want to install on an external SSD drive. What are the pros and cons for installing on another drive?
-
Which version is applicable to receive Delphi updates and upgrade versions?
JohnLM posted a topic in Delphi IDE and APIs
License Specs: Delphi 11.2 Alexandria 11/2022 I finally and recently purchased a 1-yr 'support renewal', which ends nov/2024 so that I could get the 12.2 version. However, I have not received any email confirmation with the new license/serials, and I don't see any updates to my https://my.embarcadero.com/ account. It is the same listing since 11/2022. And when I tried to download the 12.2 iso it said that my update subscription expired and to request a renewal quote. The one I recently purchased was this one: "Delphi Professional - Named - Support Renewal" But I do see there are others mentioned here on these forums: * maintenance update -- * update subscription - - * support renewal -- the one I purchased. Did I purchase the wrong one? -
Which version is applicable to receive Delphi updates and upgrade versions?
JohnLM replied to JohnLM's topic in Delphi IDE and APIs
Current Specs: Delphi XE7, vcl, win7 and MD5 checksum decoding Update. . . on other news.. regarding the MD5 checksum number given at the download page. I spent hours trying to find out how to do MD5 encode/decode, and finally found the answer I was looking for. I found this routine that worked in XE7 at least, but not tested for other versions old or newer. When run and fed the filename, it took several minutes to process and complete. Happy to say that the checksum produced from the routine below matched the website's !! I hope this code-snippet below, becomes useful for other users. ///// 5a // link; https://stackoverflow.com/questions/447985/file-md5-checksum 9.13.24.fri.0614pm // function MD5File(const FileName: string): string; var IdMD5: TIdHashMessageDigest5; FS: TFileStream; begin IdMD5 := TIdHashMessageDigest5.Create; FS := TFileStream.Create(FileName, fmOpenRead or fmShareDenyWrite); try Result := IdMD5.HashStreamAsHex(FS) finally FS.Free; IdMD5.Free; end; end; ///// - end 5a -- this compiles successfully. procedure TForm1.Button1Click(Sender: TObject); var hash: string; begin // 5a -- "F:\Delphi\Embarcadero\RADStudio_12_2_9782_9961F.iso" hash := md5file(edit1.Text); edit1.Text := hash; end; -
Which version is applicable to receive Delphi updates and upgrade versions?
JohnLM replied to JohnLM's topic in Delphi IDE and APIs
Update. . . Success! I made contact with my sales rep and I am now able to download the 12.2 iso. -
Am I connected to the Internet - how can I find out?
JohnLM posted a topic in Network, Cloud and Web
Specs: Delphi XE7, 11 and 12, VCL, Win7/10 I work mainly on my win7 latop. And there is this file that I check for stats purpsoes every day and throughout the day as I am working on the laptop. And in one instance today, it dawned on me that I need to know if I was connected to the internet or not. Plus, a side bonus could be helpful to know that if I lose internet I could do something about it. In win7 I noticed that in the bottom task tray area, there is the icon, the one with the square monitor looking image (sure its different in win10), when I hover the mouse over it or click on it, it will say, "Internet access" Is there some delphi code-snippet already out there that will tell me that I am connected to the internet, like in the above mentioned?- 2 replies
-
- delphi xe7 11 12
- internet
-
(and 1 more)
Tagged with:
-
App Tethering incompatability between Delphi XE7 and 12
JohnLM posted a topic in Delphi IDE and APIs
Specs: Delphi XE7, FMX, Win7, Win10, - Creating an App Tethering app for each platform (windows/android/tablet/laptop) I've had my share of problems in this app tethering endeavor but over-come most, if not all of them. In this latest issue I appear to have found a slight bug in the differences between Delphi XE7 and Delphi 12 (and I'm sure in previous version as well). Let me explain. 1. I have several demo app tethering that I created in Delphi XE7 for a windows 7 laptop and android 12 phone, and they work fine. I can send/receive text. 2. I have also create demo apps for app tethering in Delphi 11.2/12.0 for a windows 10 tablet and laptop, and they work fine. I can send/receive text. 3. The problem arrises when I create the same project in XE7, and using the same setup I would in the other app tethering (Password, Resource->Kind=value, Resource->Name=text, ResType=data) but that the send and receive app(s) do not find each other. So, the XE7 app tether cannot find that D11 or D12 app tethering and vise-versa. I need to create certain apps under XE7 for my daily windows 7 laptop because this is my main working computer. My other win10 tablet and laptop(s) are my secondary work devices. My question is, is there a work-around for this?- 1 reply
-
- delphi xe7
- app tethering
-
(and 6 more)
Tagged with: