0

I'm wondering what would be a good way to build an Android application with offsite processing. Essentially I am going to record an input (audio recording or photo), and then send it to a computer I have online (securely - probably using HTTPS). I then will have the computer process the data and send back a response.

Essentially this is a Shazam like application, except everywhere I look to how Shazam works they talk about the processing algorithm, not the process. Any help would be appreciated.

Justin
  • 1,881
  • 4
  • 20
  • 40
  • What's wrong with the approach you just described? Capture on the device, post it to an offsite server, then poll for a result. – Phil Lello Apr 12 '11 at 16:03
  • I'm new to Android development, so although I'm taking time the time right now to get up to speed with syntax, any examples of a similar procedure would help. – user704441 Apr 13 '11 at 17:13

1 Answers1

0

If your server processing may take time, you can use Push Notification to tell the application that you are done on the server side. The application can then get the result instead of holding up the connection for too long.

advantej
  • 20,155
  • 4
  • 34
  • 39