Skip to content

himel951/android-gcmnetworkmanager

 
 

Repository files navigation

GcmNetworkManager Quickstart

This sample demonstrates how to use the GcmNetworkManager API.

Introduction

GcmNetworkManager can be used to reliably schedule network operations in your application based on time, charging status, connectivity, and other variables. GcmNetworkManager is similar to the Android JobScheduler API which is available on all Android devices running Lollipop or higher, however GcmNetworkManager is available on any device running Google Play Services.

For more information on GcmNetworkManager, visit: https://developers.google.com/cloud-messaging/network-manager

Prerequisites

In order to run this quickstart sample you will need:

  • Android Studio v1.4 or higher
  • An Android device with Google Play Services 8.3 or higher
  • A USB cable

Getting Started

To run the quickstart application:

  • Import the project into Android Studio
  • Connect your Android device over USB, with USB debugging enabled
  • Click Run > Run 'app'

Support

About

Quickstart sample for the GcmNetworkManager API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%