Hi,

I am using the following to refresh my ad view every 30 seconds:

Timer adTimer = new Timer("adUpdate");

        adTimer.scheduleAtFixedRate(new TimerTask() {

        public void run(){

        myBanner.refresh();

        }

        }, 0, 30000);


However, it refreshes every half second or so, if the LogCat output is to be
believed. What is wrong in my code. The app doesn't crash but the update
time isn't right.


Thanks

-- 
--------------------
Raghav Sood
CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles
required to have complete control)
http://www.raghavsood.com/
https://market.android.com/developer?pub=Appaholics
http://www.appaholics.in/

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to