The buffer was shared by so that the variable was static. The simples AsyncTask used on RestAdapater solved it. This was tested on tablet<br><br><div class="gmail_quote">On Wed, Oct 31, 2012 at 11:31 AM, <span dir="ltr"><<a href="mailto:supittma@redhat.com" target="_blank">supittma@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">-1<br>
<br>
DefaultHttpClient isn't thread safe by default (hence Glen's crazy pile<br>
of stuff). This means that if you have multiple widgets (like the ToDo<br>
app in tablet mode) the app will crash because the buffers are being<br>
shared behind the scenes.<br>
<div class="HOEnZb"><div class="h5"><br>
On 10/31/2012 02:13 AM, Matthias Wessendorf wrote:<br>
> +1<br>
><br>
> go!<br>
><br>
> On Wed, Oct 31, 2012 at 2:15 AM, Bruno Oliveira<<a href="mailto:bruno@abstractj.org">bruno@abstractj.org</a>> wrote:<br>
>> Morning everyone, I think that we're good to merge it.<br>
>><br>
>> Ideas on it?<br>
>><br>
>> <a href="https://github.com/aerogear/aerogear-android/pull/17" target="_blank">https://github.com/aerogear/aerogear-android/pull/17</a><br>
>><br>
>> <a href="https://issues.jboss.org/browse/AEROGEAR-564" target="_blank">https://issues.jboss.org/browse/AEROGEAR-564</a><br>
>><br>
>><br>
>> --<br>
>> "The measure of a man is what he does with power" - Plato<br>
>> -<br>
>> @abstractj<br>
>> -<br>
>> Volenti Nihil Difficile<br>
>><br>
>> _______________________________________________<br>
>> aerogear-dev mailing list<br>
>> <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
>> <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
>><br>
><br>
><br>
<br>
_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
</div></div></blockquote></div><br>