This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

Correct way to receive a binary file

May 23rd, 2013, 12:48 AM

I'm looking for an example of the correct way to receive a binary file with AndroidSpring (with RoboSpice). I put together the following, but I'm getting errors that indicate InputStream isn't the right parameterization. The error complains that there is no message converter to convert to InputStream from text/plain. The file is a binary sqlite database, so I'm also not clear why Spring thinks it is test/plain. What do I change to make this work? Thanks!!!!

I don't see how that would be the issue here. My Androids are up to date with their latest firmwares. ICS, Jelly Bean, etc. This seems to have more to do with providing the correct implementation of RequestListener, right?

Originally posted by Millerwhite

Probably it is because of the firmware upgrade issues. Just have a look into that direction. It might help.