Skip to content

Commit 1abe67d

Browse files
[FIX] Download Links:Most Recent Version, Remove Redundant code
1 parent cac5c64 commit 1abe67d

File tree

2 files changed

+175
-124
lines changed

2 files changed

+175
-124
lines changed

mode/src/processing/mode/android/AndroidEditor.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,22 @@ public void actionPerformed(ActionEvent e) {
183183
});
184184
androidMenu.add(item);
185185

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+
186202
androidMenu.addSeparator();
187203

188204
fragmentItem = new JCheckBoxMenuItem(AndroidMode.getTextString("menu.android.app"));

0 commit comments

Comments
 (0)