![]() |
TIdHTTP macht Probleme mit dem Application Store Zertifikat [Android]
Hallo zusammen,
ich habe Probleme eine Android Application Store App auf meinem Google Nexus 7 von der IDE auszuführen. Folgende Situation ist gegeben :
Delphi-Quellcode:
Kann Sich das jemand und mir erklären ? Ich habe keine Ahnung warum die App das macht oder habe ich noch etwas vergessen für die Application Store Konfiguration ?
procedure TForm13.Btn_StartClick(Sender: TObject);
var IdHTTP : TIdHTTP; begin // To load the rss feed into the xml string IdHTTP := TIdHTTP.Create(nil); try while not Application.Terminated do begin try Memo1.Lines.Text := IdHTTP.Get('http://www.code-orakel.de/feed/news/rss.php'); Break; except on E: Exception do begin IdHTTP.Disconnect(False); ShowMessage(E.Message); Sleep(2000); end; end; end; finally IdHTTP.DisposeOf; end; end; |
AW: TIdHTTP macht Probleme mit dem Application Store Zertifikat [Android]
Zitat:
das sieht nach Berechnungsproblem aus, schau mal unter Projekt Optionen nach Berechtigungen für Release nach. Internetzugang: Aber ich hatte hier ja auch mal geschrieben, das ich bei mir auch hier immer mal komische Sachen mit der AndroidManifest.xml habe. Die stellt sich immer mal wieder auf den Standard zurück :?: Folgende Berechtigung brauchst Du:
Code:
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" /> |
AW: TIdHTTP macht Probleme mit dem Application Store Zertifikat [Android]
Hallo arnof,
danke für Deine hilfreiche Antwort. Das hat mich ein ganzes Stück weitergebracht. In den Porjektoptionen war Internet auf True, trotzdem hat er in der Manifest Datei Internet nicht freigegeben. Jetzt packe ich eine manuelle Manifest Datei ins Deployment und schon funktioniert es. |
AW: TIdHTTP macht Probleme mit dem Application Store Zertifikat [Android]
Zitat:
Achte auch auf die Mindestversion in der Manifestdatei, ich setzte V4.x voraus (verwendete SDK) und xe5 schreibt immer 2.3 hinein! |
AW: TIdHTTP macht Probleme mit dem Application Store Zertifikat [Android]
Zitat:
Zitat:
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 12:04 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz