-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Paramètres de luminosité et temps de veille paramétrable dans les set…
…tings
- Loading branch information
Showing
9 changed files
with
87 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,6 @@ | ||
function run() | ||
print("run baground testbc app, no displayed: show conter to 10 and run settings app") | ||
print(time) | ||
-- local counter = 0 | ||
print("this app in not in the background, will launch sub1 app for 5 seconds") | ||
|
||
-- local function printCounter() | ||
-- counter = counter + 1 | ||
-- print("Counter: " .. counter .. " sec") | ||
-- if(counter == 10) then | ||
-- launch("settings") | ||
-- end | ||
-- end | ||
|
||
-- time:setInterval(printCounter, 1000) | ||
|
||
launch("testbc.sub1") | ||
window = gui:window() | ||
gui:setWindow(window) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,6 @@ | ||
function run() | ||
print("run sub1 app in background: will display counter2 to 10 then run the settings app") | ||
local counter = 0 | ||
|
||
local function printCounter() | ||
counter = counter + 1 | ||
print("Counter 2: " .. counter .. " sec") | ||
if(counter == 10) then | ||
launch("settings") | ||
end | ||
end | ||
|
||
time:setInterval(printCounter, 1000) | ||
end | ||
time:setTimeout(function() | ||
launch("testbc") | ||
system.app:quit() | ||
end, 1000) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,6 @@ | |
"files", | ||
"time" | ||
], | ||
"background": true, | ||
"autorun": false | ||
"background": false, | ||
"autorun": true | ||
} |
Binary file not shown.