[Solved] AsyncTask help - Loading / Progress Dialog

Put your problem here if it does not fit any of the other categories.

[Solved] AsyncTask help - Loading / Progress Dialog

Postby limteckchai » Fri Jul 30, 2010 7:17 am

Hi, i need a little help with AsyncTask
As u see from my screenshot, what i have here is my program thus far.
The first, 2nd and 3rd tabs retrieve data from web (xml) n is displayed as a list.

So If i change from tab1 to tab 2, it will checked the web for data.
I was planning to used ASYNCTASK here but apparently there was a error and I was unable to execute the line
Code: Select all
  aSynctask.execute();

error msg = Cannot make a static reference to the non-static method execute(Object...) from the type AsyncTask
Then i tried
Code: Select all
new  aSynctask.execute();

error msg = aSynctask.execute cannot be resolved to a type

I noticed that the tutorials for Asynctask is always used in the onClick of a button, but i put my code in the onCreate() of an activity. So i was wondering if that was any difference at all.
Code: Select all
public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);

      Bundle extras = getIntent().getExtras();
      hello = extras.getString("selection");
      source = extras.getBoolean("Searchbox");
      
      
      new aSynctask.execute();
      
      DoubleTextAdapter dta = do_update();
      setListAdapter(dta);
      ListView lv = getListView();
      lv.setDivider(getResources().getDrawable(R.drawable.divider));
      lv.setDividerHeight(2);
      lv.setBackgroundColor(getResources().getColor(
            R.color.AlmostBlack));
      
      
      
   }


If anyone has some example of AsyncTask being used in onCreate() or any can provide any tips, i will be very grateful.

Please Advice,
Teck Chai
Attachments
tabs_below.png
tabs_below.png (21.78 KiB) Viewed 8164 times
Last edited by limteckchai on Fri Jul 30, 2010 11:03 am, edited 1 time in total.
limteckchai
Experienced Developer
Experienced Developer
 
Posts: 92
Joined: Mon Jun 28, 2010 3:33 am

Top

Re: AsyncTask help

Postby blundell » Fri Jul 30, 2010 8:21 am

Never used it myself, but:

You can't do this:
Code: Select all
new aSynctask.execute();


If your trying to access the static method of a class, class name's start with a capital:
Code: Select all
AsyncTask.execute();


Also it show's the correct usage right here:
http://developer.android.com/reference/ ... html#Usage
User avatar
blundell
Master Developer
Master Developer
 
Posts: 1610
Joined: Tue Nov 18, 2008 12:58 pm
Location: UK

Re: AsyncTask help

Postby limteckchai » Fri Jul 30, 2010 8:33 am

