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
Antwort Antwort
moe120

Registriert seit: 1. Okt 2012
Ort: Radeberg
34 Beiträge
 
Delphi XE6 Enterprise
 
#1

AW: NotificationCenter - kein Sound unter Apple?

  Alt 23. Mai 2014, 13:07
habs grad mal probiert, bei mir gehts (XE6) mit Ton:

Delphi-Quellcode:
 _notification:= NotificationCenter1.CreateNotification;
 _notification.Name:= 'blubb';
 _notification.EnableSound:= true;
 _notification.AlertBody:= 'Erinnerung - Termin'+ t_pref +t_bez + t_ort + ' beginnt in ' + notif_lapse;
 _notification.FireDate:= termin.termin_start - reminder_diff;
 NotificationCenter1.ScheduleNotification(_notification);
ich muss aber aus der App rausgehen damit ich geplante Notifications angezeigt bekomme. Weiss nicht ob das normal ist, verstehen könnte ichs ja ein bischen von wegen dass man nicht bei der Eingabe unterbrochen wird etc.

Du hast geschrieben Ton ist an, hast du auch mal unter Einstellungen > Mitteilungen geschaut bei den Settings für deine App ? (aber ich glaub der Eintrag dort kommt erst rein wenn man sich mit dem Kinvey oder Parse Provider beim Appstart anmeldet damit die Abfrage kommt "darf Ihnen XY Push Benachrichtigungen senden"
  Mit Zitat antworten Zitat
Benutzerbild von Sir Rufo
Sir Rufo

Registriert seit: 5. Jan 2005
Ort: Stadthagen
9.454 Beiträge
 
Delphi 10 Seattle Enterprise
 
#2

AW: NotificationCenter - kein Sound unter Apple?

  Alt 23. Mai 2014, 23:55
Auf developer.apple.com steht:
Zitat:
Local notifications and push notifications are ways for an application that isn’t running in the foreground ...
hört sich eindeutig und logisch für mich an
Kaum macht man's richtig - schon funktioniert's
Zertifikat: Sir Rufo (Fingerprint: ‎ea 0a 4c 14 0d b6 3a a4 c1 c5 b9 dc 90 9d f0 e9 de 13 da 60)
  Mit Zitat antworten Zitat
Antwort Antwort


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 14:44 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