how can i use third jar in android ? and this jar have a view, i want to use map sdk (not google) ,how can i use it ?
Hi @minjunlan,
Thank you for your interest in NativeScirpt.
To be able to use JAR file in NativeScript project, you should expose the needed features. Regarding to that you could create your own UI Plugin. For further help you could read the NativeScript docs on how to do data marshaling and using the android runtime. Then you could read more on what is Android Plugins Infrastructure and how to create UI Plugin in the below-attached articles.
Creating a plugin using third party code.
Regarding to the topic, you could also use nativescript-mapbox instead of nativescript-google-maps-sdk and nativescript-googlemaps.
Hope this helps
@tsonevn thank you very much , i make my ui plugin . nativescript is very nice , i can use html technology quickly Design UI .
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
Hi @minjunlan,
Thank you for your interest in NativeScirpt.
To be able to use JAR file in NativeScript project, you should expose the needed features. Regarding to that you could create your own UI Plugin. For further help you could read the NativeScript docs on how to do data marshaling and using the android runtime. Then you could read more on what is Android Plugins Infrastructure and how to create UI Plugin in the below-attached articles.
UI Plugin
Creating a plugin using third party code.
Regarding to the topic, you could also use nativescript-mapbox instead of nativescript-google-maps-sdk and nativescript-googlemaps.
Hope this helps