RC-CAB Compile

The RC-CAB is a mobile Android client which directly connects to the command station.
http://wiki.rocrail.net/doku.php?id=rccab:rccab-en

RC-CAB Compile

Postby Buddace » 17.01.2013, 14:07

Hello rob I tried to download and compile RCCAB under Android SDK...but I have some error about (I think) )unknown object.
Need more library for SDK ?
www.dccworld.com First and Only Italian DCC Website.

TMWDCC/TBX , zDCC, Lokmaus 2, Arnold DCC, Intellibox, Hornby Select, A lot of Loconet DIY (Loconet SwitcBoard, Loconet P50, etc..)
Buddace
 

Postby rjversluis » 17.01.2013, 14:18

English:
1) Please make sure that your used topic title matches the content of your post. It makes no sense to choose a subject that points on a different theme. The forum admins will rename or remove such a thread.
2) If you are asking for support for Rocrail functionallity, auto mode, switches, signals ... you have to post your rocrail.ini plan file and the trace file. No one can help you if you don't provide this informations.


Sorry, I lost my crystal bowl.

Use the source, Luke!
Best Regards, Rob.
:!: PS: Do not forget to attach the usual files.
:!: PS: Nicht vergessen die übliche Dateien an zu hängen.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby Buddace » 17.01.2013, 14:39

rjversluis wrote:
English:
1) Please make sure that your used topic title matches the content of your post. It makes no sense to choose a subject that points on a different theme. The forum admins will rename or remove such a thread.
2) If you are asking for support for Rocrail functionallity, auto mode, switches, signals ... you have to post your rocrail.ini plan file and the trace file. No one can help you if you don't provide this informations.


Sorry, I lost my crystal bowl.

Use the source, Luke!

My first time :) in Android and need same crystal bowl.....I don't like object oriented programming!
www.dccworld.com First and Only Italian DCC Website.

TMWDCC/TBX , zDCC, Lokmaus 2, Arnold DCC, Intellibox, Hornby Select, A lot of Loconet DIY (Loconet SwitcBoard, Loconet P50, etc..)
Buddace
 

Postby rjversluis » 17.01.2013, 14:41

Buddace wrote:I don't like object oriented programming!

In that case: Good luck.
Best Regards, Rob.
:!: PS: Do not forget to attach the usual files.
:!: PS: Nicht vergessen die übliche Dateien an zu hängen.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby Buddace » 17.01.2013, 14:52

rjversluis wrote:
Buddace wrote:I don't like object oriented programming!

In that case: Good luck.

I prefer embedded or Labview :D

So console tell me this:
Code: Select all
[2013-01-17 14:45:20 - rccab] Unable to resolve target 'android-4'

What is android version used to develop ?
www.dccworld.com First and Only Italian DCC Website.

TMWDCC/TBX , zDCC, Lokmaus 2, Arnold DCC, Intellibox, Hornby Select, A lot of Loconet DIY (Loconet SwitcBoard, Loconet P50, etc..)
Buddace
 

Postby rjversluis » 17.01.2013, 15:06

API Level 3 = 1.5
API Level 4 = 1.6
...
http://developer.android.com/develop/index.html
Best Regards, Rob.
:!: PS: Do not forget to attach the usual files.
:!: PS: Nicht vergessen die übliche Dateien an zu hängen.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby Buddace » 17.01.2013, 16:30

[EDIT]
Solved

rjversluis wrote:API Level 3 = 1.5
API Level 4 = 1.6
...
http://developer.android.com/develop/index.html

Rob only last 3 errors:
Code: Select all
Description   Resource   Path   Location   Type
Call requires API level 4 (current min is 3): android.net.wifi.WifiManager.MulticastLock#acquire   LnConnection.java   /rccab/src/net/rocrail/rccab/loconet   line 52   Android Lint Problem

