hookshy Well-Known Member Licensed User Longtime User Oct 28, 2013 #1 Is there a way to handle push notification sent with parse without user interaction ? Can broadcast receiver get the notification intent event so I could perform an action , bring an activity to front , start notification activity. I found some documentation on parse ...but since I am only a b4a programer I can not find many answeres there as I not so familiar with java !
Is there a way to handle push notification sent with parse without user interaction ? Can broadcast receiver get the notification intent event so I could perform an action , bring an activity to front , start notification activity. I found some documentation on parse ...but since I am only a b4a programer I can not find many answeres there as I not so familiar with java !
hookshy Well-Known Member Licensed User Longtime User Oct 29, 2013 #2 If you have 100.000 users waiting for news ...they must listen by shedule tasks by consuming querys wich cost data and money....It will be great that you can awake listeners by push notification , I think it is not posible yet with parse ? Hope I make myself more clear . Upvote 0
If you have 100.000 users waiting for news ...they must listen by shedule tasks by consuming querys wich cost data and money....It will be great that you can awake listeners by push notification , I think it is not posible yet with parse ? Hope I make myself more clear .
hookshy Well-Known Member Licensed User Longtime User Oct 29, 2013 #3 https://parse.com/docs/push_guide#receiving/Android Responding With an Intent You can also specify an Intent to be fired in the background when the push notification is received. This will allow your app to perform custom handling for the notification, and can be used whether or not you have chosen to display a system tray message. To implement custom notification handling, set the Action entry in your push notification data dictionary to the Intent action which you want to fire. Android guidelines suggest that you prefix the action with your package name to avoid namespace collisions with other running apps. Does the parse b4a library permit such action? If someone is familiar with parse library ...Tank you Upvote 0
https://parse.com/docs/push_guide#receiving/Android Responding With an Intent You can also specify an Intent to be fired in the background when the push notification is received. This will allow your app to perform custom handling for the notification, and can be used whether or not you have chosen to display a system tray message. To implement custom notification handling, set the Action entry in your push notification data dictionary to the Intent action which you want to fire. Android guidelines suggest that you prefix the action with your package name to avoid namespace collisions with other running apps. Does the parse b4a library permit such action? If someone is familiar with parse library ...Tank you
hookshy Well-Known Member Licensed User Longtime User Oct 29, 2013 #4 You can send data to users from console using json format , the users do not see the json data but how you pase the json data received after the user presses the notification ! is that possible? Upvote 0
You can send data to users from console using json format , the users do not see the json data but how you pase the json data received after the user presses the notification ! is that possible?
pesquera Active Member Licensed User Longtime User Jan 9, 2014 #5 also looking for this solution with the parse library any info will be great Upvote 0
derez Expert Licensed User Longtime User Jan 9, 2014 #6 There is a new library for notification handling http://www.b4x.com/android/forum/th...er-library-notificationlistenerservice.35630/ I haven't used it yet. Using the Parse library I succeeded in sending notifications to the devices with my applications installed (even when not running). When any of these applications updates the parse DB, a notification is sent to all others with some details of the update. So it is 1 + 1 Upvote 0
There is a new library for notification handling http://www.b4x.com/android/forum/th...er-library-notificationlistenerservice.35630/ I haven't used it yet. Using the Parse library I succeeded in sending notifications to the devices with my applications installed (even when not running). When any of these applications updates the parse DB, a notification is sent to all others with some details of the update. So it is 1 + 1
pesquera Active Member Licensed User Longtime User Jan 9, 2014 #7 Yes, I also will do it with my Apps (1+1) but, need to intercept the Push Notification whithout the user interaction That library looks ok, but it's only for newer devices (Android 4.3+) Anyway, I will try with it Thanks David Upvote 0
Yes, I also will do it with my Apps (1+1) but, need to intercept the Push Notification whithout the user interaction That library looks ok, but it's only for newer devices (Android 4.3+) Anyway, I will try with it Thanks David
pesquera Active Member Licensed User Longtime User Jan 9, 2014 #8 This is the better solution for me: http://www.b4x.com/android/forum/threads/simple-push-framework.35635/#post-209096 Upvote 0
This is the better solution for me: http://www.b4x.com/android/forum/threads/simple-push-framework.35635/#post-209096
C ckapucu Member Licensed User Longtime User Feb 6, 2014 #9 derez said: There is a new library for notification handling http://www.b4x.com/android/forum/th...er-library-notificationlistenerservice.35630/ I haven't used it yet. Using the Parse library I succeeded in sending notifications to the devices with my applications installed (even when not running). When any of these applications updates the parse DB, a notification is sent to all others with some details of the update. So it is 1 + 1 Click to expand... Is it possible to send push messages, when the installed application even not running at that moment? How? I tried it but my application receives messages only when it's running. Upvote 0
derez said: There is a new library for notification handling http://www.b4x.com/android/forum/th...er-library-notificationlistenerservice.35630/ I haven't used it yet. Using the Parse library I succeeded in sending notifications to the devices with my applications installed (even when not running). When any of these applications updates the parse DB, a notification is sent to all others with some details of the update. So it is 1 + 1 Click to expand... Is it possible to send push messages, when the installed application even not running at that moment? How? I tried it but my application receives messages only when it's running.
derez Expert Licensed User Longtime User Feb 6, 2014 #10 Yes, (even when not running) Click to expand... but it has to be installed because thats how parse knows its address. Tested again today - it works. Last edited: Feb 6, 2014 Upvote 0
Yes, (even when not running) Click to expand... but it has to be installed because thats how parse knows its address. Tested again today - it works.
C ckapucu Member Licensed User Longtime User Feb 7, 2014 #11 derez said: Yes, but it has to be installed because thats how parse knows its address. Tested again today - it works. Click to expand... Did you use this this library mentioned here? Upvote 0
derez said: Yes, but it has to be installed because thats how parse knows its address. Tested again today - it works. Click to expand... Did you use this this library mentioned here?
derez Expert Licensed User Longtime User Feb 7, 2014 #12 Yes, you can read my posts there while developing with it. Upvote 0