delphi-10-seattle

Unexpected failure of custom registered Reverter using TJSONUnMarshal

ぃ、小莉子 提交于 2019-12-06 05:19:30
The code below is from the JSonMarshall project in chapter 7 of Marco Cantu's Delphi 2010 Handbook. The source code is available from here http://cc.embarcadero.com/item/27600 . I have made two changes to it: Add JSon to the implementation Uses clause to get it to compile. Added the line theName := 'XXX'; // added by me to the TDataWithList.Create constructor to assist debugging I am running the code in Delphi Seattle (without update 1) The purpose of the project is to demo a custom converter and reverter for the TDataWithList declared type. The custom converter seems to work fine, judging by

Check whether the SD card is available or not programmatically using Delphi [closed]

て烟熏妆下的殇ゞ 提交于 2019-12-06 04:33:11
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . I'm developing mobile application using Delphi 10 Seattle. I need to check programmatically, whether the SD card is available in the device using Delphi 10 Seattle? I have found the some sample using JAVA. And please provide me some example using Delphi 回答1: Delphi does not define an interface for the Android

Receiving iOS Push Notifications on Delphi 10 Seattle

假装没事ソ 提交于 2019-12-06 00:58:55
问题 The main goal here is to generate and receive Push Notifications for iOS using Delphi 10 Seattle. I'm trying to follow this video but so far I've been able only to successfully send push notifications. There's this incredible tutorial that helped me to understand better about App ID's, Provisioning Profiles, Certificates, PEM files, SSL connections and so on. This is basically how I see it now ( yes, thats a real board ): But the funny thing is about the Provisioning Profile that I need to

Check whether the SD card is available or not programmatically using Delphi [closed]

不羁岁月 提交于 2019-12-04 10:43:14
I'm developing mobile application using Delphi 10 Seattle. I need to check programmatically, whether the SD card is available in the device using Delphi 10 Seattle? I have found the some sample using JAVA . And please provide me some example using Delphi Delphi does not define an interface for the Android Environment class, but you can define it manually in your own code, eg: uses ..., Androidapi.Helpers, Androidapi.JNIBridge, Androidapi.JNI.JavaTypes; type JEnvironment = interface; JEnvironmentClass = interface(JObjectClass) ['{D131F4D4-A6AD-43B7-B2B6-A9222BC46C74}'] function _GetMEDIA_BAD

Receiving iOS Push Notifications on Delphi 10 Seattle

十年热恋 提交于 2019-12-04 07:58:47
The main goal here is to generate and receive Push Notifications for iOS using Delphi 10 Seattle. I'm trying to follow this video but so far I've been able only to successfully send push notifications. There's this incredible tutorial that helped me to understand better about App ID's, Provisioning Profiles, Certificates, PEM files, SSL connections and so on. This is basically how I see it now ( yes, thats a real board ): But the funny thing is about the Provisioning Profile that I need to link at Delphi. It must be the same reverse domain name as the APNS certificate. I'm able to visualize

delphi 10 seattle update installed? [closed]

拥有回忆 提交于 2019-12-04 07:15:33
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 3 years ago . This month we purchased the upgrade from XE to Delphi 10 Seattle. I used the installation link in the registration email. Later i saw that there is now an update 1 available that requires a reinstall. Now im in doubt if the installer i used orginally included update 1 or not. The about screen in

Get Android Device and OS Info in Firemonkey

≡放荡痞女 提交于 2019-12-04 06:20:33
问题 I know how to get app version, package name, udid for both Android and iOS But for iOS I can get more info. Code below returns model name, device name, os type and os version: string(Device.model.UTF8String);//Model name string(Device.name.UTF8String);//Device name string(Device.systemName.UTF8String);//Os type string(Device.systemVersion.UTF8String);//Os version Is it also possible to get this info For Android? I'm currently working in Delphi 10 Seattle. 回答1: I found what i'm looking for.

Where is TShellTreeView?

扶醉桌前 提交于 2019-12-03 23:03:54
问题 I'm trying to compile an old project in Delphi 10 Seattle and get the following error message class TShellTreeView not found click cancel to ignore..... TShellTreeView is a design-time component, part of the ShellCtrls package, that always shipped with Delphi in the Samples packages typically found in : C:\Users\Public\Documents\Embarcadero\Studio\xx.x\Samples\Object Pascal\VCL\ Now it doesn't seem to be there anymore. Where did this package go? 回答1: The ShellControls design-time package,

delphi 10 seattle update installed? [closed]

白昼怎懂夜的黑 提交于 2019-12-02 13:42:51
This month we purchased the upgrade from XE to Delphi 10 Seattle. I used the installation link in the registration email. Later i saw that there is now an update 1 available that requires a reinstall. Now im in doubt if the installer i used orginally included update 1 or not. The about screen in Delphi 10 Seatle shows 'no updates installed' and in the lower part of the about screen 'Build 0' so this suggests its the older version without the update. But it would be a lot of work to reinstall everying especially all the components, so i would like to be sure before i start from scratch. So the

Is there anyway to use the property like behavior?

白昼怎懂夜的黑 提交于 2019-12-02 13:30:16
I have the following formula X := X + F*(1-i div n); Where X, F, i, n: integer; The code I'm using is this F := 7; // the initial speed with no friction. n := 10; // the animation number of steps. Hn := n * 2 ; X := 0; // first Pos i := 1; J := 1; while J < Hn do begin X := X + F * (1 - i div n); if X > Xmax then X := 0; <-- line (1). if i >= n then Dec(i) else Inc(i); Inc(J); end; If it was possible I would like to use this but without class/record implementation(not inside a class/record implementation/method).not the exact syntax, just the same principle, instead of direct assignment to X