2017-09-12 14:54:41 +02:00
|
|
|
package de.trac.spherical;
|
|
|
|
|
2017-09-12 18:11:58 +02:00
|
|
|
import android.content.Intent;
|
2017-09-12 14:54:41 +02:00
|
|
|
import android.support.v7.app.AppCompatActivity;
|
|
|
|
import android.os.Bundle;
|
2017-09-12 18:11:58 +02:00
|
|
|
import android.util.Log;
|
2017-09-12 14:54:41 +02:00
|
|
|
|
|
|
|
public class MainActivity extends AppCompatActivity {
|
|
|
|
|
2017-09-12 18:11:58 +02:00
|
|
|
public static final String TAG = "Spherical";
|
|
|
|
|
2017-09-12 14:54:41 +02:00
|
|
|
@Override
|
|
|
|
protected void onCreate(Bundle savedInstanceState) {
|
|
|
|
super.onCreate(savedInstanceState);
|
|
|
|
setContentView(R.layout.activity_main);
|
2017-09-12 18:11:58 +02:00
|
|
|
|
|
|
|
Intent intent = getIntent();
|
|
|
|
String action = intent.getAction();
|
|
|
|
String type = intent.getType();
|
|
|
|
|
|
|
|
Log.d(TAG, "Intent: " + action + " " + type);
|
2017-09-12 14:54:41 +02:00
|
|
|
}
|
|
|
|
}
|