类型转换: function ToBoolean: Boolean; function ToInteger: Integer; function ToSingle: Single; function ToDouble: Double; function ToExtended: Extended; class function ToBoolean(const S: string): Boolean; class function ToInteger(const S: string): Intege
1) setting the Project Options, Uses Permissions, Wake lock = True 2) Adding Android.JNI.PowerManager to the uses clause 3) call: AcquireWakeLock; // at start up. ReleaseWakeLock; // at shutdown. //----------------------------------------------------