Teriblus
Teriblus

Reputation: 719

Initialize SDK with licence programmatically

In here SDK 3.4 release note, we can read: "Applications can now dynamically initialize the HERE Android SDK with a license key rather than hard coding the license key in the application's Android manifest file."

This is a nice addition, but I can't find documentation. The current doc regarding authentication is only presenting the old manifest.xml way (https://developer.here.com/documentation/android-premium/topics/credentials.html)

Can you point me out to some relevant documentation?

Upvotes: 0

Views: 148

Answers (1)

David Leong
David Leong

Reputation: 1762

Create an ApplicationContext object to set the appid, appcode and permission key. After that, use the new MapEngine#init(ApplicationContext, OnEngineInitListener) instead.

Upvotes: 2

Related Questions