Skip to content

Instantly share code, notes, and snippets.

Shyamkumar Garud shyamgarud

  • Mumbai
View GitHub Profile
shyamgarud /
Created Sep 5, 2016 — forked from mjohnsullivan/
Example of how to create a long running timer service that survives activity destruction by moving to the foreground, and back to the background when a new activity bind to it.
// Copyright 2015 Google Inc. All Rights Reserved.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// Unless required by applicable law or agreed to in writing, software
You can’t perform that action at this time.