- 授权协议: Apache
- 开发语言: Java
- 操作系统: 跨平台
- 软件首页: https://github.com/teaey/apns4j
- 软件文档: https://github.com/teaey/apns4j
软件介绍
apns4j 是 Apple Push Notification Service 的 Java 实现!
Maven:
<dependency> <groupId>com.github.teaey</groupId> <artifactId>apns4j</artifactId> <version>1.0.1</version> </dependency>
示例代码:
KeyStoreWraper keyStore = KeyStoreHelper.getKeyStoreWraper("XXXXXXXX.p12", keyStorePasswd); AppleNotificationServer appleNotificationServer = new AppleNotificationServer(AppleGateway.ENV_DEVELOPMENT, keyStore); SecurityConnectionFactory connectionFactory = new SecurityConnectionFactory(appleNotificationServer); SecurityConnection connection = connectionFactory.getSecurityConnection(); NotifyPayload notifyPayload = new NotifyPayload(); //notifyPayload.setAlert("TEST1"); notifyPayload.setBadge(2); notifyPayload.setSound("default"); notifyPayload.setAlertBody("Pushed By apns4j"); notifyPayload.setAlertActionLocKey("Button Text"); connection.writeAndFlush(deviceTokenString, notifyPayload); connection.close();
郎咸平说:新经济颠覆了什么
郎咸平 / 东方出版社 / 2016-8 / 39.00元
正所谓“上帝欲其灭亡,必先令其疯狂”,在当下中国,“互联网+资本催化”的新经济引擎高速运转,大有碾压一切、颠覆一切之势。在新经济狂热之下,每个人都在全力以赴寻找“下一个风口”,幻想成为下一只飞起来的猪。 对此,一向以“危机论”著称的郎咸平教授再次发出盛世危言:新经济光环背后,危机已悄然而至!中国式O2O还能烧多久?P2P监管黑洞有多大?互联网造车为什么不靠谱?共享经济为什么徒有虚名?BAT为......一起来看看 《郎咸平说:新经济颠覆了什么》 这本书的介绍吧!