03-02-2019, Saat: 13:09
(03-02-2019, Saat: 13:06)mrmarman Adlı Kullanıcıdan Alıntı: Merhaba.
- Main.Pas'ın 31 nolu satırında kullandığınız komutu yazabilir misiniz?
- Neden sordum ?! System.Permissions unitini kullanan bir kod satırıdır. Bunun kullandığınız delphi sürümündeki karşılığını söylemek için sordum.
- Hatayı kullanmak istediğiniz SD-CARD vb değil daha derleme aşamasında hata veriyor çünkü. Muhtemelen RIO'daki yeni android sürümlerine ilişkin "PermissionsService.IsPermissionGranted" gibi bir sorgu yapıyorsanız bu eski sürümlerde yoktu o bakımdan.
- Daha kodları görmeden if / def ile RIO'ya göre şöyle TOKYO'ya göre böyle demek durumunda kalacağınız bir direktif ihtiyacınız olacakmış gibi bir algı oluştu bende.
Hocam ilginiz için Allah c.c razı olsun.
unit main;
{
* Copyright 2015 E Spelt for test project stuff
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* Implemented by E. Spelt for Delphi
}
interface
uses
System.SysUtils,
System.Types,
System.UITypes,
System.Classes,
System.Variants,
System.Math.Vectors,
System.Actions,
System.Threading,
System.Permissions, // hata veren satır
FMX.Types,
FMX.Controls,
FMX.Forms,
FMX.Graphics,
FMX.Dialogs,
FMX.Objects,
FMX.StdCtrls,
FMX.Media,
FMX.Platform,
FMX.MultiView,
FMX.ListView.Types,
FMX.ListView,
FMX.Layouts,
FMX.ActnList,
FMX.TabControl,
FMX.ListBox,
FMX.Controls.Presentation,
FMX.ScrollBox,
FMX.Memo,
FMX.Controls3D,
ZXing.BarcodeFormat,
ZXing.ReadResult,
ZXing.ScanManager;
"…De ki: "Hiç bilenlerle bilmeyenler bir olur mu? Şüphesiz, temiz akıl sahipleri öğüt alıp-düşünürler" (Zümer Suresi, 9)

