Just Intonation  Version 1.3.1 (19)
Explore key-independent dynamically adapting tuning in just intonation
JustIntonation.java
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright 2016-2017 Karolin Stange, Christoph Wick, and Haye Hinrichsen
3  *
4  * This file is part of JustIntonation.
5  *
6  * JustIntonation is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by the
8  * Free Software Foundation, either version 3 of the License, or (at your
9  * option) any later version.
10  *
11  * JustIntonation is distributed in the hope that it will be useful, but
12  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13  * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14  * for more details.
15  *
16  * You should have received a copy of the GNU General Public License along
17  * with JustIntonation. If not, see http://www.gnu.org/licenses/.
18  *****************************************************************************/
19 
20 package org.uniwue.tp3;
21 import android.os.Bundle;
22 import android.view.WindowManager;
23 import org.qtproject.qt5.android.bindings.QtActivity;
24 
25 
32 
33 
34 public class JustIntonation extends QtActivity {
35  @Override
36  public void onCreate(Bundle savedInstanceState) {
37  super.onCreate(savedInstanceState);
38  // disable screen saver
39  getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
40  }
41 }
42 
void onCreate(Bundle savedInstanceState)
Custom activity derived from QtActivity.