sleep

  1. rleiman

    Android Question [SOLVED] - Running a streaming app without it being put to sleep by Android

    Greetings, Android is killing (putting to sleep) my radio streaming app. Originally, I placed all of the app code in the main module. It works fine for long periods of time only if I stay in the app. If I exit the app or turn the phone screen off, Android was killing it after about 3 or 4...
  2. H

    B4J Question Sleep and WaitFor With Webview

    i want use "WaitFor" without stopping WebView. When i use "WaitFor" my WebView flashplayer and movable objects(Animations/Gif's) goes pausing. I do not want "WaitFor" to interfere in WebView's work.
  3. behnam_tr

    B4J Question how use "wait for" to check file existing

    hi i creat a pdf file in my b4j app using printhtml and jshell and i save that in my app folder then i upload to myhost after runing jshell complet event i use sleep(4000) then file is ready for upload.... now i want to use "wait for" instead of sleep to checking file exist without using sleep...
  4. D

    Android Question Getting HTML Code from web site when phone is sleeping

    Hi all, This one has got me stumped - I have an app that periodically sends an email - works fine each hour email is sent even if the phone has just started up or sleeping. However, I also want it to get the content of a web site (html code) and append that to the message - I have tried various...
  5. appie21

    B4J Question Turn pc monitor in standby and wake

    Hello I want to create a tool that can turn of my pc monitor(standby) on or off How can i do this?
  6. Kevin Hartin

    Android Question Using SoundPool to make a sentence

    Hi all, I have been hacking my way through building an app with offline maps, a database of markers and alerts as a marker comes near. It is all working fine as I post an alert to the screen with all the relevant information using ToastMessageShow. What I want to add as an option is a verbal...
  7. FERNANDO SILVEIRA

    Android Question Sleep not resumed (context is paused)

    Hello guys, Basically the program is a never ending loop, moving squares on the canvas. I'm getting this message when pausing (switching apps) while my program is running. It also happens when the display turns off by inactivity. What should I do to resume my program after a pause? Regards...
Top