This repository has been archived by the owner on Aug 31, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[[ Bug 22950 ]] Add StartActivityForResult to Android Utils
This patch adds new handler to facilitate starting activities by Intent and handling results. The `StartActivityForResult` handler registers a listener to handle the `onActivityResult` method of the engine activity and when handled calls a callback handler with the request code, result code and Intent object.
- Loading branch information
1 parent
80fd3c6
commit 15ae24b
Showing
2 changed files
with
153 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Starting Activities and Handling Results | ||
|
||
A new handler has been added to facilitate starting activities by Intent and | ||
handling results. The `StartActivityForResult` handler registers a listener to | ||
handle the `onActivityResult` method of the engine activity and when handled | ||
calls a callback handler with the request code, result code and Intent object. |