An open source project to provide push notification support for Android -- a xmpp based notification server and a client tool kit.

Related tags

App androidpn
Overview
ANDROIDPN-SERVER README
=======================
http://androidpn.sourceforge.net/

Push Notification Service for Android

This is an open source project to provide push notification support for Android
-- a xmpp based notification server and a client tool kit. 

更新By:[email protected]


=======v0.6.0更新后16:36 2012/4/13================

此开源项目包含三个部分:
1、Android客户端示例
2、消息推送服务器端示例(源码、jetty版本、tomcat版本)
3、项目可以直接引用的中间件


文件描述:
androidpn-client:android客户端工程源码包
androidpn-server-src:androidpn服务器端源码包
androidpn-server-bin-jetty:androidpn服务器端jetty版本
androidpn-server-bin-tomcat:androidpn服务器端tomcat版本,可直接绑定数据库(如Mysql)
apnsUnit:中间件。项目中可以直接引用来调用服务器端消息推送接口


--------------------------------------------------
开始前请准备:

androidpn-client:
1、修改res/raw/androidpn.properties配置文件
把xmppHost=127.0.0.1改成你自己的ip;模拟器设置为:10.0.2.2


androidpn-server-bin-jetty:
修改配置文件conf/config.properties
admin.console.host=10.62.1.226为服务器的ip地址


androidpn-server-bin-tomcat:
1、用到了java的spring框架
2、修改resources/jdbc.properties配置文件
3、查看WebRoot/WEB-INF/dispatcher-servlet.xml配置文件
4、访问地址为;http://127.0.0.1:8080/ 端口号为tomcat所使用的端口号


--------------------------------------------------
新功能:
androidpn-server
新添加了两个接口:
package org.androidpn.server.console.api;
UserApiController.java 用于获取用户列表,并返回json数据;
NotificationApiController.java 用户消息推送


WebRoot/WEB-INF/dispatcher-servlet.xml文件更新
添加了
/user_api.do=userapiController	
/notification_api.do=notificationapiController

为防止别人恶意用网页群发消息推送,以下可隐藏		
/index.do=filenameController
/user.do=userController
/session.do=sessionController
/notification.do=notificationController	


--------------------------------------------------
修复的BUG列表:
androidpn-client:
1、重复发送消息时,被覆盖的问题。
    用示例程序,我连续推送2条消息,无论点击哪一条,都显示最新的那条数据。(对不上号)
    例如,我先推送标题为“A”的新闻,然后再推送标题为‘B’的新闻,这个时候,客户端收到两条推送消息,分别是A、B,无论我点击A,还是B,详情页都显示B的信息



You might also like...
An open source Hacker News client for Android.
An open source Hacker News client for Android.

Hacker News Come chat with us on Gitter.im! An open source Hacker News client for Android phones & tablets. Available on the Google Play Store How to

PngNote is a free, open-source, handwriting note-taking app based on BOOX SDK.
PngNote is a free, open-source, handwriting note-taking app based on BOOX SDK.

PngNote is a free, open-source, handwriting note-taking app based on BOOX SDK. Use BOOX SDK: Leverage raw-rendering feature, similar stylus lag to the

This console based application calculates sales tax, import duty and provide a way to print the invoice

Sales Tax Problem This console based application calculates sales tax, import du

Ride-Sharing Uber Lyft Android App - Learn to build a ride-sharing Android Taxi Clone App like Uber, Lyft - Open-Source Project By MindOrks
Ride-Sharing Uber Lyft Android App - Learn to build a ride-sharing Android Taxi Clone App like Uber, Lyft - Open-Source Project By MindOrks

Ride-Sharing Uber Lyft Android App - Learn to build a ride-sharing Android Taxi Clone App like Uber, Lyft - Open-Source Project By MindOrks

Android cutout screen support Android P. Android O support huawei, xiaomi, oppo and vivo.

CutoutScreenSupport Android cutout screen support Android P. Android O support huawei, xiaomi, oppo and vivo. Usage whether the mobile phone is cutout

Android + Kotlin Project for the 2022 edition of the Open Source Contribution competition, JGEC Winter of Code aka JWoC.

QuotesApp-JWoC Android + Kotlin Project for the 2022 edition of the Open Source Contribution competition, JGEC Winter of Code aka JWoC. 🎯 Project Obj

This is an open source launcher project for Android devices that has been built completely from scratch
This is an open source launcher project for Android devices that has been built completely from scratch

