Hi,

I am trying to use OSMAND AIDL API to integrate into my application and 
disable certain navigation draweer menu items as described using the below 
link through setCustomization()):
https://github.com/osmandapp/osmand-api-demo

I am using the OsmAndAidlHelper.java class (obtained from: 
https://github.com/osmandapp/osmand-api-demo/blob/master/app/src/main/java/net/osmand/osmandapidemo/OsmAndAidlHelper.java)
 
as it has setCustomization() method to customize the navigation drawer menu 
items.

However when using the above file I am unable to resolve packages under 
net.osmand.aidlapi.*

In my gradle file I am referencing the OSMAND Core AAR as shown below:
 
 repositories {
    maven { url "https://jitpack.io"; }
    maven { url "https://maven.google.com"; }
    //mavenCentral()
    maven {
        url 'https://oss.sonatype.org/content/repositories/snapshots/'
        name 'OSS-Sonatype'
    }
    ivy {
        name = "OsmAndBinariesIvy"
        url = "http://builder.osmand.net";
        layout "pattern" , {
            artifact 
"ivy/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"
        }
    }
}

implementation "net.osmand:OsmAndCore_android:0.1-SNAPSHOT@aar"


Could you please let me know how I can import the AIDL API (the namespace 
net.osmand.aidlapi.*) into my project.

Many Thanks

Regards,
Rahul

-- 
You received this message because you are subscribed to the Google Groups 
"OsmAnd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osmand/bab8e5d5-4908-44c3-b8e0-a2a1f6549a1e%40googlegroups.com.

Reply via email to