24 lines
614 B
Java
24 lines
614 B
Java
package de.trac.spherical;
|
|
|
|
import android.content.Intent;
|
|
import android.support.v7.app.AppCompatActivity;
|
|
import android.os.Bundle;
|
|
import android.util.Log;
|
|
|
|
public class MainActivity extends AppCompatActivity {
|
|
|
|
public static final String TAG = "Spherical";
|
|
|
|
@Override
|
|
protected void onCreate(Bundle savedInstanceState) {
|
|
super.onCreate(savedInstanceState);
|
|
setContentView(R.layout.activity_main);
|
|
|
|
Intent intent = getIntent();
|
|
String action = intent.getAction();
|
|
String type = intent.getType();
|
|
|
|
Log.d(TAG, "Intent: " + action + " " + type);
|
|
}
|
|
}
|