Source/CSBackend/Platform/Android/Main/Java/com/chilliworks/chillisource/input/TextEntryNativeInterface.java
/**
	 * Activate text entry. This will display the soft keyboard if required
	 * 
	 * @author S Downie
	 */
Activate text entry. This will display the soft keyboard if required

@author S Downie
Activate text entry . This will display the soft keyboard if required @author S Downie
public void activate()
	{
		Runnable task = new Runnable() 
		{
			@Override public void run() 
			{
				CSApplication.get().addView(m_textEntryView);
				m_textEntryView.requestFocus();
				m_textEntryView.setSelection(m_textEntryView.getText().length());
				InputMethodManager imm = (InputMethodManager)CSApplication.get().getAppContext().getSystemService(Context.INPUT_METHOD_SERVICE);
				imm.showSoftInput(m_textEntryView, InputMethodManager.SHOW_IMPLICIT);
			}
		};
		CSApplication.get().scheduleUIThreadTask(task);
	}
public void activate ( ) { Runnable task = new Runnable ( ) { @ Override public void run ( ) { CSApplication . get ( ) . addView ( m_textEntryView ) ; m_textEntryView . requestFocus ( ) ; m_textEntryView . setSelection ( m_textEntryView . getText ( ) . length ( ) ) ; InputMethodManager imm = ( InputMethodManager ) CSApplication . get ( ) . getAppContext ( ) . getSystemService ( Context . INPUT_METHOD_SERVICE ) ; imm . showSoftInput ( m_textEntryView , InputMethodManager . SHOW_IMPLICIT ) ; } } ; CSApplication . get ( ) . scheduleUIThreadTask ( task ) ; }
Activate text entry.
Activate text entry .