问题
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