![]() |
|
Push Notification Örneği Var mı? - Baskı Önizleme +- Delphi Can (https://www.delphican.com) +-- Forum: Delphi (https://www.delphican.com/forumdisplay.php?fid=3) +--- Forum: Mobil Platform - FireMonkey (FMX) (https://www.delphican.com/forumdisplay.php?fid=7) +--- Konu Başlığı: Push Notification Örneği Var mı? (/showthread.php?tid=2828) Sayfalar:
1
2
|
Cvp: Push Notification Örneği Var mı? - hakanharbeli - 30-10-2018 (30-10-2018, Saat: 11:22)Fesih ARSLAN Adlı Kullanıcıdan Alıntı:(30-10-2018, Saat: 00:40)hakanharbeli Adlı Kullanıcıdan Alıntı: Merhaba, Üstat çok teşekkür ederim : )
Push Notification Örneği Var mı? - mcuyan - 01-11-2018 hocam PushNotification ile ilgili 3.parti bir yazılım var JVESuite diye. Ben bunu kullanıyorum. Fakat PushWoosh altyapısını kullanıyor. JVE 100 dolar civarında, PW a ise yıllık 100dolar gibi bir rakam ödüyorsunuz fakat çalışması muazzam ve fantastik.. Push Notification Örneği Var mı? - r3n4m3 - 07-12-2018 Burada bir örnek inceleyebilirisiniz https://github.com/grijjy/DelphiRemotePushSender Cvp: Push Notification Örneği Var mı? - Halil Han BADEM - 07-12-2018 (07-12-2018, Saat: 11:49)okoca Adlı Kullanıcıdan Alıntı: saçma bulmuyormusunuz altı üstü bir notification çıkarmak için para ödemeye bazi hizmet sağlayıcılarıda kişi adetine göre ücretlendirme yapıyor.. Zaten aslında bende sizin dediğiniz şekilde service yazıp işlemleri yapma taraftarıyım ama Delphi background service yazımında uygulama kapandıktan sonra kendini tetikleyemiyor. Uygulama kapanınca servisi kapatıyor. Java gereksinimi duyuluyor. Java ile servisi yazıp Delphi'ye kodu enjekte edebiliyorsunuz. Böylelikle dediğiniz işlem yapılıyor ama Delphi sadece yeterli kalmıyor.. Cvp: Push Notification Örneği Var mı? - okoca - 14-12-2018 (07-12-2018, Saat: 13:24)Halil Han Badem Adlı Kullanıcıdan Alıntı:(07-12-2018, Saat: 11:49)okoca Adlı Kullanıcıdan Alıntı: saçma bulmuyormusunuz altı üstü bir notification çıkarmak için para ödemeye bazi hizmet sağlayıcılarıda kişi adetine göre ücretlendirme yapıyor.. eğer servisini çalıştırdıkdan sonra START_STICKY moduna sokarsan işletim sistemi ramı boşaltmak için uygulamanı killese dahi tekrar başlatılacakdır. Function TAndroidServiceDM.AndroidServiceStartCommand(const Sender: TObject; const Intent: JIntent; Flags, StartId: Integer): Integer; begin Result:=TJService.JavaClass.START_STICKY; end; START_STICKY is basically the same as the previous behavior, where the service is left "started" and will later be restarted by the system. The only difference from previous versions of the platform is that it if it gets restarted because its process is killed, onStartCommand() will be called on the next instance of the service with a null Intent instead of not being called at all. Services that use this mode should always check for this case and deal with it appropriately. START_NOT_STICKY says that, after returning from onStartCreated(), if the process is killed with no remaining start commands to deliver, then the service will be stopped instead of restarted. This makes a lot more sense for services that are intended to only run while executing commands sent to them. For example, a service may be started every 15 minutes from an alarm to poll some network state. If it gets killed while doing that work, it would be best to just let it be stopped and get started the next time the alarm fires. START_REDELIVER_INTENT is like START_NOT_STICKY, except if the service's process is killed before it calls stopSelf() for a given intent, that intent will be re-delivered to it until it completes (unless after some number of more tries it still can't complete, at which point the system gives up). This is useful for services that are receiving commands of work to do, and want to make sure they do eventually complete the work for each command sent. Cvp: Push Notification Örneği Var mı? - Halil Han BADEM - 14-12-2018 (14-12-2018, Saat: 21:42)okoca Adlı Kullanıcıdan Alıntı:(07-12-2018, Saat: 13:24)Halil Han Badem Adlı Kullanıcıdan Alıntı: Zaten aslında bende sizin dediğiniz şekilde service yazıp işlemleri yapma taraftarıyım ama Delphi background service yazımında uygulama kapandıktan sonra kendini tetikleyemiyor. Uygulama kapanınca servisi kapatıyor. Java gereksinimi duyuluyor. Java ile servisi yazıp Delphi'ye kodu enjekte edebiliyorsunuz. Böylelikle dediğiniz işlem yapılıyor ama Delphi sadece yeterli kalmıyor.. START_STICKY sınıfını kullanmama rağmen sonuç alamadım. Hatta günlerce araştırma yaptığımı bilirim. Konularımın linkleri: http://www.delphican.com/showthread.php?tid=1946 https://stackoverflow.com/questions/48666608/delphi-how-to-keep-doing-queries-after-closing-the-android-app Eğer bir yerde hata yapıyorsam gerçekten öğrenmek isterim. Bu sorunu çözersem Android noktasında güzel proje fikirlerim var çünkü
|