Hi.
I'm trying to show Google accounts using Erel's code from this post, exactly as is:
https://www.b4x.com/android/forum/t...e-java-accountpicker-to-b4a.89900/post-568622
... setting "Private ion as Object" in Process_Globals, adding also in the code the #AdditionalJar file indicated, but get the error "java.lang.RuntimeException: Method: startActivityForResult not matched."
I've seen on "Android Developers" page that this method is deprecated, and don't know if the error is related to it:
https://developers.google.com/android/reference/com/google/android/gms/common/AccountPicker#newChooseAccountIntent(com.google.android.gms.common.AccountPicker.AccountChooserOptions)
Also I wouldn't know how to set "AccountPicker.AccountChooserOptions" to implement the new method, because my Java knowledge is almost zero.
Any help, please?
I'm trying to show Google accounts using Erel's code from this post, exactly as is:
https://www.b4x.com/android/forum/t...e-java-accountpicker-to-b4a.89900/post-568622
... setting "Private ion as Object" in Process_Globals, adding also in the code the #AdditionalJar file indicated, but get the error "java.lang.RuntimeException: Method: startActivityForResult not matched."
I've seen on "Android Developers" page that this method is deprecated, and don't know if the error is related to it:
https://developers.google.com/android/reference/com/google/android/gms/common/AccountPicker#newChooseAccountIntent(com.google.android.gms.common.AccountPicker.AccountChooserOptions)
Also I wouldn't know how to set "AccountPicker.AccountChooserOptions" to implement the new method, because my Java knowledge is almost zero.
Any help, please?