1. honeyasin's Avatar
    Hi,
    I have a webview inside a Service, that runs javascript code (by calling loadUrl), but when i run the app in background it takes some pauses periodically. In advance, it seems that when the phone is connected to my PC there isn't any problem.

    I need the script to be executed constantly, so i thought to move the webview to a second thread.

    Another solution could be creating an IntentService instead of simple Service, or use something other than webview to execute my remote javascript code.

    Any ideas?

    Thank You
    Honey Asin
    01-20-2018 07:41 AM

Similar Threads

  1. Alarm does not sound when phone is on mute
    By Android Central Question in forum Samsung Galaxy S8 & S8+
    Replies: 9
    Last Post: 08-02-2020, 05:37 PM
  2. Switching from Verizon to Vodafone
    By GaryRad in forum Samsung Galaxy Note 8
    Replies: 4
    Last Post: 01-21-2018, 08:38 AM
  3. Text logs emailed to me
    By Android Central Question in forum Ask a Question
    Replies: 1
    Last Post: 01-21-2018, 04:07 AM
  4. Replies: 0
    Last Post: 01-20-2018, 07:40 AM
  5. Alarm does not sound when phone is on mute
    By Android Central Question in forum Ask a Question
    Replies: 0
    Last Post: 01-20-2018, 06:57 AM
LINK TO POST COPIED TO CLIPBOARD