綁定帳號登入

Android 台灣中文網

打印 上一主題 下一主題

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

[複製連結] 查看: 3140|回覆: 14|好評: 0
跳轉到指定樓層
shihxavier | 收聽TA | 只看該作者 回帖獎勵 |正序瀏覽 |閱讀模式
發表於 2012-5-8 19:00

馬上加入Android 台灣中文網,立即免費下載應用遊戲。

您需要 登錄 才可以下載或查看,沒有帳號?註冊

x
聽說4.0版(API 14)以上才有Wi-Fi Direct這項功能,所以才去把2.3.4升級成4.0.3

但是如下圖所示,並沒有出現,這樣我是否能使用 android.net.wifi.p2p 這個package進行開發?

「用Android 就來APK.TW」,快來加入粉絲吧!
Android 台灣中文網(APK.TW)
收藏收藏 分享分享 分享專題
用Android 就來Android 台灣中文網(https://apk.tw)
回覆

使用道具 舉報

11
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)
回覆 支持 反對

使用道具 舉報

10
 樓主| 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)
回覆 支持 反對

使用道具 舉報

9
 樓主| shihxavier | 收聽TA | 只看該作者
發表於 2012-5-10 22:06

所以不顯示是因為有Dlna的關係了,大概弄清楚了。
看來只能實際寫下去才能知道有沒有,不過P2P是4.0的東西,Dlna好像剛出(2.X時期)就有了,希望不要動到原本系統那一塊東西才好
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

8
asd8531 | 收聽TA | 只看該作者
發表於 2012-5-10 06:27
由 手機網頁 發佈
都不說明是什麼東西??那是什麼意思辣?????????????????????????????????????????????????????????

點評

ㄜ...這麼說好了,因為是比較深入的東西,再加上Arc S本身沒有顯示這個功能,所以我才說不要懂也沒有關係,避免一下誤會  發表於 2012-5-10 22:14
8樓的大大就說得很清楚了。 如果還是看不懂去找Google,或是不要懂其實也沒有關係的。  發表於 2012-5-10 22:10
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

7
t65535 | 收聽TA | 只看該作者
發表於 2012-5-10 01:47
手機間採用wifi模式使用點對點的連接..

很像是用藍芽傳檔案..的意思..只是走的是wifi的通道..

本功能被閹割的機會很大..
因為..不是有支援 DLNA 了..
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

6
asd8531 | 收聽TA | 只看該作者
發表於 2012-5-9 22:42
由 手機網頁 發佈
那是什麼意思??????????
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

5
sad5988357 | 收聽TA | 只看該作者
發表於 2012-5-9 21:59
keung14521 發表於 2012-5-8 20:14
Arc S不是不支持無線地基功能嗎?

Arc S可以當基地台啊,我就在用。
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

地板
a5031428 | 收聽TA | 只看該作者
發表於 2012-5-9 17:29
keung14521 發表於 2012-5-8 20:14
Arc S不是不支持無線地基功能嗎?

大部分Android 2.2以上的手機都有支援無線AP 0.0
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

板凳
asd8531 | 收聽TA | 只看該作者
發表於 2012-5-8 22:51
由 手機網頁 發佈
Direct是什麼意思??
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

沙發
 樓主| shihxavier | 收聽TA | 只看該作者
發表於 2012-5-8 21:37
keung14521 發表於 2012-5-8 20:14
Arc S不是不支持無線地基功能嗎?

不好意思,小弟對一些名詞還不太熟悉,無線地基←不太清楚這是指?
我猜測意思是無線基地台,因為沒有3G能進行測試,所以那部份我並不清楚。
目前是想知道Arc S能否使用Direct進行P2P連線

去別的手機板發現他牌的好像有支援,所以才有此疑問。
用Android 就來Android 台灣中文網(https://apk.tw)
回覆 支持 反對

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 註冊

本版積分規則