9 Replies Latest reply on Nov 6, 2018 1:23 AM by Adam Lamarz

    Creating datawedge profiles in activities different than "Main"

    Adam Lamarz

      Hello,
      I need to create couple profiles in my app.

      Runnig following code in activity different than "Main" always returns failure.

      EMDKResults results = mProfileManager.processProfile(profileName, ProfileManager.PROFILE_FLAG.SET, (String[]) null);
      if (results.statusCode == EMDKResults.STATUS_CODE.FAILURE) {

         Log.e("Main", "Failed to process profile " + results.getExtendedStatusMessage());
      }

       

      My question is how to create/update datawedge profile in activity other than "Main"?,

      Best regards,

      Adam