Giter VIP home page Giter VIP logo

android-sdk's People

Contributors

iizukanao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

android-sdk's Issues

Translation Recommend

@Override
    protected void onResume() {
        super.onResume();

        IRKit irkit = IRKit.sharedInstance();

        // ローカルネットワーク内のIRKit検索を開始
        // Start for discovering IRKit in local network
        // 開始搜尋區域網路內的IRKit
        irkit.startServiceDiscovery();

        // Wi-Fi接続状態の変化を監視して、Wi-Fiが有効になった際に
        // IRKit検索を開始し、Wi-Fiが無効になった際に検索を停止する
        // Monitoring Wi-Fi state, Start for discovery IRKit
        // when Wi-Fi Connected, Stop when Wi-Fi Disconnect.
        // 監控Wi-Fi的連接狀況,Wi-Fi連接時開始搜索IRKit,Wi-Fi
        // 斷掉時停止搜索。
        irkit.registerWifiStateChangeListener();

        // clientkeyを取得していない場合は取得する
        // Get clientkey if do not have one.
        // 假如還沒拿到clientkey就拿一個
        irkit.registerClient();
    }

    @Override
    protected void onPause() {
        super.onPause();

        IRKit irkit = IRKit.sharedInstance();

        // ローカルネットワーク内のIRKit検索を停止
        // Stop for discovering IRKit in local network
        // 停止搜尋區域網路內的IRKit
        irkit.stopServiceDiscovery();

        // Wi-Fi状態の変化の監視をやめる
        // Stop for monitoring Wi-Fi State
        // 停止監視Wi-Fi狀態
        irkit.unregisterWifiStateChangeListener();
    }

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.