Go Back   Android Forums > Android Development > Application Development > App Inventor

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

test: Reply
 
LinkBack Thread Tools
Old May 17th, 2012, 03:00 AM   #1 (permalink)
ypc
New Member
Thread Author (OP)
 
Join Date: May 2012
Posts: 2
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default prevent going into standby mode (sleep)

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

ypc is offline  
Reply With Quote
sponsored links
Old January 7th, 2013, 05:26 PM   #2 (permalink)
New Member
 
Join Date: Jan 2013
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default NotifierShowAlert

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
Jurrie is offline  
Reply With Quote
Old January 9th, 2013, 11:40 PM   #3 (permalink)
Junior Member
 
PavementPilot's Avatar
 
Join Date: Aug 2011
Location: Vernon, BC
Gender: Male
Posts: 47
 
Device(s): Note 3 Tab 3 10.1 Gear
Carrier: Bell

Thanks: 4
Thanked 3 Times in 3 Posts
Default

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.
__________________
PavementPilot Software on Google Play
PavementPilot is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Development > Application Development > App Inventor
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 08:04 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.