Source language: Translate to:

Keep Android app the screen on...

General questions about NeoAppBuilder - our rapid application development tool for building HTML5, web and mobile apps.

Moderator: Neosoft Support

Keep Android app the screen on...

Postby David de Argentina » Fri Oct 16, 2015 10:30 am

Hi all,

I need that an android app keeps the screen on.

I tried some codes, like:

getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);

but does not work.

any ideas ?

Thanks in advance,
David de Argentina
User avatar
David de Argentina
 
Posts: 1553
Joined: Mon Apr 04, 2005 4:13 pm
Location: Buenos Aires, Argentina

Re: Keep Android app the screen on...

Postby Neosoft Support » Fri Oct 16, 2015 6:10 pm

NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5593
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Re: Keep Android app the screen on...

Postby David de Argentina » Tue Oct 20, 2015 11:09 am

Thanks Dave,

Samples of the android page are java based.... i don't have idea about java.

I think is time to add some plugins... or java services...

Another idea ?

Thanks in advance,
David de Argentina
User avatar
David de Argentina
 
Posts: 1553
Joined: Mon Apr 04, 2005 4:13 pm
Location: Buenos Aires, Argentina

Re: Keep Android app the screen on...

Postby David de Argentina » Tue Oct 20, 2015 11:30 am

For this time, i use this app:

https://play.google.com/store/apps/deta ... &hl=es_419

David de Argentina
User avatar
David de Argentina
 
Posts: 1553
Joined: Mon Apr 04, 2005 4:13 pm
Location: Buenos Aires, Argentina


Return to General NeoAppBuilder Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron