Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

13
LINES

< > BotCompany Repo | #1004175 // Test Enabling Awareness Every 10 Minutes

JavaX source code (Android) [tags: use-pretranspiled] - run with: the app

Libraryless. Click here for Pure Java version (533L/4K/14K).

1  
!752
2  
3  
static int intervalMinutes = 10;
4  
5  
p {
6  
  // seems prudent
7  
  androidCancelRepeatingAlarm("#1004078");
8  
  
9  
    // new style - full JavaX functionality!
10  
  androidEnableRepeatingAlarm(5000, intervalMinutes * 60000, "#1004078");
11  
  
12  
  print("Alarm set.");
13  
}

Author comment

Began life as a copy of #1004171

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, crvwmplrxojx, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, nbgitpuheiab, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1004175
Snippet name: Test Enabling Awareness Every 10 Minutes
Eternal ID of this version: #1004175/1
Text MD5: da010ce0b6f5a8ef3aaed0cadfe4ad08
Transpilation MD5: 08e25a8dbb43b17c7dff320475a26a52
Author: stefan
Category: javax
Type: JavaX source code (Android)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-05 14:11:22
Source code size: 267 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 508 / 558
Referenced in: [show references]