powtop
V2EX  ›  问与答

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

  •  
  •   powtop · May 26, 2017 · 1434 views
    This topic created in 3286 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   ·   3184 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 13:31 · PVG 21:31 · LAX 06:31 · JFK 09:31
    ♥ Do have faith in what you're doing.