GithubHelp home page GithubHelp logo

androidpn's Introduction

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

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

1、appclient使用的是一个开源 增加了androidpn推送的client 2、alter client xmpphost ok
[email protected]

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就好了

androidpn's People

Contributors

pengqiuyuan avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.