Code Monkey home page Code Monkey logo

imoocmusic's Introduction

慕课网-慕课音乐项目代码

慕课网视频地址:https://www.imooc.com/learn/1104
个人站地址:http://lgdsunday.club/
如果您觉得课程对您有所帮助。那么可以在慕课网关注我,也可以在Github上为我点star


android O 的 NotificationChannl 适配和 9.0 的权限适配代码已经更新到了 github。

主要修改的地方有以下三点:

1、android O 的 NotificationChannel 。 代码位于 MusicService 类 startForeground 方法中。

2、android 9.0 的网络访问问题。代码位于 AndroidManfest.xml 中 application 中 新增了 networkSecurityConfig。

3、android 9.0 前台权限问题。代码位于 AndroidManfest.xml 中 新增了

<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.