Re: Declaring a byte[] Array in scriptdef

2016-06-01 Thread Evan J
Martin, Thanks. I needed some Java-to-Javascript reference. At the end, I managed to create a checksum task via ANT API rather than implementing MD5 hash from the scratch in the code. On Tue, May 31, 2016 at 8:46 PM, Martin Gainty wrote: > function test(){var bytebuffer = new > java.lang.String

RE: Declaring a byte[] Array in scriptdef

2016-05-31 Thread Martin Gainty
function test(){var bytebuffer = new java.lang.String("/package/filename.ext").getBytes();} https://docs.nativescript.org/runtimes/android/marshalling/java-to-js.html Martin __