File tree Expand file tree Collapse file tree 2 files changed +175
-124
lines changed
mode/src/processing/mode/android Expand file tree Collapse file tree 2 files changed +175
-124
lines changed Original file line number Diff line number Diff line change @@ -183,6 +183,22 @@ public void actionPerformed(ActionEvent e) {
183
183
});
184
184
androidMenu .add (item );
185
185
186
+ //For testing SDK Downloader - Remove Later. --------------------------------------
187
+ item = new JMenuItem ("SDK Downloader" );
188
+ item .addActionListener (new ActionListener () {
189
+ public void actionPerformed (ActionEvent e ) {
190
+ try {
191
+ AndroidSDK .download (null ,androidMode );
192
+ } catch (AndroidSDK .BadSDKException ex ) {
193
+ ex .printStackTrace ();
194
+ } catch (AndroidSDK .CancelException ex ) {
195
+ ex .printStackTrace ();
196
+ }
197
+ }
198
+ });
199
+ androidMenu .add (item );
200
+ //--------------------------------------------------------------------
201
+
186
202
androidMenu .addSeparator ();
187
203
188
204
fragmentItem = new JCheckBoxMenuItem (AndroidMode .getTextString ("menu.android.app" ));
You can’t perform that action at this time.
0 commit comments