Delphi 10 Seattle Android service (TAndroidService) receiving GCM

被刻印的时光 ゝ 提交于 2019-12-24 00:26:05

问题


Is it possible possible to receive Google Cloud Messages within an android service (TAndroidService)?
It works fine in an application, but when I try to do the same in an android service (local service) I always get the same error...

I have tried it with TKinveyProvider and TPushServiceConnection, but when I debug it, I get an "Activity not found, maybe you are in a service" error.

来源:https://stackoverflow.com/questions/36546294/delphi-10-seattle-android-service-tandroidservice-receiving-gcm

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!