• 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏吧

Java IOIOConnectionBootstrap类的典型用法和代码示例

java 10次浏览

本文整理汇总了Java中ioio.lib.spi.IOIOConnectionBootstrap的典型用法代码示例。如果您正苦于以下问题:Java IOIOConnectionBootstrap类的具体用法?Java IOIOConnectionBootstrap怎么用?Java IOIOConnectionBootstrap使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。

IOIOConnectionBootstrap类属于ioio.lib.spi包,在下文中一共展示了IOIOConnectionBootstrap类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: onCreate

点赞 2

import ioio.lib.spi.IOIOConnectionBootstrap; //导入依赖的package包/类
/**
 * Subclasses should call this method from their own onCreate() if
 * overloaded. It takes care of connecting with the IOIO.
 */
@Override
protected void onCreate(Bundle savedInstanceState) {
	super.onCreate(savedInstanceState);
	for (IOIOConnectionBootstrap bootstrap : bootstraps_) {
		if (bootstrap instanceof ContextWrapperDependent) {
			((ContextWrapperDependent) bootstrap).onCreate(this);
		}
	}
}
 

开发者ID:jrieke,
项目名称:ioiometer,
代码行数:14,
代码来源:AbstractIOIOActivity.java

示例2: onDestroy

点赞 2

import ioio.lib.spi.IOIOConnectionBootstrap; //导入依赖的package包/类
/**
 * Subclasses should call this method from their own onDestroy() if
 * overloaded. It takes care of connecting with the IOIO.
 */
@Override
protected void onDestroy() {
	for (IOIOConnectionBootstrap bootstrap : bootstraps_) {
		if (bootstrap instanceof ContextWrapperDependent) {
			((ContextWrapperDependent) bootstrap).onDestroy();
		}
	}
	super.onDestroy();
}
 

开发者ID:jrieke,
项目名称:ioiometer,
代码行数:14,
代码来源:AbstractIOIOActivity.java

示例3: onStart

点赞 2

import ioio.lib.spi.IOIOConnectionBootstrap; //导入依赖的package包/类
/**
 * Subclasses should call this method from their own onStart() if
 * overloaded. It takes care of connecting with the IOIO.
 */
@Override
protected void onStart() {
	super.onStart();
	for (IOIOConnectionBootstrap bootstrap : bootstraps_) {
		if (bootstrap instanceof ContextWrapperDependent) {
			((ContextWrapperDependent) bootstrap).open();
		}
	}
	createAllThreads();
	startAllThreads();
}
 

开发者ID:jrieke,
项目名称:ioiometer,
代码行数:16,
代码来源:AbstractIOIOActivity.java

示例4: onStop

点赞 2

import ioio.lib.spi.IOIOConnectionBootstrap; //导入依赖的package包/类
/**
 * Subclasses should call this method from their own onStop() if overloaded.
 * It takes care of disconnecting from the IOIO.
 */
@Override
protected void onStop() {
	abortAllThreads();
	try {
		joinAllThreads();
	} catch (InterruptedException e) {
	}
	for (IOIOConnectionBootstrap bootstrap : bootstraps_) {
		if (bootstrap instanceof ContextWrapperDependent) {
			((ContextWrapperDependent) bootstrap).close();
		}
	}
	super.onStop();
}
 

开发者ID:jrieke,
项目名称:ioiometer,
代码行数:19,
代码来源:AbstractIOIOActivity.java

示例5: onNewIntent

点赞 2

import ioio.lib.spi.IOIOConnectionBootstrap; //导入依赖的package包/类
@Override
protected void onNewIntent(Intent intent) {
	super.onNewIntent(intent);
	if ((intent.getFlags() & Intent.FLAG_ACTIVITY_NEW_TASK) != 0) {
		for (IOIOConnectionBootstrap bootstrap : bootstraps_) {
			if (bootstrap instanceof ContextWrapperDependent) {
				((ContextWrapperDependent) bootstrap).open();
			}
		}
	}
}
 

开发者ID:jrieke,
项目名称:ioiometer,
代码行数:12,
代码来源:AbstractIOIOActivity.java

示例6: create

点赞 2

