Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

androidpn真机测试、client、pushserver已完成 demo

Notifications You must be signed in to change notification settings

flynigege/androidpn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

4 Commits

Repository files navigation

Android瀑布流实例+push服务器 + android client

实现了类似于迷尚android和蘑菇街android的瀑布流布局

1、appclient使用的是一个开源 增加了androidpn推送的client 2、alter client xmpphost ok
pengqiuyuanfj@gmail.com

3、修改了 AndroidManifest.xml

 <service
 android:name="com.sunsai.androidpn.NotificationService"
 android:enabled="true"
 android:label="NotificationService">
 <intent-filter>
 <action android:name="com.sunsai.androidpn.NotificationService" />
 </intent-filter>
 </service>

4、NotificationService 的service_name 要和配置的name 一样 public static final String SERVICE_NAME = "com.sunsai.androidpn.NotificationService";

5、MainActivity 我们需要启动NotificationService InitLayout() { ServiceManager serviceManager = new ServiceManager(this); serviceManager.setNotificationIcon(R.drawable.icon); serviceManager.startService(); } 6、最后修改androidpn.properties 的xmpphost就好了

About

androidpn真机测试、client、pushserver已完成 demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /