how to use int[] in android java : <p>first i'm sorry ,i'm a newbie at this,so i confuse about java lang..</p>

<p>if i have a function like this..</p>

<pre><code>public static void sendRcOverrideMsg(drone, int[] rcOutputs) {
    msg_rc_channels_override msg = new msg_rc_channels_override();
    msg.chan1_raw = (short) rcOutputs[0];
    msg.chan2_raw = (short) rcOutputs[1];
    msg.chan3_raw = (short) rcOutputs[2];
    msg.chan4_raw = (short) rcOutputs[3];
    msg.chan5_raw = (short) rcOutputs[4];
    msg.chan6_raw = (short) rcOutputs[5];
    msg.chan7_raw = (short) rcOutputs[6];
    msg.chan8_raw = (short) rcOutputs[7];
    msg.target_system = drone.getSysid();
    msg.target_component = drone.getCompid();
    drone.getMavClient().sendMessage(msg, null);
}
</code></pre>

<p>how can i call that function..
i already call like this : </p>

<p>sendRCOverrideMsg(drone, "//what should i fill in this int[]").. sry before, thanks, hopefully somebody can helm me at this.</p>
