S SpaceCow Member Licensed User Longtime User Dec 12, 2011 #1 Hi, I've seen the C2DM tutorial and i was wondering if it's possible to trigger a screen on your application with C2DM. So far i understand it's only possible to send messages or is this only an example for one of the possibilities? First i wanted to make a service that connects every minute to the server to see if there is new information but that puts a heavy load on the server. I don't know what WhatsApp uses for new messages? Thanks!
Hi, I've seen the C2DM tutorial and i was wondering if it's possible to trigger a screen on your application with C2DM. So far i understand it's only possible to send messages or is this only an example for one of the possibilities? First i wanted to make a service that connects every minute to the server to see if there is new information but that puts a heavy load on the server. I don't know what WhatsApp uses for new messages? Thanks!
Erel B4X founder Staff member Licensed User Longtime User Dec 13, 2011 #2 You can call StartActivity from the service to show an activity. Upvote 0
S SpaceCow Member Licensed User Longtime User Dec 13, 2011 #3 Erel said: You can call StartActivity from the service to show an activity. Click to expand... And how can you select the service has to run when the phone is on? Upvote 0
Erel said: You can call StartActivity from the service to show an activity. Click to expand... And how can you select the service has to run when the phone is on?
Erel B4X founder Staff member Licensed User Longtime User Dec 14, 2011 #4 Tools - Project - Service Properties - Start at boot. Upvote 0