The application uses a custom class "ClassAddress".
B4X:
Type ClassAddress(addr,city,state,postcode,country,phon,email,fax,www As String)
This class is used in several Activities.
I made a test example with two Activities, which I am attaching.
When receiving the EditText focus, as well as when the EnterPressed event occurs, the results in these Activities are different. I racked my brains, but I did not find a solution.
If you have a chance to see it, please correct my example.
I have found in the past that dealing with the IME under all circumstances can be frustrating as it can behave differently on different devices. You can see if this 'improved' IME2 library helps. The original IME API was, in my opinion, very badly designed although I think in recent Android versions it has been improved. If I was feeling better it would be a candidate for me to research and write a new library but unfortunately I am not in a position to do that at the moment.
I have been having a lot of trouble lately with layouts being corrupted when rotating a device with the soft keyboard open. The problem stems from trying to use the IME library HeightChanged event. Unfortunately Android provides no direct way to determine whether the soft keyboard is shown or...
It's not just for dealing with screen rotation. Have you expanded and read the 'From the XML for the IME2 library.' section in the first post for the library to see if there is anything relevant to your problem?