User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11

Thread: android notification : send a notification kill the app ?

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    arthurh's Avatar
    Join Date
    Sep 2010
    Posts
    916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question android notification : send a notification kill the app ?

    Hi,

    i use the native notifications manager. I try tu use it with the good example and the good pdf to explain how to use it. Actually, to send a notification i must click on a button and then the application die. you receive immediatly the notification. But this is not what i ask : i ask to send a notification 2 minutes after create it. and i create it at start of frame. is there a way to do that ?

    thanks for your support .

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    arthurh's Avatar
    Join Date
    Sep 2010
    Posts
    916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nobody ? is that how it works ? when you send a notification it kill the application ?
    ....
    plz.... help...

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    SoftWarewolf's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    927
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    you'll need to use the time and date object to get the current date and time, then add +2 to minutes f.ex. it's a bit inconvinient since if the time is 59, then you'll need to calculate to next hour etc.

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    arthurh's Avatar
    Join Date
    Sep 2010
    Posts
    916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi SoftWarewolf, i hope you are fine my friend !
    I do that but it kill the app immediatly... Of course, i recalculate the min or our. But the real problem for me is that the apk close when i send the notification (the same with the example of notification manager).
    Have you some idea ?
    Many thanks !

  5. #5
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleMac Export Module

    Join Date
    Jun 2014
    Location
    France
    Posts
    151
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    We must create an event and only during the event send your notification

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    arthurh's Avatar
    Join Date
    Sep 2010
    Posts
    916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Moucklee, qu'entends tu pas "create an event" ?

  7. #7
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleMac Export Module

    Join Date
    Jun 2014
    Location
    France
    Posts
    151
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Si j'ai bien compris tu veut envoyer une Notification 2 minutes après avoir cliqué sur le bouton ?

    Si c'est bien ça

    CONDITION: Bouton "Envoyé" est Cliqué
    ACTION: lancez évènement "Notif" Après 02 Minutes

    CONDITION: Lors de évènement Notif
    Action: Envoyé Notification

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    arthurh's Avatar
    Join Date
    Sep 2010
    Posts
    916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ah oui ok ! mais le problème est que lorsque j'envoie une notif, l'appli se ferme directement ! comment fais-tu pour envoyer une notif et avoir une appli qui continue de tourner ?

  9. #9
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleMac Export Module

    Join Date
    Jun 2014
    Location
    France
    Posts
    151
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    As tu laisser une action qui fait fermer ton apps ou bien ton apps Crash ?

  10. #10
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    arthurh's Avatar
    Join Date
    Sep 2010
    Posts
    916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    non je ne fait juste qu'envoyer la notif en start of frame... ensuite l'appli ne réponds plus et après j'ai un panneau noir avec l'info que l'appli s'est arrêtée.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Android Native Notification Manager
    By ColdFire in forum Released Extensions
    Replies: 52
    Last Post: 28th June 2019, 12:41 PM
  2. push notification for android
    By ramyhakam in forum Extension Development
    Replies: 0
    Last Post: 18th September 2015, 10:55 PM
  3. Disabling Android notification menu
    By Snakesoft in forum Android Export Module 2.5
    Replies: 2
    Last Post: 6th June 2015, 08:02 AM
  4. Guide on how to use the Android Native Notification Manager
    By Perry in forum Guides, Tutorials, Examples, Widgets
    Replies: 7
    Last Post: 26th April 2015, 03:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •