How do I keep an app active even with the screen off?

Get help using Construct 2

Post » Mon Aug 28, 2017 8:38 pm

Hi there!
The application I'm developing becomes inactive in background or when the smartphone's screen switches off. Is there any way to solve this?
Last edited by Bracara on Wed Aug 30, 2017 2:59 pm, edited 2 times in total.
B
2
Posts: 6
Reputation: 164

Post » Tue Aug 29, 2017 3:56 pm

I am wondering this feature. I hope there is a solution
B
10
S
2
Posts: 24
Reputation: 725

Post » Wed Aug 30, 2017 11:03 am

It is crucial that applications with (e.g. stopwatch and timer functions) can be run in background or with the screen off, otherwise the counts will be paused.
Please, any Help? :)
B
2
Posts: 6
Reputation: 164

Post » Wed Aug 30, 2017 3:11 pm

Message: omerturac can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
There are examples for working on the background
https://www. scirra.com/store/royalty-free-game-templates/game-template-11-reward-system-2352
B
10
S
2
Posts: 24
Reputation: 725

Post » Wed Aug 30, 2017 3:59 pm

Thanks for the link, but i can't find the examples :|
B
2
Posts: 6
Reputation: 164

Post » Thu Aug 31, 2017 7:43 am

@Bracara Heres another link try this https://www.scirra.com/store/royalty-fr ... ystem-2352 Then if you would like to see the example working try this https://www.scirra.com/arcade/tutorial- ... ystem-7583
Image
B
40
S
20
G
12
Posts: 340
Reputation: 10,662

Post » Fri Sep 01, 2017 9:43 am

Thanks for the attention, but I can not find the solution so that an app will not be in pause mode when it's in the background. I really need to find the solution to keep the applications active in background and when the screen is suspended. There has to be a way to solve these problems. :|
B
2
Posts: 6
Reputation: 164

Post » Mon Sep 11, 2017 4:58 pm

Any help!
B
2
Posts: 6
Reputation: 164

Post » Mon Sep 11, 2017 6:22 pm

I don't think it's possible to keep a C2 app running in the background. If you only need a timer, take a look at rexrainbow's timer plugin.
B
21
S
7
G
1
Posts: 165
Reputation: 1,912

Post » Tue Sep 12, 2017 2:03 pm

Thanks ChesVCF!

The idea is really keeping the C2 (APK) app running in the background and / or with the smartphones screen off.

But I'm realizing that It's really hard to find a way to solve this problem.

I think I spent many hours working on my C2 project for nothing. :cry:
B
2
Posts: 6
Reputation: 164


Return to How do I....?

Who is online

Users browsing this forum: Baidu [Spider] and 10 guests