Posts

Showing posts with the label Delphi Developers: Delphi FMX Mobile / iOS / Android

Backup does not work under ios and android for me

Backup does not work under ios and android for me FDSQLiteBackup.Database := sFile; FDSQLiteBackup.DestDatabaseObj := FDConnectionLocal.CliObj; FDSQLiteBackup.DestMode := smCreate; FDSQLiteBackup.Backup; when use get table names it is empty FDConnectionLocal.GetTableNames('','','', pSLTables); if pSLTables.IndexOf(TableName) = -1 then this code works well on Win, Mac. Regards

TAzureTableService does not work with Android on Delphi RIO

TAzureTableService does not work with Android on Delphi RIO Works well on Windows, Mac, ios but not on Android I receive this error: AuthenticationFailed Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature. Any workaround ? Regards

Android 9.0 & Delphi 10.3 Rio

Android 9.0 & Delphi 10.3 Rio https://youtu.be/cAYzNhKw2NQ https://youtu.be/cAYzNhKw2NQ

Hello. Do any of you know any tutorial about saving image into database by using datasnap?

Hello. Do any of you know any tutorial about saving image into database by using datasnap? Thanks in advance.

I tried to make an application from a web page

I tried to make an application from a web page and then, how to send messages with certain users Source https://www.danielespinetti.it/2016/06/simple-chat-messaging-system-with.html

Anatomy Of A Delphi 10.3 Rio Firemonkey App On #Android, #IOS, #Windows, And #macOS

http://www.fmxexpress.com/anatomy-of-a-delphi-10-3-rio-firemonkey-app-on-android-ios-windows-and-macos/

Hi guys

Hi guys, I'm using Delphi rio 10.3 Comunity edition to test a simple android app. The app just have a TForm with a TButton and a TLabel. On Button.Click there is one line code: Label1.Text := 'aaa'; I run this app on my phone it is OK. The Android version of this phone is 8.1.0; I run this app on my another phone, it was freeze. The android version of this phone is 5.0. Is Delphi 10.3 support old Android phone?

Hi guys

Hi guys, I'm using Delphi rio 10.3 Comunity edition to test some small android apps. I'm trying to access the camera but I got error CAMERA_EXTERNAL_STORAGE. WRITE_EXTERNAL_STORAGE have not been granted. In my project options I Have chose those options selected in the USES PERMISSIONS, My device have Android 8.0 , so it seems that rio 10.3 do not resolve android problems of the Tokyo version. Any ideas?

I found a bug in delphi Rio 10.3, an object is automatically destroyed at the end of formcreate on Android. Not in Windows.

Image
I found a bug in delphi Rio 10.3, an object is automatically destroyed at the end of formcreate on Android. Not in Windows. Should have something to do with refcount? Can anybody help me?, I'm in a hurry to finish my project. Please find code below, which is in a Blank Multi-Device application. ----------------- See code below --------- unit Unit1; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs; type TMapLayer = class(TObject) private fName : string; fNumb : integer; public constructor Create(); destructor Destroy(); override; end; TForm1 = class(TForm) procedure FormCreate(Sender: TObject); private { Private declarations } public { Public declarations } end; var Form1: TForm1; implementation {$R *.fmx} constructor TMapLayer.Create(); begin inherited Create(); fName := ''; fNumb := -1; end; destructor TMapLayer.Destro...

I have recently finished building a Multi-Tier database Application using the datasnap technology in Delphi. I have built the datasnap Client app in Delphi-Object Pascal, and linked it to a datasnap server app that communicates with HeidiSQL. When I run my Client app on the Windows desktop(64bit), it works just fine; it connects to the datasnap server, and can read and update the database. However, when i run it on an Android Device, while the server is running, it closes immediately.

I have recently finished building a Multi-Tier database Application using the datasnap technology in Delphi. I have built the datasnap Client app in Delphi-Object Pascal, and linked it to a datasnap server app that communicates with HeidiSQL. When I run my Client app on the Windows desktop(64bit), it works just fine; it connects to the datasnap server, and can read and update the database. However, when i run it on an Android Device, while the server is running, it closes immediately. Do any of you know how to solve this issue? Thank you in advance.

