We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0c805c commit d4f8995Copy full SHA for d4f8995
core/src/processing/core/PApplet.java
@@ -625,7 +625,7 @@ public View onCreateView(Activity activity) {
625
}
626
627
628
-
+
629
630
public void onResume() {
631
@@ -1128,6 +1128,10 @@ public void orientation(int which) {
1128
1129
1130
1131
+ public Activity getActivity() {
1132
+ return activity;
1133
+ }
1134
1135
// public int sketchOrientation() {
1136
// return ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED;
1137
// //setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
0 commit comments