Code example for LocalActivityManager

Methods: getCurrentActivity

0
		// TODO Auto-generated method stub 
		PublicMethod.myOutput("--->>ScrollableTabActivity key:" 
				+ String.valueOf(keyCode));
		switch (keyCode) {
		case 4: { 
			activityManager.getCurrentActivity().onKeyDown(0x12345678, event); // ÖÜÀèÃù
			// 7.8 
			// ´úÂëÐ޸ģºÌí¼ÓÌØÊâÖµ£¬À´Çø·ÖonKeyDown 
			// activityManager.saveInstanceState() 
			break; 
		} 
		} 
		// return super.onKeyDown(keyCode, event); 
		return true; 
	} 
 
	public void startMarquee() { 
		// 20100712 delete fyj 
		// TnoticeInterface tnotice=new TnoticeInterface(); 
		// String news=tnotice.Tnotice(); 
		// 2010.1.17