Android Question parse library

hookshy

Well-Known Member
Licensed User
Longtime User
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
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

hookshy

Well-Known Member
Licensed User
Longtime User
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

hookshy

Well-Known Member
Licensed User
Longtime User
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

pesquera

Active Member
Licensed User
Longtime User
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

ckapucu

Member
Licensed User
Longtime User
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

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
Top