weixin_39605840
2020-12-08 21:39 阅读 0

change how jmdns is integrated

Right now, we have jmdns running in a background service in order to have mdns discovery decoupled from the mainacitvitiies on-rotate re-create(). Starting from android Oreo, this should probably be a ForegroundService (with an ugly notification) or something else...

https://stackoverflow.com/questions/46445265/android-8-0-java-lang-illegalstateexception-not-allowed-to-start-service-inten

该提问来源于开源项目:bk138/multivnc

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

4条回答 默认 最新

  • weixin_39605840 weixin_39605840 2020-12-08 21:39

    https://developer.android.com/about/versions/oreo/background.html

    点赞 评论 复制链接分享
  • weixin_39605840 weixin_39605840 2020-12-08 21:39

    https://stackoverflow.com/questions/52398630/illegalstateexception-in-oncreate-application-class

    点赞 评论 复制链接分享
  • weixin_39605840 weixin_39605840 2020-12-08 21:39

    Not fixed. Maybe steal from https://github.com/mapbox/mapbox-events-android/pull/157/files

    点赞 评论 复制链接分享
  • weixin_39605840 weixin_39605840 2020-12-08 21:39

    https://issuetracker.google.com/issues/117790600

    点赞 评论 复制链接分享