Konuyu Oyla:
  • Derecelendirme: 0/5 - 0 oy
  • 1
  • 2
  • 3
  • 4
  • 5
Android System.Permissions hatası
#3
(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)
Cevapla


Bu Konudaki Yorumlar
Android System.Permissions hatası - Yazar: cinarbil - 03-02-2019, Saat: 12:57
Android System.Permissions hatası - Yazar: mrmarman - 03-02-2019, Saat: 13:06
Cvp: Android System.Permissions hatası - Yazar: cinarbil - 03-02-2019, Saat: 13:09
Android System.Permissions hatası - Yazar: mrmarman - 03-02-2019, Saat: 13:26
Cvp: Android System.Permissions hatası - Yazar: cinarbil - 03-02-2019, Saat: 13:32

Konu ile Alakalı Benzer Konular
Konular Yazar Yorumlar Okunma Son Yorum
  IOS Deployment Info.Plist hatası mcuyan 9 475 07-04-2026, Saat: 09:30
Son Yorum: RAD Coder
  Çözüldü _ Delphi Community Edition SDK ayarları hatası cinarbil 1 485 12-03-2026, Saat: 10:25
Son Yorum: damert6
  Android Uygulama İkonu ARM 2 400 11-11-2025, Saat: 12:15
Son Yorum: ARM
  Android SDK kajmerantime 1 385 28-10-2025, Saat: 14:53
Son Yorum: cinarbil
  Android El Terminali Barkod Okuyucu Verisi tuna 0 335 17-10-2025, Saat: 01:07
Son Yorum: tuna



Konuyu Okuyanlar: 1 Ziyaretçi