实现了类似于迷尚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就好了