Some swipe gesture with adb input
<p>Try to emulate gesture like some curve with "adb shell input". Do all command in "su" stream. How can i make curve? Find this way, but it's dont work:</p>

<pre><code>CommandClick.su("input swipe 520 430 520 815 1000 &amp;&amp; input swipe 520 815 675 815 1000");
</code></pre>

<p>CommandClick.su</p>

<pre><code>public static void su(String... commands) {
new CommandClick(SU).command(commands).finish();}
</code></pre>

<p>CommandClick</p>

<pre><code> try {
                dataOutputStream.writeBytes(command + "\n");
                dataOutputStream.flush();
            } catch (IOException e) {
                e.printStackTrace();
            }
</code></pre>

<p>I want 2 swipes like one line...</p>