1

I want to implements this: http://rnd.azoft.com/mobile-app-transering-data-using-ultrasound/ in an Android App.

I implemented the design of the App in Android Studio and the last thing that I need to implements its the "Transfer Button" in other words - I need to convert a byte array like [1,0,0,1,0,1,0] to inaudible sound waves and receive in another mobile the sound and convert the sound to byte array [1,0,0,1,0,1,0] back.

where to start? thank a lot.

Andrew Thompson
  • 168,117
  • 40
  • 217
  • 433
kfir91
  • 103
  • 1
  • 12
  • 1
    http://stackoverflow.com/questions/2413426/playing-an-arbitrary-tone-with-android http://buildsmartrobots.ning.com/profiles/blogs/generating-audio-tones-using-android http://nathanbelue.blogspot.com/2013/01/playing-pitch-in-android-app-with.html – CommonsWare Apr 26 '15 at 21:03
  • tnx man for your helping but my real problem is: "and receive in another mobile the sound and convert the sound to byte array [1,0,0,1,0,1,0] back" in another word the app open in two mobiles i want to write string of bytes like 1010101000 and receive this string in the second mobile – kfir91 Apr 26 '15 at 21:12
  • You will need to use `AudioRecord` and largely reverse the process, I imagine. – CommonsWare Apr 26 '15 at 22:02
  • for iOS but same idea: https://github.com/applidium/AudioModem. For an overview of the way it works: http://applidium.com/en/news/data_transfer_through_sound/ – jaket Apr 27 '15 at 07:36
  • its not helped me... – kfir91 Apr 27 '15 at 13:16
  • someone help??? js can help me too and c# – kfir91 Apr 29 '15 at 16:55
  • Have you done this ?? – Harry Sharma Sep 19 '17 at 11:29

0 Answers0