Support for onNewIntent

corwin42

Expert
Licensed User
Longtime User
I'm playing again with the Android search feature and it would be very helpful if B4A would support a new event Sub "Activity_NewIntent(newIntent as Intent)" when the onNewIntent() method of the activity is called.

With this it will be possible to receive the search string in the same activity the seach was initiated.

I think this will be easy to implement and won't have any drawbacks. Just an additional option.
 

corwin42

Expert
Licensed User
Longtime User
Ah, thank you. I just have seen that you call SetIntent() on onNewIntent(). Ok, this should be enough for my purposes.

Was the onNewIntent() implementation added in some later versions? Can't remember that I have ever seen it in the generated code.
 
Last edited:
Top