Coder Social home page Coder Social logo

androidexp's Introduction

#Android 例程库

专门用于收集有用的Android功能代码例程

socketServerExample

一个socket服务器例程

接受来自client的信息,并返回相应信息

runOnUiThread

在service class中刷新UI界面


socketServerExample.this.runOnUiThread(new Runnable() {
    @Override
    public void run() {
        msg.setText(message);
    }
});

MultiDo&Multibarometer ==>> MultiThings

这是一个想法,希望通过广播(多播)的方式给多个Android终端发送相同的命令,让多个终端执行同样的动作。
MultiDo既是这个想法的命令发送者,它的原型是一个UDP多播发送者——UdpSendExample
MultiBarometer既是这个想法的命令接收者,它的原型是一个UDP多播接收端——UdpReceiveExample

我们还可以通过Udp的方式广播通讯端口信息,以实现设备间的搜索与自动连接。

LogDemo

log输出demo

WifiConnect

WifiManagerExp 是一个简单的连接wifi网络的程序demo

androidexp's People

Watchers

 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.