<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                > 編寫:[kesenhoo](https://github.com/kesenhoo) - 原文:[http://developer.android.com/training/basics/intents/index.html](http://developer.android.com/training/basics/intents/index.html) - 一個Android app通常都會有多個activities。 每個[activity](# "An activity represents a single screen with a user interface.")的界面都扮演者用戶接口的角色,允許用戶執行一些特定任務(例如查看地圖或者是開始拍照等)。為了讓用戶能夠從一個[activity](# "An activity represents a single screen with a user interface.")跳到另一個[activity](# "An activity represents a single screen with a user interface."),我們的app必須使用Intent來定義自己的意圖。當使用startActivity()的方法,且參數是intent時,系統會使用這個 Intent 來定義并啟動合適的app組件。使用intents甚至還可以讓app啟動另一個app里面的[activity](# "An activity represents a single screen with a user interface.")。 - 一個 Intent 可以顯式的指明需要啟動的模塊(用一個指定的[Activity](# "An activity represents a single screen with a user interface.")實例),也可以隱式的指明自己可以處理哪種類型的動作(比如拍一張照等)。 - 本章節將演示如何使用Intent 與其他app執行一些基本的交互。比如啟動另外一個app,從其他app接受數據,以及使得我們的app能夠響應從其他app中發出的intent等。 ### Lessons - [**Intent的發送(Sending the User to Another App )**](#) 演示如何創建一個隱式Intent喚起能夠接收這個動作的App。 - [**接收**](#)**[Activity](# "An activity represents a single screen with a user interface.")返回的結果(Getting a Result from an [Activity](# "An activity represents a single screen with a user interface."))** 演示如何啟動另外一個[Activity](# "An activity represents a single screen with a user interface.")并接收返回值。 - [**Intent過濾(Allowing Other Apps to Start Your **](#)**[Activity](# "An activity represents a single screen with a user interface."))** 演示如何通過定義隱式的Intent的過濾器來使我們的應用能夠被其他應用喚起。
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看