You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current service used is an IntentService for the background service. As it turns out IntentService s are only used for job processing and not for asynchronous callbacks and the like as we are using. very likely this is the cause for the mysterious nullpointerexception being received onHandleIntent(). Possibly someone understand the Android Service architecture and suggest a better way to implement the service management.
The text was updated successfully, but these errors were encountered:
well, why not use a normal service and use the onStartCommand function to get the calling intent and do the necessary stuff there? It would work the same way as the current IntentService.
The first time I read about services I read only about IntentService, so I don't actually know the android service architecture very well myself so can't comment on it without looking it up myself. But very likely what you're suggesting is what we need to implement.
The current service used is an IntentService for the background service. As it turns out IntentService s are only used for job processing and not for asynchronous callbacks and the like as we are using. very likely this is the cause for the mysterious nullpointerexception being received onHandleIntent(). Possibly someone understand the Android Service architecture and suggest a better way to implement the service management.
The text was updated successfully, but these errors were encountered: