Jump to content

frankie1

Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. Thank you for your fast answers @Dalija Prasnikar : i had take a look at what System.Net offers reading the embarcadero docs you posted. However i couldn't find an example to start with. Considering i have to log in to: https://a.b.com/loginform.aspx username: user1 password: password1 please can you show me what code should i use to retrieve the 'hello user1' after the succesfull login? procedure TForm1.Button1Click(Sender: TObject); begin // login and get the greeting_message; ShowMessage(greeting_message); end; I still dont get how http requests from System.Net work for https @Fr0sT.Brutal : i was thinking of that but wouldn't it a big overhead for the application on android in terms of ram?
  2. Hi, am not developing very often, almost 0 knowledge on networking programming. I am trying to build an app (both .exe and android) that logs in a https site (user and password) and manipulate data retrieved from the site. I have read around and the things got very confusing because of the 2 dlls that i have to put inside .exe folder (for https to work -openssl). Also on android version_n (don't remember the number) there's no support for openssl (that delphi uses, or indy at least - very confusing for non-dayly-programmers) because they switched to boringssl. So all this throws a lot of difficulty and confusion for me; besides logging in to the https site, i need to get some data from that site that is displayed on browser screen(for example) after you press a button on that web page. So there's the need to manipulate the web page elements within the application, wait for the info, and fetch it and manipulate it. Now the questions: is delphi capable to generate .exe and android version of this program? (without installing n addons and troubleshoot possible install bugs?) If so, what would be the easiest approach? Please post a very small snippet that works. What i have tried: nothing so far, i have just read the infos on how delphi works with https and found it is somehow frustrating for me. If there's no elegant solution, i might go for other programming language for this app site example: https://abc.def.com/loginform.aspx ; people from stackoverflow considered i should ask this on delphipraxis
×