Search code examples
androidapiautocompletemapmyindia-api

Error in mapmyindia API


enter image description hereI am developing an application in which user search for places using Auto-suggest API of mapmyindia. But in the activity, I am not able to import License Manager. I have followed every step for setting up project guided by mapmyindia website.

demoapplication

import android.app.Application;

import com.mmi.LicenceManager;

public class DemoApplication extends Application {

@Override
public void onCreate() {
    super.onCreate();
    LicenceManager.getInstance().setRestAPIKey("");
    LicenceManager.getInstance().setMapSDKKey("");
}
}

Solution

  • OK, i figured it out, i did not added map jar file into libs folder that is why some of its feature were not working, i pasted the file from libs folder from mapmyindia SDK android project.