How To Implement An App That Can Transmit and Search for A Designated Frequency (That The Antenna Can Support)

前端 未结 3 1800
没有蜡笔的小新
没有蜡笔的小新 2021-01-22 18:20

I\'m trying to find a way (or find out whether it\'s possible) to create an android app that can control transmissions on a cellphone\'s aerial and get it to transmit a desired

3条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-22 19:08

    The closest you're going to get to the antenna of an Android phone is the Telephony API, which is documented here. http://developer.android.com/reference/android/telephony/package-summary.html

    Unfortunately, it really isn't adequate for what you're looking for. If both phones have GPS and Data, why not use that? Have the stationary phone transmit it's coordinates to a central location, and have the second phone calculate it's distance from there. Then you can time the beeps based on the distance.

提交回复
热议问题