2 Replies Latest reply on Oct 4, 2018 6:52 AM by Patrick Cromie

    ProfileManager persisting through OnPause and OnResume

    Patrick Cromie

      I am having a bit of a problem with ProfileManager and the way it persists through the activity lifecycle. I have a simple application on the TC8000 that uses a webview object that hits a website that is hosted by our company. The profile is simply allowing the scanner object to act as a datawedge to the webview. It also adds a tab after a scan takes place to move the cursor to the next textview inside the webview. The problem that I am facing is that when the program gets sent to the background, it loses the profile and no longer adds the tab after the scan. I have tried to reapply the profile in the onResume of the application but it doesn't seem to take effect. Is there some trick that I am not understanding?