Description This is an open source launcher project for Android devices that has been built completely from scratch. The main goal of this launcher is

SmartLens uses Google's ML Kit for Barcode scanning, Face recognition, Text recognition, and Image labeling.
SmartLens uses Google's ML Kit for Barcode scanning, Face recognition, Text recognition, and Image labeling.

SmartLens SmartLens uses Google's ML Kit for Barcode scanning, Face recognition, Text recognition, and Image labeling. 📷 Screen Shots 🔥 Features It

FireApp is an open-source project that is built around Firebase Products, especially for learning purposes
FireApp is an open-source project that is built around Firebase Products, especially for learning purposes

FireApp is an open-source project that is built around Firebase Products, especially for learning purposes. This application is written entirely in Kotlin using Android Architecture Components and MVVM architecture pattern. You'll see in the code of this repo, how Firebase Products are working together.

Comments
  • Upgrade Apache Commons Collections to v3.2.2

    Upgrade Apache Commons Collections to v3.2.2

    Version 3.2.1 has a CVSS 10.0 vulnerability. That's the worst kind of vulnerability that exists. By merely existing on the classpath, this library causes the Java serialization parser for the entire JVM process to go from being a state machine to a turing machine. A turing machine with an exec() function!

    https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-8103 https://commons.apache.org/proper/commons-collections/security-reports.html http://foxglovesecurity.com/2015/11/06/what-do-weblogic-websphere-jboss-jenkins-opennms-and-your-application-have-in-common-this-vulnerability/

    opened by bramp 0
  • 关于配置的问题

    关于配置的问题

    在sourceforge官网上下载androidpn服务器端的config.properties上面比您的服务器端的config.properties上多了两行配置 admin.console.port=8080 admin.console.host=192.168.0.60 那么您为什么没有呢?难道您是动态获取这两个参数,而不用配置吗? 会不会影响真正上线时的使用.求正解.

    opened by johnny901114 0
🚧 A fully open-source project for creating and maintaining a Kotlin-based Minecraft: Java Edition server.

Hexalite: Java Edition ⚠️ WARNING: The Hexalite Network is a work in progress. It is not yet ready for production. You may encounter bugs and other is

Hexalite Studios 38 Nov 28, 2022
🚧 A fully open-source project for creating and maintaining a Kotlin-based Minecraft: Java Edition server.

Hexalite: Java Edition ⚠️ WARNING: The Hexalite Network is a work in progress. It is not yet ready for production. You may encounter bugs and other is

Hexalite Network 38 Nov 28, 2022
Optimize notification icons for ColorOS and adapt to native notification icon specifications

Optimize notification icons for ColorOS and adapt to native notification icon specifications

Fankesyooni 23 Jan 4, 2023
APK Explorer & Editor, an open-source tool to explore the contents of an installed APK

APK Explorer & Editor, an open-source tool to explore the contents of an installed APK, is strictly made with an aim to inspect an installed APK file.

APK Explorer & Editor 270 Dec 25, 2022
Here OneSignal push and in-app-message have been implemented

OneSIgnal demo project Here we have implemented OneSignal inAppMessage and Push Notification ANDROID SDK SETUP WITH ONESIGNAL: https://documentation.o

Fakhrul Alam Siddiqei 2 Dec 7, 2022
Lemuroid is an open-source emulation project for Android based on Libretro

Lemuroid Description Lemuroid is an open-source emulation project for Android based on Libretro. Its main goal is ease of use, good Android integratio

Filippo Scognamiglio 1.1k Jan 1, 2023
Push Notifications Android

Push Notifications Android This repository shows how to use Huawei or Google services for Push-notification in different flavors. Preparations You nee

MobileUp 3 Oct 3, 2022
Bringing webhooks into Telegram. Push messages to chats via URL with a simple API.

Webhooks over Telegram (WoT) WoT aims to provide a simple API for registering webhooks and sending messages to Telegram chats via them using a single

d1s utils 2 Oct 5, 2022
Twire is an alternative and open source Twitch client for Android

Twire This is a fork of the Pocket Plays for Twitch Android application. More information in this issue. Twire is an open source, ad-free Twitch brows

Twire 749 Jan 2, 2023
Free and Open Source, full-featured torrent client for Android

Free and Open Source, full-featured torrent client for Android

Yaroslav Pronin 1.3k Jan 8, 2023