I have an issue when the keyboard is popping up upon resume. I would like to lower it, and so I use the resume event and... it doesn't work.
Do I misunderstand this event? That it should, but doesn't, fire upon resuming the app? Should I use the focus or start event instead? There is not documentation regarding the events listed.
//last try to swat keyboard up bug //throwing everything we've got at it $.index.addEventListener( 'open', function(){ Ti.UI.Android.hideSoftKeyboard(); Ti.App.fireEvent( 'app:forms:blur' ); //trying to swat a keyboard up bug at open } ); Ti.Android.currentActivity.addEventListener( 'resume', function(){ Ti.API.info( 'RUNNING RESUME TO BLUR' ); Ti.UI.Android.hideSoftKeyboard(); Ti.App.fireEvent( 'app:forms:blur' ); //trying to swat a keyboard up bug at open } ); //ditto on keyboard up bug $.index.addEventListener( 'start', function(){ Ti.API.info( '##########start activity event##########' ); Ti.Android.currentActivity.setRequestedOrientation( Ti.Android.SCREEN_ORIENTATION_PORTRAIT ); Ti.App.fireEvent( 'app:forms:clear' ); Ti.UI.Android.hideSoftKeyboard(); } );