Creating datawedge profiles in activities different than "Main"

A Adam Lamarz 3 years 6 months ago
2 1 0

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

Please Register or Login to post a reply

1 Replies

Y Yanis Dalabiras

Hi Adam,

I suspect the answer to your question is that you need to re-acquire the EMDK instance in the different activity.

More widely, the profiles for configuring Datawedge have been deprecated - you may find the following post interesting as it goes through the new mechanism which will work without EMDK: , though this does require DataWedge version 6.4 or higher.

CONTACT
Can’t find what you’re looking for?