TDirectory.GetFiles() not working in Android 8.1 Devices

TDirectory.GetFiles() not working in Android 8.1 Devices https://quality.embarcadero.com/browse/RSP-21708 Can somebody please confirm this. This worked in 10.2 Tokyo. https://quality.embarcadero.com/browse/RSP-21708

Hello I have a question...

Hello I have a question... Someone tried to build a iOS app with Delphi Rio 10.3 yet? What build of XCode and iTunes is needed? Anyone has a clue?

Could you try a ios app on simulator? It is closing after splash screen when I try.

Could you try a ios app on simulator? It is closing after splash screen when I try.

Below is AES encryption method for Android, what would be the equivalent implementation in delphi for iOS.... I tried using lockbox but I don't getthe same encrypted result.

Below is AES encryption method for Android, what would be the equivalent implementation in delphi for iOS.... I tried using lockbox but I don't getthe same encrypted result. public static String encryptAES(String password, String value) throws GeneralSecurityException, UnsupportedEncodingException { Rfc2898DeriveBytes keyGenerator = new Rfc2898DeriveBytes(password, salt); byte[] key = keyGenerator.getBytes(32); byte[] iv = keyGenerator.getBytes(16); SecretKeySpec secret = new SecretKeySpec(key, "AES"); Cipher cipher = Cipher.getInstance("AES/CBC/PKCS7Padding"); cipher.init(Cipher.ENCRYPT_MODE, secret, new IvParameterSpec(iv)); byte[] cipherText = cipher.doFinal(value.getBytes("UTF-16LE")); return new String(Base64.encodeToString(cipherText, Base64.DEFAULT)); }

Same Source But Different Result In FMX 3D App.

Image
Same Source But Different Result In FMX 3D App. Anyone tried 3D App in FMX Delphi? I tried to develop a simple 3D App, but get different result produced, anyone can help?

#ASK

#ASK how to get storage android thanks

Hi

Hi, the new iPhones XS & XSMax don't have a standard 40 character UDID anymore. Therefore, Tokyo can't compile and deploy apps to those devices even if you have a valid provisioning profile for those devices. Also iTunes does not provide the UDID anymore for those new devices. The new UDID format for those is in the form nnnnnnnn-000NNNNNNNNNNNNN Then the compiler complains and stops deployment. Anyone found a workaround? Thanks Steve

Interestingly, I've just for my new iPhone XR today and the UUID format has changed from my iPhone 8.

Interestingly, I've just for my new iPhone XR today and the UUID format has changed from my iPhone 8. Worse still, Delphi Berlin doesn't work properly and fails with an error if I try to debug onto it. Looks like I'll be keeping my iPhone 8 until 10.3 is ready!

"Network Unreachable" when tethering.

"Network Unreachable" when tethering. I am running the BDShoppingList project in "C:\Users\Public\Documents\Embarcadero\Studio\19.0\Samples\Object Pascal\RTL\Tethering\BDShoppingList" It runs well in Windows but when I run the Android target I get this exception. The exception is raised in this proc: procedure TTetheringNetworkServerCommUDP.BroadcastData(const AData: TBytes; const AHost: string; InitialPort, FinalPort: Integer); var I: Integer; LHost: string; begin if TTetheringAdapter.IsLoggingItem(TTetheringAdapter.TTetheringLogItem.Comm) then TLogAdapter.Log('** UDP ** BroadcastData to "' + AHost + '": "' + TEncoding.UTF8.GetString(AData) + '"'); if AHost = '' then begin if FIPVersion = TCommIPVersion.IP_IPv4 then LHost := '255.255.255.255' else LHost := '0:0:0:0:0:0:255.255.255.255'; for I := InitialPort to FinalPort do FUDPServer.Broadcast(AData, I,...

personal money manager

personal money manager created with delphi comunity edition+sqllite https://play.google.com/store/apps/details?id=jalmalier.MyMoney