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.

i think that i have to integrate something like the AsyncAtivity on the spring android showcase because it seem that Google has puted in place a system that lets us know that this is a bad idea and we can resolve this issue by executing our request in a separate thread or an asyncTask.

Comment

Yes, Ice Cream Sandwich (Android 4.0) and newer will not allow network requests on the main UI thread. You must use the AsyncTask, as you discovered. There is a method to disable this, however it is not recommended.

Comment

Yes, Ice Cream Sandwich (Android 4.0) and newer will not allow network requests on the main UI thread. You must use the AsyncTask, as you discovered. There is a method to disable this, however it is not recommended.