Thanks for the reply, but i think u misunderstood me :(...

aSynctask.execute();
the aSynctask as referenced over here is just a name.
Code: Select all


private class aSynctask extends AsyncTask {

      private ProgressDialog dialog;

      protected void onPreExecute() {

         dialog = ProgressDialog.show(ab, "", "Busy...", true, true,
               (OnCancelListener) this);

      }


      protected void onPostExecute(Void v) {
         dialog.dismiss();
      }

      @Override
      protected Object doInBackground(Object... params) {
         do_update();
         return null;
      }

   }

haha, btw i tried asynctask in buttons and all, but it has nvr worked. :(
( Cannot make a static reference to the non-static method execute(Object...) from the type AsyncTask )
All in all, all my attempts with asynctask have failed, do u have any idea as to work around it??
As mentioned above, i need to pull data from web, so i need a loading so that my activity doesn't shut off totally .
limteckchai
Experienced Developer
Experienced Developer
 
Posts: 92
Joined: Mon Jun 28, 2010 3:33 am

Re: AsyncTask help

Postby limteckchai » Fri Jul 30, 2010 8:41 am

WOOOOOOOT :idea: :idea: :idea: WOOOOOOOOOT

I SUDDENLY HAVE A CHEAPOO IDEA!!!!

What do you think???
---------------------------
Instead of going directly to the tab content where passing off data happens. I bring them to a static page with the word LOADING.. then even if it unresponsive there, people will understand that it is loading.

Old : MENU --> hangs for 5 secs ---> result page
(while querying)
New : MENU --> LOADING STATIC SCREEN ----> result page
(querying :P)

Sounds like a plan!!! i will try it out, but can i ask if anyone has any idea as to prolong the time-out period for the android app?? Cause if i m to do it this way, it might time out :(

In Any Case i will keep u guys informed as to the progress, and maybe more people can benefit from this brillant :idea: IDEA :idea: hhhehehehehe....
Regards,
Teck Chai
limteckchai
Experienced Developer
Experienced Developer
 
Posts: 92
Joined: Mon Jun 28, 2010 3:33 am

Re: AsyncTask help

Postby blundell » Fri Jul 30, 2010 8:58 am

If you want to do some loading all you need is this:

Code: Select all
final ProgressDialog gettingWebPageDialog = ProgressDialog.show(ClassName.this, "", "Loading", true);
      new Thread() {
         public void run() {
            //Do your shiz here
            
            gettingWebPageDialog.dismiss();
         }
      }.start();
User avatar
blundell
Master Developer
Master Developer
 
Posts: 1610
Joined: Tue Nov 18, 2008 12:58 pm
Location: UK

Re: AsyncTask help

Postby limteckchai » Fri Jul 30, 2010 8:59 am

Your sounds cooler... will get back to u :P
limteckchai
Experienced Developer
Experienced Developer
 
Posts: 92
Joined: Mon Jun 28, 2010 3:33 am

Top

Re: AsyncTask help

Postby blundell » Fri Jul 30, 2010 9:01 am

And you should start all your class names with a capital, see how I misunderstood you, that is because your using bad coding practice that won't help you in the long run and will confuse you more when you debug or come back to it in a few weeks time.
Best Practive PDF

Oh btw your original error is Number 10 in Top Java Error's
Top 10 Errors
User avatar
blundell
Master Developer
Master Developer
 
Posts: 1610
Joined: Tue Nov 18, 2008 12:58 pm
Location: UK

Re: AsyncTask help

Postby limteckchai » Fri Jul 30, 2010 9:27 am

And you should start all your class names with a capital, see how I misunderstood you, that is because your using bad coding practice that won't help you in the long run and will confuse you more when you debug or come back to it in a few weeks time.
Best Practive PDF

Oh btw your original error is Number 10 in Top Java Error's
Top 10 Errors

Thanks for your feedback, got it fixed already. Here is the Logcat after running your codes.

Code: Select all
07-30 08:12:23.680: DEBUG/AndroidRuntime(771): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
07-30 08:12:23.680: DEBUG/AndroidRuntime(771): CheckJNI is ON
07-30 08:12:23.899: DEBUG/AndroidRuntime(771): --- registering native functions ---
07-30 08:12:24.740: DEBUG/dalvikvm(197): GC_EXPLICIT freed 240 objects / 15400 bytes in 55ms
07-30 08:12:24.869: DEBUG/PackageParser(61): Scanning package: /data/app/vmdl37698.tmp
07-30 08:12:25.129: DEBUG/dalvikvm(61): GC_FOR_MALLOC freed 12463 objects / 697960 bytes in 116ms
07-30 08:12:25.699: INFO/PackageManager(61): Removing non-system package:Locate.v2
07-30 08:12:25.699: INFO/ActivityManager(61): Force stopping package Locate.v2 uid=10031
07-30 08:12:25.849: DEBUG/PackageManager(61): Scanning package Locate.v2
07-30 08:12:25.859: INFO/PackageManager(61): Package Locate.v2 codePath changed from /data/app/Locate.v2-1.apk to /data/app/Locate.v2-2.apk; Retaining data and using new
07-30 08:12:25.859: INFO/PackageManager(61): /data/app/Locate.v2-2.apk changed; unpacking
07-30 08:12:25.890: DEBUG/installd(35): DexInv: --- BEGIN '/data/app/Locate.v2-2.apk' ---
07-30 08:12:26.349: DEBUG/dalvikvm(778): DexOpt: load 81ms, verify 196ms, opt 5ms
07-30 08:12:26.359: DEBUG/installd(35): DexInv: --- END '/data/app/Locate.v2-2.apk' (success) ---
07-30 08:12:26.368: WARN/PackageManager(61): Code path for pkg : Locate.v2 changing from /data/app/Locate.v2-1.apk to /data/app/Locate.v2-2.apk
07-30 08:12:26.368: WARN/PackageManager(61): Resource path for pkg : Locate.v2 changing from /data/app/Locate.v2-1.apk to /data/app/Locate.v2-2.apk
07-30 08:12:26.368: DEBUG/PackageManager(61):   Activities: Locate.v2.Locatev2 Locate.v2.Home Locate.v2.makan Locate.v2.find Locate.v2.makan_list_results Locate.v2.find_list_results Locate.v2.makan_results Locate.v2.promo Locate.v2.footprint Locate.v2.buzzus Locate.v2.settings Locate.v2.settings_facebook Locate.v2.settings_twitter
07-30 08:12:26.380: INFO/ActivityManager(61): Force stopping package Locate.v2 uid=10031
07-30 08:12:26.509: INFO/installd(35): move /data/dalvik-cache/data@app@Locate.v2-2.apk@classes.dex -> /data/dalvik-cache/data@app@Locate.v2-2.apk@classes.dex
07-30 08:12:26.509: DEBUG/PackageManager(61): New package installed in /data/app/Locate.v2-2.apk
07-30 08:12:26.680: INFO/ActivityManager(61): Force stopping package Locate.v2 uid=10031
07-30 08:12:26.770: DEBUG/dalvikvm(118): GC_EXPLICIT freed 1662 objects / 96488 bytes in 73ms
07-30 08:12:27.119: DEBUG/dalvikvm(61): GC_EXPLICIT freed 11618 objects / 643776 bytes in 150ms
07-30 08:12:27.119: INFO/installd(35): unlink /data/dalvik-cache/data@app@Locate.v2-1.apk@classes.dex
07-30 08:12:27.129: DEBUG/AndroidRuntime(771): Shutting down VM
07-30 08:12:27.160: DEBUG/dalvikvm(771): Debugger has detached; object registry had 1 entries
07-30 08:12:27.209: INFO/AndroidRuntime(771): NOTE: attach of thread 'Binder Thread #3' failed
07-30 08:12:27.260: WARN/RecognitionManagerService(61): no available voice recognition services found
07-30 08:12:27.539: WARN/Searchables(61): No global search activity found
07-30 08:12:28.029: DEBUG/AndroidRuntime(784): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
07-30 08:12:28.029: DEBUG/AndroidRuntime(784): CheckJNI is ON
07-30 08:12:28.229: DEBUG/AndroidRuntime(784): --- registering native functions ---
07-30 08:12:29.010: INFO/ActivityManager(61): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=Locate.v2/.Locatev2 }
07-30 08:12:29.173: DEBUG/AndroidRuntime(784): Shutting down VM
07-30 08:12:29.189: DEBUG/dalvikvm(784): Debugger has detached; object registry had 1 entries
07-30 08:12:29.259: INFO/AndroidRuntime(784): NOTE: attach of thread 'Binder Thread #3' failed
07-30 08:12:29.370: INFO/ActivityManager(61): Start proc Locate.v2 for activity Locate.v2/.Locatev2: pid=791 uid=10031 gids={3003}
07-30 08:12:30.949: INFO/ActivityManager(61): Displayed activity Locate.v2/.Locatev2: 1836 ms (total 1836 ms)
07-30 08:12:31.049: INFO/ActivityManager(61): Starting activity: Intent { act=android.intent.action.DEFAULT cmp=Locate.v2/.Home }
07-30 08:12:31.059: ERROR/global(791): Deprecated Thread methods are not supported.
07-30 08:12:31.059: ERROR/global(791): java.lang.UnsupportedOperationException
07-30 08:12:31.059: ERROR/global(791):     at java.lang.VMThread.stop(VMThread.java:85)
07-30 08:12:31.059: ERROR/global(791):     at java.lang.Thread.stop(Thread.java:1379)
07-30 08:12:31.059: ERROR/global(791):     at java.lang.Thread.stop(Thread.java:1344)
07-30 08:12:31.059: ERROR/global(791):     at Locate.v2.Locatev2$1.run(Locatev2.java:36)
07-30 08:12:31.560: DEBUG/dalvikvm(791): GC_EXTERNAL_ALLOC freed 1220 objects / 79312 bytes in 73ms
07-30 08:12:41.049: WARN/ActivityManager(61): Launch timeout has expired, giving up wake lock!
07-30 08:12:41.082: WARN/ActivityManager(61): Activity idle timeout for HistoryRecord{43f34690 Locate.v2/.Home}
07-30 08:12:46.149: DEBUG/dalvikvm(240): GC_EXPLICIT freed 105 objects / 4824 bytes in 63ms
07-30 08:12:46.256: WARN/ActivityManager(61): Activity destroy timeout for HistoryRecord{43f192e8 Locate.v2/.Locatev2}
07-30 08:12:51.180: DEBUG/dalvikvm(197): GC_EXPLICIT freed 207 objects / 13752 bytes in 89ms
07-30 08:12:52.340: DEBUG/dalvikvm(791): GC_EXTERNAL_ALLOC freed 8798 objects / 365552 bytes in 67ms
07-30 08:12:52.549: DEBUG/dalvikvm(791): GC_EXTERNAL_ALLOC freed 213 objects / 11536 bytes in 58ms
07-30 08:12:52.818: DEBUG/dalvikvm(791): GC_EXTERNAL_ALLOC freed 273 objects / 12520 bytes in 63ms
07-30 08:12:53.029: DEBUG/dalvikvm(791): GC_EXTERNAL_ALLOC freed 99 objects / 4800 bytes in 53ms
07-30 08:12:53.710: INFO/ActivityManager(61): Displayed activity Locate.v2/.Home: 22648 ms (total 22648 ms)
07-30 08:12:58.799: DEBUG/dalvikvm(118): GC_EXPLICIT freed 884 objects / 46480 bytes in 74ms
07-30 08:13:45.049: WARN/dalvikvm(791): threadid=7: thread exiting with uncaught exception (group=0x4001d800)
07-30 08:13:45.059: ERROR/AndroidRuntime(791): FATAL EXCEPTION: Thread-9
07-30 08:13:45.059: ERROR/AndroidRuntime(791): android.view.ViewRoot$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
07-30 08:13:45.059: ERROR/AndroidRuntime(791):     at android.view.ViewRoot.checkThread(ViewRoot.java:2802)
07-30 08:13:45.059: ERROR/AndroidRuntime(791):     at android.view.ViewRoot.requestLayout(ViewRoot.java:594)
07-30 08:13:45.059: ERROR/AndroidRuntime(791):     at android.view.View.requestLayout(View.java:8125)
07-30 08:13:45.059: ERROR/AndroidRuntime(791):     at android.view.View.requestLayout(View.java:8125)
07-30 08:13:45.059: ERROR/AndroidRuntime(791):     at android.view.View.requestLayout(View.java:8125)
07-30 08:13:45.059: ERROR/AndroidRuntime(791):     at android.view.View.requestLayout(View.java:8125)
07-30 08:13:45.059: ERROR/AndroidRuntime(791):     at android.view.View.requestLayout(View.java:8125)
07-30 08:13:45.059: ERROR/AndroidRuntime(791):     at android.view.View.requestLayout(View.java:8125)
07-30 08:13:45.059: ERROR/AndroidRuntime(791):     at android.view.View.requestLayout(View.java:8125)
07-30 08:13:45.059: ERROR/AndroidRuntime(791):     at android.view.ViewGroup.removeAllViews(ViewGroup.java:2255)
07-30 08:13:45.059: ERROR/AndroidRuntime(791):     at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:196)
07-30 08:13:45.059: ERROR/AndroidRuntime(791):     at android.app.Activity.setContentView(Activity.java:1647)
07-30 08:13:45.059: ERROR/AndroidRuntime(791):     at android.app.ListActivity.ensureList(ListActivity.java:314)
07-30 08:13:45.059: ERROR/AndroidRuntime(791):     at android.app.ListActivity.setListAdapter(ListActivity.java:265)
07-30 08:13:45.059: ERROR/AndroidRuntime(791):     at Locate.v2.makan_list_results$1.run(makan_list_results.java:41)
07-30 08:13:45.100: WARN/ActivityManager(61):   Force finishing activity Locate.v2/.Home
07-30 08:13:45.849: ERROR/WindowManager(791): Activity Locate.v2.Home has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@43de0850 that was originally added here
07-30 08:13:45.849: ERROR/WindowManager(791): android.view.WindowLeaked: Activity Locate.v2.Home has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@43de0850 that was originally added here
07-30 08:13:45.849: ERROR/WindowManager(791):     at android.view.ViewRoot.<init>(ViewRoot.java:247)
07-30 08:13:45.849: ERROR/WindowManager(791):     at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:148)
07-30 08:13:45.849: ERROR/WindowManager(791):     at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91)
07-30 08:13:45.849: ERROR/WindowManager(791):     at android.view.Window$LocalWindowManager.addView(Window.java:424)
07-30 08:13:45.849: ERROR/WindowManager(791):     at android.app.Dialog.show(Dialog.java:241)
07-30 08:13:45.849: ERROR/WindowManager(791):     at android.app.ProgressDialog.show(ProgressDialog.java:107)
07-30 08:13:45.849: ERROR/WindowManager(791):     at android.app.ProgressDialog.show(ProgressDialog.java:90)
07-30 08:13:45.849: ERROR/WindowManager(791):     at Locate.v2.makan_list_results.onCreate(makan_list_results.java:36)
07-30 08:13:45.849: ERROR/WindowManager(791):     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
07-30 08:13:45.849: ERROR/WindowManager(791):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
07-30 08:13:45.849: ERROR/WindowManager(791):     at android.app.ActivityThread.startActivityNow(ActivityThread.java:2503)
07-30 08:13:45.849: ERROR/WindowManager(791):     at android.app.LocalActivityManager.moveToState(LocalActivityManager.java:127)
07-30 08:13:45.849: ERROR/WindowManager(791):     at android.app.LocalActivityManager.startActivity(LocalActivityManager.java:339)
07-30 08:13:45.849: ERROR/WindowManager(791):     at android.widget.TabHost$IntentContentStrategy.getContentView(TabHost.java:651)
07-30 08:13:45.849: ERROR/WindowManager(791):     at android.widget.TabHost.setCurrentTab(TabHost.java:323)
07-30 08:13:45.849: ERROR/WindowManager(791):     at android.widget.TabHost$2.onTabSelectionChanged(TabHost.java:129)
07-30 08:13:45.849: ERROR/WindowManager(791):     at android.widget.TabWidget$TabClickListener.onClick(TabWidget.java:453)
07-30 08:13:45.849: ERROR/WindowManager(791):     at android.view.View.performClick(View.java:2408)
07-30 08:13:45.849: ERROR/WindowManager(791):     at android.view.View$PerformClick.run(View.java:8816)
07-30 08:13:45.849: ERROR/WindowManager(791):     at android.os.Handler.handleCallback(Handler.java:587)
07-30 08:13:45.849: ERROR/WindowManager(791):     at android.os.Handler.dispatchMessage(Handler.java:92)
07-30 08:13:45.849: ERROR/WindowManager(791):     at android.os.Looper.loop(Looper.java:123)
07-30 08:13:45.849: ERROR/WindowManager(791):     at android.app.ActivityThread.main(ActivityThread.java:4627)
07-30 08:13:45.849: ERROR/WindowManager(791):     at java.lang.reflect.Method.invokeNative(Native Method)
07-30 08:13:45.849: ERROR/WindowManager(791):     at java.lang.reflect.Method.invoke(Method.java:521)
07-30 08:13:45.849: ERROR/WindowManager(791):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
07-30 08:13:45.849: ERROR/WindowManager(791):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
07-30 08:13:45.849: ERROR/WindowManager(791):     at dalvik.system.NativeStart.main(Native Method)
07-30 08:13:50.870: DEBUG/dalvikvm(791): GC_EXPLICIT freed 9899 objects / 478976 bytes in 81ms
07-30 08:14:22.780: INFO/Process(791): Sending signal. PID: 791 SIG: 9
07-30 08:14:22.811: INFO/ActivityManager(61): Process Locate.v2 (pid 791) has died.
07-30 08:14:22.859: WARN/InputManagerService(61): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@440049b8
07-30 08:14:43.203: DEBUG/SntpClient(61): request time failed: java.net.SocketException: Address family not supported by protocol


