RocJ -A Java Client-

Java Swing Client

RocJ -A Java Client-

Postby rjversluis » 09.06.2010, 16:19

Yes, maybe.

Device target: Pads & NetBooks.

Mainly based on andRoc with the same functionality.

If you already have a mobile device which is too big for iRoc or andRoc, and it cannot run the Rocview program, Try if this piece of code will run on the device:

https://launchpad.net/rocrail/snapshot/snapshot
http://wiki.rocrail.net/doku.php?id=rocj-intro-en

It does not much, but it connects and evaluates the communication.
The only thing visible after connect is the plan name in the titlebar.
Last edited by rjversluis on 14.06.2010, 06:17, edited 1 time in total.
Best Regards, Rob.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby jeanmichel » 09.06.2010, 16:55

Hi Rob,

ui :) And: of course it connects :)

BR
Jean-Michel
jeanmichel
 

Postby rjversluis » 10.06.2010, 09:26

RocJ shows part of the layout, switches can be operated.

http://wiki.rocrail.net/doku.php?id=rocj-intro-en

The source code, revno 26, will be available this evening at LP.

@Ronald: Can you give this revision a try on your MID? The jar is found at the download section.
You do not have the required permissions to view the files attached to this post.
Best Regards, Rob.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby ron&bram » 10.06.2010, 12:00

Hi Rob,

@Ronald: Can you give this revision a try on your MID?
Ofcourse. In the meantime Rocrail is also the home page on the MID's browser. Report will come tonight.

Best regards, Ronald
Best regards, Viele Grüsse, vriendelijke groeten, Ronald :rr_cap:
GCA85/50/93/145/146/153 Loconet, Twincenter+booster for locs, seperate booster for accessory decoders, dedicated laptop with XP and Ubuntu for Rocrail, AndRoc, LGB indoor OTF layout
ron&bram
 

Postby rjversluis » 10.06.2010, 14:06

Some more objects:

Image
Best Regards, Rob.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby jeanmichel » 10.06.2010, 16:23

Hi Rob,

brilliant!

BR
jmf
jeanmichel
 

Postby rjversluis » 10.06.2010, 16:44

Its getting better all the time...
Image
Best Regards, Rob.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby rjversluis » 10.06.2010, 17:50

Looking for a Pad?
Make sure it runs Java6. ;-)
Best Regards, Rob.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby ron&bram » 10.06.2010, 20:18

This is how it looks on a MID (800x480 resolution).

Best regards, Ronald
You do not have the required permissions to view the files attached to this post.
Best regards, Viele Grüsse, vriendelijke groeten, Ronald :rr_cap:
GCA85/50/93/145/146/153 Loconet, Twincenter+booster for locs, seperate booster for accessory decoders, dedicated laptop with XP and Ubuntu for Rocrail, AndRoc, LGB indoor OTF layout
ron&bram
 

Postby jeanmichel » 10.06.2010, 20:45

Hi Ronald,

ist this device usable? And how much locos does it cost?

BR
jmf
jeanmichel
 

Postby ron&bram » 10.06.2010, 21:29

Hi Jean-Michel,

From a "amount of information" point of view I think it is usable. The size (7 inch screen) is clumsy, you need two hands. It has a smaller brother with less battery capacity (2 Ah against 4.8 Ah) and a 4.3 inch screen, but I found this (SmartQ V7on Ebay from a Dutch seller (no import duty). It has 256 MB of ram, 2 GB of internal flash memory, a SDHC slot, a full HD HDMI output, WiFi (b/g) and a 600 MHz Arm11 processor. It boots into Android (but a gutted version, andRoc is not stable), into Ubuntu (based upon 9.04) and WinCE. On Android I use a VNC client to control the PC running Rocview, which gives a good response. On Ubuntu I installed OpenJDK java runtime. At this moment I can not load my own plan into RocJ, but that may be due to the huge size of it (700 kB), other plans, like on the picture, open just fine. Response time is good. I paid €177, for which you can not buy a lot of LGB locs, certainly not new.

Best regards, Ronald
Best regards, Viele Grüsse, vriendelijke groeten, Ronald :rr_cap:
GCA85/50/93/145/146/153 Loconet, Twincenter+booster for locs, seperate booster for accessory decoders, dedicated laptop with XP and Ubuntu for Rocrail, AndRoc, LGB indoor OTF layout
ron&bram
 

Postby rjversluis » 11.06.2010, 05:40

Hi Ronald,

ron&bram wrote:At this moment I can not load my own plan into RocJ, but that may be due to the huge size of it (700 kB)


Can you post here or direct to me this huge plan for testing?

You also can try to give the java VM more memory:

java -Xmx256m -jar rocj.jar
Best Regards, Rob.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby rjversluis » 11.06.2010, 15:41

Hi,

Just check the latest snapshot for more functionality and touch screen friendliness:

http://wiki.rocrail.net/doku.php?id=rocj-intro-en
Best Regards, Rob.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby gramels » 11.06.2010, 16:30

works well under MacOS 10.6.2, just download and run.

Might not be the primary target platform, but makes low footprint railroad switch board.

Need to test my Nokia N800 with it.

Amazing great work Rob!
openDCC - MultiMaus - (MERG RFID) - testing a planned garden layout in IIm -
gramels
 

Postby rjversluis » 12.06.2010, 15:18

You can give revision 59 a try:

Image

It should be possible to run your layout with RocJ.

Because of the target device size a throttle will not be available at first. It is mainly meant to run your layout in automatic mode or to operate switches manually .
Best Regards, Rob.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Next

Return to RocJ