:08 am, John Wesonga johnweso...@gmail.com wrote:
I figured something out which I thought would work, within my
LoginTask class I created an object which was of the parent activity:
Test101 mParentActivity;
and then:
protected void onPostExecute(String result) {
Intent i=new
is a context object. I understand now that you can't call
methods from the UI thread in the AsyncTask.
On Mar 7, 1:08 am, John Wesonga johnweso...@gmail.com wrote:
I figured something out which I thought would work, within my
LoginTask class I created an object which was of the parent activity:
Test101
/AndroidRuntime(801): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
03-07 01:04:50.319: ERROR/AndroidRuntime(801): at
dalvik.system.NativeStart.main(Native Method)
Stuck again it seems..
On Mar 6, 10:57 pm, John Wesonga johnweso...@gmail.com wrote:
I just modified my onPostExecute
I have a simple app and I'm using the AsyncTask to test out a
background process, for clearness purposes I've opted to put my
AsyncTask in a separate class rather than in an inner class, which
where my problems begin, this is my AsyncTask
package org.tutorial.test101.tasks;
import
thread so you can use this method
to start an Activity. It's pretty much what it's for.
On Fri, Mar 5, 2010 at 6:29 AM, John Wesonga johnweso...@gmail.com wrote:
I have a simple app and I'm using the AsyncTask to test out a
background process, for clearness purposes I've opted to put my
5 matches
Mail list logo