AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Cross-Platform-Entwicklung NotificationCenter - kein Sound unter Apple?
Thema durchsuchen
Ansicht
Themen-Optionen

NotificationCenter - kein Sound unter Apple?

Ein Thema von LangTsu · begonnen am 7. Mai 2014 · letzter Beitrag vom 23. Mai 2014
 
LangTsu
(Gast)

n/a Beiträge
 
#1

NotificationCenter - kein Sound unter Apple?

  Alt 7. Mai 2014, 13:40
Hallo Community

ich suchte eine Möglichkeit in meine App Benachrichtigungen einzubauen und bin auf folgendes Tutorial gestossen:

http://docwiki.embarcadero.com/RADSt...und_Android%29

Das ist auch genau das was ich gesucht habe.
Nur leider klappt das mit dem Sound unter Apple bei mir nicht

Ich bekomme die Notifications angezeigt, bekomme aber keinen Sound dazu.
Kennt dieses Problem jemand oder Kann mit BITTE sagen was ich machen muss

Wäre wirklich Klasse von euch Danke!

Hier mein Code
Code:
procedure TForm1.Button1Click(Sender: TObject);
var
  Notification : TNotification;
begin
   Notification := NotificationCenter1.CreateNotification;
  try
    Notification.Name := 'Neuer Job';
    Notification.AlertBody := 'Neuer Job ist vorhanden';
    Notification.Number := 1;
    Notification.EnableSound := True;
    Notification.AlertAction := 'Launch';
    Notification.HasAction := True;
    NotificationCenter1.PresentNotification(Notification);
  finally
    Notification.DisposeOf;
  end;
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 10:08 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz