Sign Up

Sign In

Forget Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

You must login to ask question.

Discy Latest Questions

  • 0

After upgrading my phone to 8.1 Developer Preview my background service no longer starts up properly. In my long running service I’ve implemented a startForeground method to start the ongoing notification which is called in on create. @TargetApi(Build.VERSION_CODES.O) private ...

  • 0

I am using Service Class on the Android O OS. I plan to use the Service in the background. The Android recommendation states that startService() should use startForegroundService(). If you use startForegroundService(), the Service throws Context.startForegroundService() did not then call Service.startForeground() error. What’s wrong with this?