Android Question B4XPages and Oauth2


Licensed User
Longtime User
Hi. I'm sure I'm missing something, but, at the same time, hope someone can help me.

For a project I'm working on, I'm trying to combine two example programs: Google Contacts and the B4XPages' Three Pages Example. I have Oauth2 working in the contacts program, both with the example People API and Google Sheets API. And, I've gotten the Three Pages program working. However, I'm having trouble getting the Oauth2 access token while using the Three Pages program while it works perfectly in the Contacts app.

I have tried putting the code in Main, B4XMainPage, etc. with no success. Can someone post some code or tips so I can move forward past this?

Thanks in advance!