How to let app run on 2° plan?

Asked

Viewed 36 times

0

I have an Activity and I want it running at 2°; plan, permanent time, I know it will waste Cellular battery but I need help . The code I have to implement is a webView this :

     new CountDownTimer(RESTART_TIME, 1000) {
    public void onTick(long millisUntilFinished) {}

       public void onFinish() {
       recreate();
    }
     }.start();

Anyone can help ?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.