<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國際加速解決方案。 廣告
                ### 音頻、視頻場景無回復或回復暫不支持 * * * * * **1.“唱首歌”、“播放電影”等播放指令沒有回復或回復“抱歉,我暫時未接入第三方資源庫,還不能為您執行該功能。** * 在音頻、視頻場景中,對外提供的場景輸出內容是自行對接第三方資源庫,所以需要開發者接入資源庫,并根據robot應答指令執行對應動作。 **2.“最近有什么好看的電影”、“最近有什么新歌”無回復** * APP暫時只針對靈聚內部提供音頻資源作出了應答,沒有對使用第三方資源庫的動作指令進行處理,開發者可以根據自身需求實現相關查詢資源指令。 ### 關于同步 * * * * * **1.如何獲取服務器的所有數據記錄** * 以提醒為例,當用戶清空本地數據后或第一次安裝打開應用時,調用同步方法即可。 ~~~ //獲取服務所有提醒記錄 AssistEntityDao.RemindEntityDao remindDao = AssistEntityDao.create().getDao(AssistEntityDao.RemindEntityDao.class); AndroidChatRobotBuilder.get().robot().actionTargetAccessor().sync(remindDao); ~~~ **2.重復同步某一條數據** * 上傳數據時需要將本地記錄ID上傳,方便合并服務數據時更新該ID的記錄;若無本地ID,則每次合并數據都是本地新建一條記錄,原待同步記錄一直未更新,則會重復提交同步。 ### 關于手機頭部狀態欄 * * * * * 由于在values-v21/styles.xml設置了`<item name="android:windowTranslucentStatus">true</item>`, 會使頁面內容延伸到狀態欄。所以當開發者新建一個Activity頁面時,若頁面浸入了狀態欄,需要在Activity的布局文件中,在最頂部設置一個View。 ~~~ <View android:id="@+id/status_bar" android:layout_width="match_parent" android:layout_height="25dp" android:background="@color/bar_color"/> ~~~ 然后在Activity的onCreate( )中,setContentView( )之后,動態設置該View的高度模擬狀態欄。 ~~~ //設置模擬狀態欄的高度 ViewGroup.LayoutParams layoutParams = mStatusBar.getLayoutParams(); layoutParams.height = ScreenUtil.getStatusBarHeight(this); mStatusBar.setLayoutParams(layoutParams); ~~~ ### 關于GreenDao * * * * * **1.設置主鍵id自增長** * 必須使用Long類型(int、long都不行),@Id(autoincrement = true)才會生效。 **2.數據庫升級** * 當新版本的APP涉及到數據庫表或表字段的增減,在覆蓋舊版本安裝后打開應用時,需要先進行數據庫的升級。數據的備份和表的更新操作已封裝在SQLiteOpenHelper和MigrationHelper中。開發者只需要修改app/build.gradle里android.greendao的schemaVersion值即可(修改后的值 > 原來的值)。 ~~~ android { ... greendao { schemaVersion 1(默認值) } } ~~~
                  <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>

                              哎呀哎呀视频在线观看