Android Open Source - TuxRemote Global

From Project

Back to project page TuxRemote.


The source code is released under:

GNU General Public License

If you think the Android project TuxRemote 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

//from w  ww.  j a va2 s  .c om
import android.content.Context;


public class Global {
    private static boolean connexion = false;

     * userIsConnected : true or false if user is connected/disconneted to a server.
     * use setUserIsConnected to change value.
     * @return true/false
    public static boolean userIsConnected(){
        return connexion;
    public static void setUserIsConnected(boolean c){
        connexion = c;

    private static Context context;

    public static void setContext(Context c){
        context = c;

    public static Context getStaticContext(){
        return context;

    public static SshSession session;


Java Source Code List