import ioio.lib.spi.IOIOConnectionBootstrap; //导入依赖的package包/类
public void create() {
	for (IOIOConnectionBootstrap bootstrap : bootstraps_) {
		if (bootstrap instanceof ContextWrapperDependent) {
			((ContextWrapperDependent) bootstrap).onCreate(contextWrapper_);
		}
	}
}
 

开发者ID:jrieke,
项目名称:ioiometer,
代码行数:8,
代码来源:AndroidIOIOConnectionManager.java

示例7: destroy

点赞 2

import ioio.lib.spi.IOIOConnectionBootstrap; //导入依赖的package包/类
public void destroy() {
	for (IOIOConnectionBootstrap bootstrap : bootstraps_) {
		if (bootstrap instanceof ContextWrapperDependent) {
			((ContextWrapperDependent) bootstrap).onDestroy();
		}
	}
}
 

开发者ID:jrieke,
项目名称:ioiometer,
代码行数:8,
代码来源:AndroidIOIOConnectionManager.java

示例8: start

点赞 2

import ioio.lib.spi.IOIOConnectionBootstrap; //导入依赖的package包/类
@Override
public void start() {
	for (IOIOConnectionBootstrap bootstrap : bootstraps_) {
		if (bootstrap instanceof ContextWrapperDependent) {
			((ContextWrapperDependent) bootstrap).open();
		}
	}
	super.start();
}
 

开发者ID:jrieke,
项目名称:ioiometer,
代码行数:10,
代码来源:AndroidIOIOConnectionManager.java

示例9: stop

点赞 2

import ioio.lib.spi.IOIOConnectionBootstrap; //导入依赖的package包/类
@Override
public void stop() {
	super.stop();
	for (IOIOConnectionBootstrap bootstrap : bootstraps_) {
		if (bootstrap instanceof ContextWrapperDependent) {
			((ContextWrapperDependent) bootstrap).close();
		}
	}
}
 

开发者ID:jrieke,
项目名称:ioiometer,
代码行数:10,
代码来源:AndroidIOIOConnectionManager.java

示例10: restart

点赞 2

import ioio.lib.spi.IOIOConnectionBootstrap; //导入依赖的package包/类
public void restart() {
	for (IOIOConnectionBootstrap bootstrap : bootstraps_) {
		if (bootstrap instanceof ContextWrapperDependent) {
			((ContextWrapperDependent) bootstrap).reopen();
		}
	}
}
 

开发者ID:jrieke,
项目名称:ioiometer,
代码行数:8,
代码来源:AndroidIOIOConnectionManager.java

示例11: onCreate

点赞 2

import ioio.lib.spi.IOIOConnectionBootstrap; //导入依赖的package包/类
/**
 * Subclasses should call this method from their own onCreate() if
 * overloaded. It takes care of connecting with the IOIO.
 */
@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    for (IOIOConnectionBootstrap bootstrap : bootstraps_) {
        if (bootstrap instanceof ContextWrapperDependent) {
            ((ContextWrapperDependent) bootstrap).onCreate(this);
        }
    }
}
 

开发者ID:flyver,
项目名称:Flyver-Apps,
代码行数:14,
代码来源:AbstractIOIOActivity.java

示例12: onDestroy

点赞 2

import ioio.lib.spi.IOIOConnectionBootstrap; //导入依赖的package包/类
/**
 * Subclasses should call this method from their own onDestroy() if
 * overloaded. It takes care of connecting with the IOIO.
 */
@Override
protected void onDestroy() {
    for (IOIOConnectionBootstrap bootstrap : bootstraps_) {
        if (bootstrap instanceof ContextWrapperDependent) {
            ((ContextWrapperDependent) bootstrap).onDestroy();
        }
    }
    super.onDestroy();
}
 

开发者ID:flyver,
项目名称:Flyver-Apps,
代码行数:14,
代码来源:AbstractIOIOActivity.java

示例13: onStart

点赞 2

import ioio.lib.spi.IOIOConnectionBootstrap; //导入依赖的package包/类
/**
 * Subclasses should call this method from their own onStart() if
 * overloaded. It takes care of connecting with the IOIO.
 */
@Override
protected void onStart() {
    super.onStart();
    for (IOIOConnectionBootstrap bootstrap : bootstraps_) {
        if (bootstrap instanceof ContextWrapperDependent) {
            ((ContextWrapperDependent) bootstrap).open();
        }
    }
    createAllThreads();
    startAllThreads();
}
 

