V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
powtop
V2EX  ›  问与答

APP 如何判断手机连上了某个 wifi?

  •  
  •   powtop · May 26, 2017 · 1399 views
    This topic created in 3266 days ago, the information mentioned may be changed or developed.

    最近 APP 需要做一个功能,回家自动 xxx

    判断回家要么通过地理位置要么通过连 wifi

    如何能知道手机连上了这个 SSID 呢?

    1 replies    2017-05-26 16:56:26 +08:00
    amon
        1
    amon  
       May 26, 2017
    Android 还是 iOS ?
    前者应该很好判断,iOS 的话已知可以获取 wifi 名,然后判断是否是你家的 wifi 名就行。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2898 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 52ms · UTC 07:17 · PVG 15:17 · LAX 00:17 · JFK 03:17
    ♥ Do have faith in what you're doing.