I looked thru the log, and can't really tell whats going on but i saw lines 36 -41 having error so here they are :
Code: Select all
final ProgressDialog gettingWebPageDialog = ProgressDialog.show(makan_list_results.this, "", "Loading", true); //LINE 36 is the first line
         new Thread() {
            public void run() { 
              
               DoubleTextAdapter dta = do_update();
              setListAdapter(dta);      // LINE 41
              ListView lv = getListView();
             lv.setDivider(getResources().getDrawable(R.drawable.divider));
             lv.setDividerHeight(2);
             lv.setBackgroundColor(getResources().getColor(
                   R.color.AlmostBlack));
             
               gettingWebPageDialog.dismiss();
            }
         }.start();

Just for more clarification, do_update() is a method which returns the listadapter and that what is inside is mostly the parsing of web xml i picked off Mr PlusMinus's tutorial. Having said that, i have to also let u noe that all the querying n showing of list actually works before this and that the error is just in the progressdialog / asynctask. Thanks for all the help!!!
limteckchai
Experienced Developer
Experienced Developer
 
Posts: 92
Joined: Mon Jun 28, 2010 3:33 am

Re: AsyncTask help

Postby blundell » Fri Jul 30, 2010 9:47 am

android.view.ViewRoot$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.

You can't just put whatever you want into a new Thread :-p

