本文介绍了不使用GCM Android的推送通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要简单的步骤来实现GCM不使用Android的标准方法。相反,我需要建立自己的中央服务器设备注册,并上传从服务器到注册的设备文件,而无需使用GCM。

I need brief steps to implement GCM without using android's standard way. Instead I need to set up my own central server for device registration, and upload file from server to registered device without using GCM.

我还需要一些建议,以阻止通过管理控制台某些应用(例如:需要选择并发送通知给特定的设备来阻止用户推出的Gmail /谷歌播放安装在设备上的应用程序)。它更像概念手机应用程序管理。让我建议这些。

I also need some suggestion to block certain applications via admin console(For example: Need to choose and send an notification to particular device to block user to launch gmail/Google Play application installed on device). It's more like the concept Mobile application Management. Let me have suggestion on these.

推荐答案

有几件事情让你开始:

的执事项目
该执事项目的目的是生产一种开放源代码推送通知库为Android平台。 执事是由Android开发者从流星彗星的Web服务器接收推送通知的Java类库。 执事,演示( http://github.com/davidrea/Deacon-Demo/ )是一个Android应用程序,用于测试和演示执事的,并且也是由执事项目的成员。
https://github.com/davidrea/Deacon

The Deacon Project
The Deacon Project aims to produce an open-source push notifications library for the Android platform. "Deacon" is a Java class library used by Android developers to receive Push notifications from a Meteor comet web server. "Deacon-Demo" (http://github.com/davidrea/Deacon-Demo/) is an Android app that is used for testing and demonstration of Deacon, and is also developed by members of the Deacon project.
https://github.com/davidrea/Deacon

MQTT /泛美卫生组织
泛美卫生组织项目提供的MQTT和MQTT-SN的消息传递协议,旨在新的,现有的和新兴的机器对机器(M2M)和物联网(IOT)应用程序的开源客户端实现。
http://www.eclipse.org/paho/ https://developer.motorolaso​​lutions.com/docs/DOC-2315

MQTT / Paho
The Paho project provides open-source client implementations of MQTT and MQTT-SN messaging protocols aimed at new, existing, and emerging applications for Machine‑to‑Machine (M2M) and Internet of Things (IoT).
http://www.eclipse.org/paho/https://developer.motorolasolutions.com/docs/DOC-2315

Tutorail
关于如何实现推送通知使用MQTT协议的Andr​​oid应用程序简单的例子。我不会在这里讨论,为什么一个应用程序可能需要推送通知或推拉过来的优点。我假设你确切地知道我的意思推送通知以及为什么你可能需要他们。然而,直跳到好东西之前,我们先回顾这一切是如何开始。的

Tutorail
Quick example on how to implement push notifications for your Android app using MQTT protocol. I will NOT discuss here why an application might need push notifications or the advantages of Push over Pull. I assume that you know exactly what I mean by push notifications are and why you might need them. However, before jumping in straight to the good stuff, let’s go over how it all started.http://tokudu.com/post/50024574938/how-to-implement-push-notifications-for-android

类似的问题:没有GCM可能 Android的推送消息?

这篇关于不使用GCM Android的推送通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-06 01:36