Authenticate with Android
Posted: Fri 12 Jun 2020 04:24
Hi, when i execute my multi device application in delphi on windows 32 as target, it works, it connect to the SSH server and to the database postgres in VPS, OK!
But, when i execute it with target to android 32 bit, it throws the message Host key not verified.
Important thing is that I have, in my "ScFileStorage" component 1 public key in DFM, saved as a file in Windows32 folder, obviously the file is not present in my phone, wich can explain the problem.
So, when I execute/debug as a windows app, it shows me "ScFileStorage1.Keys.Count" = 1, while I execute it in android it shows me 0, because of this it does not work.
Can this file/key be shared to the android phone ?
Can you help me please ?
But, when i execute it with target to android 32 bit, it throws the message Host key not verified.
Important thing is that I have, in my "ScFileStorage" component 1 public key in DFM, saved as a file in Windows32 folder, obviously the file is not present in my phone, wich can explain the problem.
So, when I execute/debug as a windows app, it shows me "ScFileStorage1.Keys.Count" = 1, while I execute it in android it shows me 0, because of this it does not work.
Can this file/key be shared to the android phone ?
Can you help me please ?