Skip to content

Instantly share code, notes, and snippets.

Bogdan Vlad vladiulianbogdan

View GitHub Profile
vladiulianbogdan /
Created Jul 21, 2016 — forked from steveliles/
Class for detecting and eventing whether an Android app is currently foreground or background (requires API level 14+)
* Copyright 2015 Steve Liles
* 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.