Build Failed on CoreDX DDS Android Platform

Hello there,

I'm trying to build and run the shapes demo on an android emulator but ran into difficulties.

The errors seem to come while trying to compile the ShapesView.java class that is located in
CoreDX_DDS_tocshapes_android-1.0/src/com/toc/shapes/

The error is "cannot find symbol" and it keeps repeating while trying to import classes from
"com.toc.coredx.DDS"

I'm assuming that this might be a "CLASSPATH" issue.

OS:Linux 10.04
CoreDX DDS is: coredx-3.2.0_p5-Linux_2.6_x86_gcc43-Evaluation
Target Platform version: Android 3.2 revision 12 API Level:13
Shapes Demo version: CoreDX_DDS_tocshapes_android-1.0
Open JDK version 6b20

Thank for your help.

Comments

CoreDX DDS on Android

Are you following the instructions in the README file provided with the TOC Shapes source for Android? Can you confirm that you have set the environment variables that the scripts are using? In particular, it sounds like you might be missing the COREDX_TOP, COREDX_HOST, or COREDX_TARGET envirionment variables.

There is a script that will provide good values for these variables: /scripts/cdxenv.sh

Run cdxenv.sh and select the appropriate 'HOST' platform and 'TARGET' platform when prompted. Then paste the resulting 'export ...' lines into your shell.

If that doesn't solve the problem, then I'll need some more details on your environment (variables), and the output from running config.sh and build.sh.

--clark

Hi folks, I´m also trying

Hi folks,

I´m also trying build a application on a Galaxy Tab GT-P1000 running Android 2.3.3 but I have had some problems.

In the first line, we I call "DomainParticipantFactory.get_instance()" my application simply closes. Android says that application has stopped unexpectedly and I´m not able to catch the exception even using a "try catch (Exception)" block.

This same application is working fine in Java.

I didn´find any documentation about building for Android.

Is there any documentation that could help me?

OS: Win 7 x64
CoreDX DDS: 3.4.0_rc4-Android_2.2_armv5_gcc44-Evaluation and 3.4.0_rc4-Windows_x86_vs2008-Evaluation
Java: jdk1.6.0_26 and jre6
Device: Galaxy Tab GT-P1000 with Android 2.3.3
Build target: Platform 2.2 API Level 8
Environment variables:
COREDX_HOST: Windows_x86_vs2008
COREDX_TARGET: I´ve tried Windows_x86_vs2008 and Android_2.2_armv5_gcc44
COREDX_TOP: C:\coredx
TWINOAKS_LICENSE_FILE: C:\coredx\XXX.lic

Thank you in advance,
Rafael

Enabling UDP Mulitcast

Hi there,

Thank you for your reply.

I did set the environment variables but not correctly at first.
I have installed the demo app on the device successfully now.

In the README file, you stated:
"We can provide some instructions on enabling UDP MULTICAST in the Android emulator if this is required."

I'm using the emulator device until I'll get my hands on a real device and will appreciate the help on enabling UDP MULTICAST.

I Launched a host shapes demo on linux and a target shapes demo on the android.
The android device is not receiving the data.

From what I'm seeing, I believe that this is due to the fact that the emulator needs to redirect certain ports.
Can you please elaborate on this issue?

Thank you very much

RE: Enabling UDP Mulitcast

We will send you an e-mail with some scripts and instructions for enabling multicast in the qemu android emulator.

Kind regards,
--clark