Creating datawedge profiles in activities different than "Main"

A Adam Lamarz 3 years ago
0 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

V Vedsatx Saddvv

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?