Click here to Skip to main content
15,921,276 members
Please Sign up or sign in to vote.
1.00/5 (4 votes)
See more:
I want my android device to detect an audio file automatically and then connect to the server.Does anyone know how this can be accomplished

Thanks in advance
Posted
Comments
Manfred Rudolf Bihy 17-May-11 5:32am    
What are you up to? Android device detects file exactly where and connects to the server for what purpose?
Please rework this question as it doesn't make any sense at the moment.
vijethav 18-May-11 3:26am    
There is an audio file which is being played in a room. When an android device comes to the room's vicinity, that sound has to be detected. The information in the sound file has to be fetched by the device and this is sent to the local server. The server sends the data related to the information in the sound file.
Ravi Bhavnani 18-May-11 18:29pm    
Ah. In that case AudioRecord (http://developer.android.com/reference/android/media/AudioRecord.html) is probably what you want to use.
Slacker007 17-May-11 5:58am    
Not sure if this is a programming type question. Have you tried another website/forum more geared to Android devices? Just a thought.

I'm going to assume you want to do something (connect to a server, whatver) when a music file starts playing. If so, see this[^] link.

/ravi
 
Share this answer
 
By searching google or any search engine site.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900