Code: Select all
Description   Resource   Path   Location   Type
Call requires API level 4 (current min is 3): android.net.wifi.WifiManager#createMulticastLock   LnConnection.java   /rccab/src/net/rocrail/rccab/loconet   line 51   Android Lint Problem

Code: Select all
Description   Resource   Path   Location   Type
Class requires API level 4 (current min is 3): android.net.wifi.WifiManager.MulticastLock   LnConnection.java   /rccab/src/net/rocrail/rccab/loconet   line 51   Android Lint Problem
www.dccworld.com First and Only Italian DCC Website.

TMWDCC/TBX , zDCC, Lokmaus 2, Arnold DCC, Intellibox, Hornby Select, A lot of Loconet DIY (Loconet SwitcBoard, Loconet P50, etc..)
Buddace
 

Postby rjversluis » 17.01.2013, 16:55

Just disable Lint.
Best Regards, Rob.
:!: PS: Do not forget to attach the usual files.
:!: PS: Nicht vergessen die übliche Dateien an zu hängen.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby Buddace » 19.01.2013, 23:15

rjversluis wrote:Just disable Lint.

Without lint don't solve problem :(
You do not have the required permissions to view the files attached to this post.
www.dccworld.com First and Only Italian DCC Website.

TMWDCC/TBX , zDCC, Lokmaus 2, Arnold DCC, Intellibox, Hornby Select, A lot of Loconet DIY (Loconet SwitcBoard, Loconet P50, etc..)
Buddace
 

Postby rjversluis » 29.01.2013, 17:11

Hi Nuccio,

do you need some help?
I can add the ASCII Loconet protocol to RC-CAB if it make more then one person happy. ;-)
Best Regards, Rob.
:!: PS: Do not forget to attach the usual files.
:!: PS: Nicht vergessen die übliche Dateien an zu hängen.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby Buddace » 30.01.2013, 19:06

rjversluis wrote:Hi Nuccio,

do you need some help?
I can add the ASCII Loconet protocol to RC-CAB if it make more then one person happy. ;-)

Rob I'm trying to learn Android and Java, application Is small and easy to learn :)
Don't worry for ASCII protocol if I want I will ask again ;) Thanks
www.dccworld.com First and Only Italian DCC Website.

TMWDCC/TBX , zDCC, Lokmaus 2, Arnold DCC, Intellibox, Hornby Select, A lot of Loconet DIY (Loconet SwitcBoard, Loconet P50, etc..)
Buddace
 

Postby Buddace » 08.02.2013, 09:15

Rob about Led:
Code: Select all
RED

Session status.
GREEN

The TCP/IP connection.

Green LED means connection ok ?
Witch means blink red led ?

Another..via loconet Can read CV ?

PS yesterday drive train directly via USB and loconet without WiFi.
www.dccworld.com First and Only Italian DCC Website.

TMWDCC/TBX , zDCC, Lokmaus 2, Arnold DCC, Intellibox, Hornby Select, A lot of Loconet DIY (Loconet SwitcBoard, Loconet P50, etc..)
Buddace
 

Postby rjversluis » 08.02.2013, 11:27

Hi Nuccio,

I just added the flashing to the wiki:
http://wiki.rocrail.net/doku.php?id=rccab:rccab-en#leds
Best Regards, Rob.
:!: PS: Do not forget to attach the usual files.
:!: PS: Nicht vergessen die übliche Dateien an zu hängen.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby Buddace » 08.02.2013, 11:45

RCCAB Can read CV via Loconet ?
www.dccworld.com First and Only Italian DCC Website.

TMWDCC/TBX , zDCC, Lokmaus 2, Arnold DCC, Intellibox, Hornby Select, A lot of Loconet DIY (Loconet SwitcBoard, Loconet P50, etc..)
Buddace
 

Postby rjversluis » 08.02.2013, 13:04

Best Regards, Rob.
:!: PS: Do not forget to attach the usual files.
:!: PS: Nicht vergessen die übliche Dateien an zu hängen.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Next

Return to RC-CAB