She scenario is not well supported in version 0.8.
Result is probably .NET array of java.lang.String[]
Try to call GetType() on returned object on .net side as well as on
the element of it.
If you could change java side signature, you should be able to pass it
out as java.lang.ArrayList of java.lang.String[]
On Sat, Oct 13, 2012 at 6:34 PM, jni4net user <
zir...@gmail.com> wrote:
> Hi everyone,
>
> I was able to replace one of the commercial Java-.NET bridges with jni4net
> in my
vb.net project.
> So far everything is working.
> Thanks Pavel for the great work.
>
> I'm unable to do one thing so I'd like to know if I'm missing something.
> I have a java method that I'd like to call from .NET, similar to this:
>
> public String[][] getData(){
> theStrings[][]= {{"1","2"}, ("3","4"}};
> return theStrings;
> }
>
> In .NET I'm unable to cast the returned object into java.lang.String[][], or
> into anything else.
> I also tried
> Object theStrings[2];
> theStrings[0] = new String[] {"1","2");
> ...etc
> return theStrings;
>
> But also unable to use it in .NET...
> Should this work, and if not how else could I return an Array of arrays ?
>
> Thanks.
>
> --
> You received this message because you are subscribed to
>
jni...@googlegroups.com
>
http://groups.google.com/group/jni4net?hl=en-GB?hl=en-GB
>
http://jni4net.sf.net/