Code example for LocalActivityManager

Methods: getActivity

0
	@Override 
	public boolean onKeyDown(int keyCode, KeyEvent event) {
		// TODO Auto-generated method stub 
		// Log.d("mainactivity", manager.getActivity("FileList").getClass() 
		// .getName()); 
		if (manager.getActivity("FileList").getClass() == FileActivity.class
				&& currIndex == 0) {
			FileActivity activity = (FileActivity) manager
					.getActivity("FileList");
			activity.onKeyDown(keyCode, event);
 
		} 
		return true; 
 
	} 
 
	// Tab页面列表 
	private List<View> listViews;
	// 动画图片 
	private ImageView cursor;