Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to listen port on Android app in the background? (receiving google auth token)
Forum Updated to NodeBB v4.3 + New Features

How to listen port on Android app in the background? (receiving google auth token)

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 565 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Amir Afendin
    wrote on last edited by
    #1

    Accordingly to this guide I built connection to google services in my app. Everything works great except one thing. When time comes to authorization, my app opens link in default browser. When I accept my login in browser, google should send me reply with token on specific address(localhost:8080/cb in my case), and after this redirects to a page with success message. In Desktop everything works exactly like that but when it comes to android my app goes backround(before it opens default browser) and don't listen to reply untill i open my app, and because of this google can't send me reply and looks bad(for user) with endless progress bar. How can i make my adroid app listen port for reply in background?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved