Google Protocol Buffers

This is where you talk about the NXJ software itself, installation issues, and programming talk.

Moderators: 99jonathan, roger, imaqine

Google Protocol Buffers

Postby pakerfeldt » Wed May 09, 2012 6:44 pm

I would like to use Googles Protocol Buffers (https://developers.google.com/protocol-buffers/) in leJOS but I'm unable to compile the program since protobuf uses classes that's not included in classes.jar. ObjectStreamException and TreeMap to name two. This report (http://www.nt.ntnu.no/users/skoge/prost ... s/1871.pdf) indicates that it's possible but I haven't figured out how.
Anyone know if this is possible?
pakerfeldt
New User
 
Posts: 3
Joined: Wed May 09, 2012 6:14 pm

Re: Google Protocol Buffers

Postby skoehler » Wed May 09, 2012 6:52 pm

That won't work. leJOS does not support serialization, reflection, or dynamic byte code loading.
skoehler
leJOS Team Member
 
Posts: 1445
Joined: Thu Oct 30, 2008 4:54 pm

Re: Google Protocol Buffers

Postby pakerfeldt » Wed May 09, 2012 7:45 pm

skoehler wrote:That won't work. leJOS does not support serialization, reflection, or dynamic byte code loading.

Alright. I found some alternative implementations of protocol buffers for J2ME. I guess those might work better? At least I'm able to link the program now. Haven't tried it yet though.
pakerfeldt
New User
 
Posts: 3
Joined: Wed May 09, 2012 6:14 pm


Return to NXJ Software

Who is online

Users browsing this forum: No registered users and 1 guest

more stuff