How can I get the currently displayed screen?
I'm working on an application which will automate messages, but I can't get the messages screen.
Currently I simply invoke messages
Code:
Invoke.invokeApplication(Invoke.APP_TYPE_MESSAGES, null)
and I thought I'd be able to get the application from the application manager, but I can't seem to do that.
ApplicationManager.getVisibleApplications() is returning a number of descriptors, but they all refer to my application's name with the same processId, yet the screen stack only has one screen (the one I originally created).
I've verified that I can InvokeEvents and the messages application responds, but I'd really like to be able to read fields from the screen. Do I need to invoke messages in a different manner or am I missing how to get this screen completely?