This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-08-23 10:01:13

GeonoTRON2000
Scratcher
Registered: 2009-12-24
Posts: 1000+

How to interact with Scratch via Java?

I tried, but it says "Message to big, bad sized field."
Can someone please post an example?
Thanks!


http://i.imgur.com/BAEgGDL.png

Offline

 

#2 2012-08-23 10:06:04

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: How to interact with Scratch via Java?

Did you add the four byte length to the beginning of the message?  smile

http://wiki.scratch.mit.edu/wiki/Remote … s_Protocol

Offline

 

#3 2012-08-23 10:08:46

GeonoTRON2000
Scratcher
Registered: 2009-12-24
Posts: 1000+

Re: How to interact with Scratch via Java?

Magnie wrote:

Did you add the four byte length to the beginning of the message?  smile

http://wiki.scratch.mit.edu/wiki/Remote … s_Protocol

I'm not exactly sure how to do that in Java, that's why I ask.


http://i.imgur.com/BAEgGDL.png

Offline

 

#4 2012-08-23 14:07:16

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: How to interact with Scratch via Java?

Take a look at this.


/* No comment */

Offline

 

Board footer