开发者ID:flyver,
项目名称:Flyver-Apps,
代码行数:16,
代码来源:AbstractIOIOActivity.java

示例14: onStop

点赞 2

import ioio.lib.spi.IOIOConnectionBootstrap; //导入依赖的package包/类
/**
 * Subclasses should call this method from their own onStop() if overloaded.
 * It takes care of disconnecting from the IOIO.
 */
@Override
protected void onStop() {
    abortAllThreads();
    try {
        joinAllThreads();
    } catch (InterruptedException e) {
    }
    for (IOIOConnectionBootstrap bootstrap : bootstraps_) {
        if (bootstrap instanceof ContextWrapperDependent) {
            ((ContextWrapperDependent) bootstrap).close();
        }
    }
    super.onStop();
}
 

开发者ID:flyver,
项目名称:Flyver-Apps,
代码行数:19,
代码来源:AbstractIOIOActivity.java

示例15: onNewIntent

点赞 2

import ioio.lib.spi.IOIOConnectionBootstrap; //导入依赖的package包/类
@Override
protected void onNewIntent(Intent intent) {
    super.onNewIntent(intent);
    if ((intent.getFlags() & Intent.FLAG_ACTIVITY_NEW_TASK) != 0) {
        for (IOIOConnectionBootstrap bootstrap : bootstraps_) {
            if (bootstrap instanceof ContextWrapperDependent) {
                ((ContextWrapperDependent) bootstrap).open();
            }
        }
    }
}
 

开发者ID:flyver,
项目名称:Flyver-Apps,
代码行数:12,
代码来源:AbstractIOIOActivity.java

示例16: create

点赞 2

import ioio.lib.spi.IOIOConnectionBootstrap; //导入依赖的package包/类
public void create() {
    for (IOIOConnectionBootstrap bootstrap : bootstraps_) {
        if (bootstrap instanceof ContextWrapperDependent) {
            ((ContextWrapperDependent) bootstrap).onCreate(contextWrapper_);
        }
    }
}
 

开发者ID:flyver,
项目名称:Flyver-Apps,
代码行数:8,
代码来源:AndroidIOIOConnectionManager.java

示例17: destroy

点赞 2

import ioio.lib.spi.IOIOConnectionBootstrap; //导入依赖的package包/类
public void destroy() {
    for (IOIOConnectionBootstrap bootstrap : bootstraps_) {
        if (bootstrap instanceof ContextWrapperDependent) {
            ((ContextWrapperDependent) bootstrap).onDestroy();
        }
    }
}
 

开发者ID:flyver,
项目名称:Flyver-Apps,
代码行数:8,
代码来源:AndroidIOIOConnectionManager.java

示例18: start

点赞 2

import ioio.lib.spi.IOIOConnectionBootstrap; //导入依赖的package包/类
@Override
public void start() {
    for (IOIOConnectionBootstrap bootstrap : bootstraps_) {
        if (bootstrap instanceof ContextWrapperDependent) {
            ((ContextWrapperDependent) bootstrap).open();
        }
    }
    super.start();
}
 

开发者ID:flyver,
项目名称:Flyver-Apps,
代码行数:10,
代码来源:AndroidIOIOConnectionManager.java

示例19: stop

点赞 2

import ioio.lib.spi.IOIOConnectionBootstrap; //导入依赖的package包/类
@Override
public void stop() {
    super.stop();
    for (IOIOConnectionBootstrap bootstrap : bootstraps_) {
        if (bootstrap instanceof ContextWrapperDependent) {
            ((ContextWrapperDependent) bootstrap).close();
        }
    }
}
 

开发者ID:flyver,
项目名称:Flyver-Apps,
代码行数:10,
代码来源:AndroidIOIOConnectionManager.java

示例20: restart

点赞 2

import ioio.lib.spi.IOIOConnectionBootstrap; //导入依赖的package包/类
public void restart() {
    for (IOIOConnectionBootstrap bootstrap : bootstraps_) {
        if (bootstrap instanceof ContextWrapperDependent) {
            ((ContextWrapperDependent) bootstrap).reopen();
        }
    }
}
 

开发者ID:flyver,
项目名称:Flyver-Apps,
代码行数:8,
代码来源:AndroidIOIOConnectionManager.java


版权声明:本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系管理员进行删除。
喜欢 (0)