綁定帳號登入

Android 台灣中文網

12
返回列表 發新帖
打印 上一主題 下一主題

[求助] 關於4.0的Wi-Fi Direct

[複製連結] 查看: 3118|回覆: 14|好評: 0
11
 樓主| shihxavier | 收聽TA | 只看該作者
發表於 2012-5-13 16:41
本帖最後由 shihxavier 於 2012-5-13 16:57 編輯

剛剛照著developer.android.com/resources/samples/WiFiDirectDemo的做法做出他的程式
使用兩台裝置互相搜尋,結果因為WiFiDirectActivity.java在Menu中有設定能開啟Direct
狀況:平板的可以很順利開啟,但Sony的手機就...選項呢???
結果:因為Sony的"不清楚"是否有開啟Direct連線(我的平板是搜不到東西的),然後我又沒有第二台非Sony裝置,所以不了了之...晚點看朋友的支援設備有沒有出現(眼神死)
來這發結果算是給這串文一個結尾,引免以後有人走上同樣的路又跟我一樣
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

12
iovf | 收聽TA | 只看該作者
發表於 2012-6-28 21:18
system\etc\permissions\android.hardware.wifi.direct.xml
这样就出来wifi direct选项了。。
然后不知道怎么弄,sgs2无法搜索arc
android.hardware.wifi.direct.xml

本文轉自: Android 台灣中文網--請參考:http://apk.tw/thread-86224-1-1.html
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright (C) 2011 The Android Open Source Project

  3.      Licensed under the Apache License, Version 2.0 (the "License");
  4.      you may not use this file except in compliance with the License.
  5.      You may obtain a copy of the License at
  6.   
  7.           http://www.apache.org/licenses/LICENSE-2.0
  8.   
  9.      Unless required by applicable law or agreed to in writing, software
  10.      distributed under the License is distributed on an "AS IS" BASIS,
  11.      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12.      See the License for the specific language governing permissions and
  13.      limitations under the License.
  14. -->

  15. <!-- This is the standard feature indicating that the device includes WiFi Direct. -->
  16. <permissions>
  17.     <feature name="android.hardware.wifi.direct" />
  18. </permissions>
複製代碼

點評

其實這是我專題,到最後我是用兩個同樣的平板解決這問題的,我選擇不解決Arc s上的問題,依我猜測,是SONY放出的ROM的問題,不過現在也畢業換跑道了QQ  發表於 2013-11-21 02:41
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

12
返回列表 發新帖
您需要登錄後才可以回帖 登錄 | 註冊

本版積分規則