summaryrefslogtreecommitdiff
path: root/LoopbackApp/app/src/main/java/org/drrickorang/loopback/AboutActivity.java
blob: f968202d52e174fb37f78f919584bef335a3f5cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package org.drrickorang.loopback;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

/**
 * Created by ninatai on 5/11/15.
 */
public class AboutActivity extends Activity {
    public void onCreate(Bundle savedInstanceState) {

        super.onCreate(savedInstanceState);

        Intent intent = getIntent();
        String message = "Audio latency testing app using the Dr. Rick O'Rang audio loopback dongle.\n\n" +
                         "Author: Ricardo Garcia\n\n" +
                         "Open source project on: https://github.com/gkasten/drrickorang\n\n" +
                         "References: https://source.android.com/devices/audio/loopback.html\n" +
                         "https://source.android.com/devices/audio/latency_measure.html#loopback";

        // Create the text view
        TextView textView = new TextView(this);
        textView.setTextSize(20);
        textView.setText(message);

        // Set the text view as the activity layout
        setContentView(textView);
    }
}