Android Open Source - crtaci Main






From Project

Back to project page crtaci.

License

The source code is released under:

GNU General Public License

If you think the Android project crtaci listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

// Java Package main is a proxy for talking to a Go program.
//   gobind -lang=java crtaci
///*from ww  w.  j a  v a  2s . com*/
// File is generated by gobind. Do not edit.
package go.main;

import go.Seq;

public abstract class Main {
    private Main() {} // uninstantiable

    public static String Extract(String service, String videoId) {
        go.Seq _in = new go.Seq();
        go.Seq _out = new go.Seq();
        String _result;
        _in.writeUTF16(service);
        _in.writeUTF16(videoId);
        Seq.send(DESCRIPTOR, CALL_Extract, _in, _out);
        _result = _out.readUTF16();
        String _err = _out.readUTF16();
        if (_err != null && ! _err.isEmpty()) {
            System.out.println(_err);
            return null;
        }
        return _result;
    }
    
    public static String List() {
        go.Seq _in = new go.Seq();
        go.Seq _out = new go.Seq();
        String _result;
        Seq.send(DESCRIPTOR, CALL_List, _in, _out);
        _result = _out.readUTF16();
        String _err = _out.readUTF16();
        if (_err != null && ! _err.isEmpty()) {
            System.out.println(_err);
            return null;
        }
        return _result;
    }
    
    public static void ListenAndServe(String bind) {
        go.Seq _in = new go.Seq();
        go.Seq _out = new go.Seq();
        _in.writeUTF16(bind);
        Seq.send(DESCRIPTOR, CALL_ListenAndServe, _in, _out);
    }
    
    public static String Search(String query) {
        go.Seq _in = new go.Seq();
        go.Seq _out = new go.Seq();
        String _result;
        _in.writeUTF16(query);
        Seq.send(DESCRIPTOR, CALL_Search, _in, _out);
        _result = _out.readUTF16();
        String _err = _out.readUTF16();
        if (_err != null && ! _err.isEmpty()) {
            System.out.println(_err);
            return null;
        }
        return _result;
    }
    
    private static final int CALL_Extract = 1;
    private static final int CALL_List = 2;
    private static final int CALL_ListenAndServe = 3;
    private static final int CALL_Search = 4;
    private static final String DESCRIPTOR = "main";
}




Java Source Code List

com.github.gen2brain.crtaci.activities.CartoonsActivity.java
com.github.gen2brain.crtaci.activities.CharactersActivity.java
com.github.gen2brain.crtaci.activities.PlayerActivity.java
com.github.gen2brain.crtaci.entities.Cartoon.java
com.github.gen2brain.crtaci.entities.Character.java
com.github.gen2brain.crtaci.fragments.CartoonsFragment.java
com.github.gen2brain.crtaci.fragments.CharactersFragment.java
com.github.gen2brain.crtaci.utils.Connectivity.java
com.github.gen2brain.crtaci.utils.Update.java
com.github.gen2brain.crtaci.utils.Utils.java
com.github.gen2brain.crtaci.utils.VideoEnabledWebChromeClient.java
com.github.gen2brain.crtaci.utils.VideoEnabledWebView.java
go.Go.java
go.Seq.java
go.main.Main.java