Re: [android-developers] Help with native exception: ScriptIntrinsicBlur.create() throws RSRuntimeException: Internal error: Object id 0

2014-05-27 Thread Chang Sheng-Dean
* and call invoke as many times you need to. If recreating RS context and/script is the cause, it is something you could test rather easily since the crash would happen on second call to your blur method. -- H On May 25, 2014 10:43 AM, Chang Sheng-Dean 章聖典 littledot5...@gmail.com wrote: I

Re: [android-developers] Help with native exception: ScriptIntrinsicBlur.create() throws RSRuntimeException: Internal error: Object id 0

2014-05-25 Thread Chang Sheng-Dean
I call this method two consecutive times because I needed a blur radius of 40px, but the SDK limitation was only 25px, so I thought I would just blur it twice with 20px. On Fri, May 23, 2014 at 1:18 PM, Harri Smatt har...@gmail.com wrote: Hi, How frequently do you call this method? I mean,

Re: [android-developers] Re: Concurrency: Do you use Loaders? AsyncTask? or Runnables?

2013-03-20 Thread Chang Sheng-Dean
Thank you all for the kind and enthusiastic responses; they were all very insightful to help my understanding of Android concurrency =D In many of these responses, many spoke of threads being *managed* for you. This term is very vague to me because in the Ref pages for AsyncTask and Loaders,

Re: [android-developers] Re: What is the maximum range allowed when querying CalendarContract.Instances?

2013-03-04 Thread Chang Sheng-Dean
Sorry for disturbing the peace around here. I don't know what I did but suddenly everything became correct. Before this, the dates of the events shown all dated pre-1970 for some reason On Mon, Mar 4, 2013 at 5:17 PM, RichardC richard.crit...@googlemail.comwrote: What do you mean by