In the loading thread you only want to load data. If you want to update a view from this retrieved data, you would have to add a call back (Handler) from the Thread. There's a post on anddev somewhere:
THere's a bit about Handler's here: tinytut_-_displaying_a_simple_progressdialog-t250.html
http://developer.android.com/reference/ ... ndler.html

Basically you want your Thread to say 'Hey I've finished! Now you can update your UI"

Haven't got eclipse open to do this, you'll have to have a try ;-)
User avatar
blundell
Master Developer
Master Developer
 
Posts: 1610
Joined: Tue Nov 18, 2008 12:58 pm
Location: UK

Re: AsyncTask help

Postby limteckchai » Fri Jul 30, 2010 11:02 am

For the benefit of those people everyone else, here is how u do Handler + Threading
I also included the part with the progress dialog!!!!!!!!
Code: Select all
public class MyActivity extends Activity {

    [ . . . ]
    // Need handler for callbacks to the UI thread
    final Handler mHandler = new Handler();



    // Create runnable for posting
    final Runnable mUpdateResults = new Runnable() {
        public void run() {
            updateResultsInUi();
        }
    };

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        [ . . . ]
    }

    protected void startLongRunningOperation() {

// DISPLAYING UR PROGRESS DIALOG
final ProgressDialog gettingWebPageDialog = ProgressDialog.show(ClassNAME.this, "", "Loading", true);

        // Fire off a thread to do some work that we shouldn't do directly in the UI thread
        Thread t = new Thread() {
            public void run() {
                mResults = doSomethingExpensive();
                mHandler.post(mUpdateResults);
                  //ENDING YOUR PROGRESSDIALOG UPON COMPLETION
                 gettingWebPageDialog.dismiss();
            }
        };
        t.start();
    }

    private void updateResultsInUi() {

        // Back in the UI thread -- update our UI elements based on the data in mResults
        [ . . . ]
    }
}   

Hey blundell thanks loads, couldn't have done this without you ... or rather it would been a longer and more tedious journey. Anyways, i have replaced my static LOADING PAGE ( which worked fyi 8) ) with this. I think this marks the end of this topic. You might wanna change add [solved] to the title.

*edit- Changed the title*
limteckchai
Experienced Developer
Experienced Developer
 
Posts: 92
Joined: Mon Jun 28, 2010 3:33 am

Re: [Solved] AsyncTask help - Loading / Progress Dialog

Postby blundell » Fri Jul 30, 2010 11:14 am

Perfect *thumbs up* on your implementation
User avatar
blundell
Master Developer
Master Developer
 
Posts: 1610
Joined: Tue Nov 18, 2008 12:58 pm
Location: UK

Re: [Solved] AsyncTask help - Loading / Progress Dialog

Postby rahadyanteja » Sun Dec 19, 2010 6:48 pm

dude your topic solve my problem that i've been working on this whole week.
thank a bunch guys.
cheers. ^_^
rahadyanteja
Once Poster
Once Poster
 
Posts: 1
Joined: Fri Dec 10, 2010 5:29 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 17 guests