prevent going into standby mode (sleep)

Discussion in 'App Inventor' started by ypc, May 17, 2012.

  1. ypc

    ypc New Member
    15

    May 15, 2012
    2
    0
    15
    Is there a way using App Inventors blocks to prevent the phone to go into sleep mode?
    The maximum I can configure using parameters option of the phone is 30mm.

    regards:thinking:
     

    Advertisement
  2. Jurrie

    Jurrie New Member
    5

    Jan 7, 2013
    1
    0
    5
    Hello,

    I ran into the same problem and I added a notifier: Notifier1.
    once in the 30 secs I

    call Notifier1.ShowAlert="text" .

    This prevents the phone going into standby mode
     
  3. PavementPilot

    PavementPilot Well-Known Member
    26

    Aug 1, 2011
    48
    3
    26
    Male
    Professional Driver
    Vernon, BC
    So for that to work you will need a clock element and have it fire every 25 seconds, calling the notifier.showalert='blank text'

    blank text means a text block with all words erased.
     

Share This Page

Loading...