views:

271

answers:

3

so the idea is produce some analog data into phone via audio jack OUTPUT, so please, let me know the API function calls please!

A: 

(@Downvoters to the OP: He's clearly aware that it's an output jack so it's not a "bad" question so much as just a peculiar one.)

Eugene: I'm only assuming, but it's almost certain that that isn't possible using the normal APIs. It's a bit of an odd thing to do really. However, it might be possible if you somehow have access to core functions. For example, I've heard that sometimes portable radios use the headphone wire itself as their antenna, and if that happens your specific Android model as well, then clearly the output jack can somehow receive analog data. However, I have absolutely no idea how you would even begin to take control of that, and it would probably require hacking your ROM.

Steve H
A: 

Steve: How "low" should I use the Core API? And how do you think is it possible to get some raw data as voltage on jack output?

Thank you!

Eugene
You should add this as a comment on Steve's answer, not as another answer yourself.
yodaj007
A: 

Looks like Square found the way of doing this. Anyways if you have found a solution please share, I am curious how they did that.

scout