Async task freeze on Android?

I am confused as the declaration of NativeTask declares that it takes a Parameter(s) of type String as in: new NativeTask(). Execute(string1) not new NativeTask().execute() also you do not seem to use the string parameter in doInBackground as: String inString= params0 Hope that helps, JAL.

I am confused as the declaration of NativeTask declares that it takes a Parameter(s) of type String as in: new NativeTask(). Execute(string1); not new NativeTask().execute(); also you do not seem to use the string parameter in doInBackground as: String inString= params0; Hope that helps, JAL.

It doesn't matter what kind of parameters is that Task working with. It's just same when I use NativeTask extends AsyncTask – user756463 May 17 at 11:25 @user756463 OK. I recollect another post with a similar problem running asynctask from a dialog button.

Does it run if you call it from the main activity? – JAL May 17 at 17:21.

I found some memory leak in native part. When I fixed it, everything works correct.

12-20 04:41:38.469: E/AndroidRuntime(440): Caused by: android.view. ViewRoot$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions