GithubHelp home page GithubHelp logo

dimakoz / android-foreground-service-example Goto Github PK

View Code? Open in Web Editor NEW
15.0 3.0 10.0 141 KB

An example related to a foreground service (I've created it for StackOverflow)

Home Page: https://stackoverflow.com/a/46501078/3166697

License: MIT License

Java 53.78% Kotlin 46.22%
foreground android-sdk service notification-android foreground-service sound-services android-service

android-foreground-service-example's People

Contributors

dimakoz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

android-foreground-service-example's Issues

ForegroundServicePlugin

I tried to build and had to change the NotificationCompat import to use androidx. But I am still missing ForegroundServicePlugin.

how to put stop imagenbutton in main activity from notification

Hi! ur example it's amazing but i have a trouble in MainActivity layout. in the layout of mainactivity I leave a playback ImageButton, now when I click it it changes to pause and then the notification service is executed. My question is what do I do so that when I click on the notification layout for example Pause in the MainActiviy layout it is changed in Pause.

PD: I know how to do it in main but that the notification does that in main, it is not done. (Sorry for my bad english).
thank you for teaching all this, I'm starting in this and your help would be great even though this is great already.

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.