I have not found anything on this and was wondering if you guys knew.
I had to google Java block to be sure, but as I thought, a Java block is a sequence of Java commands enclosed in curly braces which then syntactically becomes a single Java command. A Java block IS Java code.
I’m guessing that since you’re posting this under FTC, you’re probably trying to describe Blockly, which is the block based software that FTC uses. From some quick googling it looks like you are not the first to want to convert back and forth from blockly to Java.
Try doing some research with the phrase “Convert Blockly to Java” and see if that finds you information that is more relevant to what you’re looking for.
Sorry I meant Blockly to Java.
Wow. Not something I was aware of. I’m not the guy who’s going to be able to answer your question, but maybe I can help you define it well enough for someone else to answer. According to wikipedia:
There is a button on the Blockly UI labeled: “Export to Java” that you can use to convert blocks programs to java.
Every time I click that button nothing happens.
Is it because my code has vuforia?
When you click that button it should create a Java opmode in the ‘OnBotJava’ section of your screen (on the very top). You click on that to access your Java files.
If it’s not showing up on that page, I’m not sure what’s happening
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.