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:
- user clicks on url
- mobile browser opens url
- user touches button
- 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
Post a Comment