android - How to detect from which app a user returned to your app? -


a user presses on url in app , url opens in mobile browser.

is possible detect in app when user returned mobile browser app?

many users read content of url , press return app.

test case:

  1. user clicks on url
  2. mobile browser opens url
  3. user touches button
  4. app detects user came app mobile browser

if did not explain well, please let me know.

i suggest launch url startactivityforresult. then, when user returns application onactivityresult called, , if requestcodes align know web browser.

for more information, take @ this: http://developer.android.com/reference/android/app/activity.html#startingactivities


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -