Hi @mohammadomidvar,
What are the errors you are gettings? And did you check the documentation for binding libraries?
https://developer.xamarin.com/guides/android/advanced_topics/java_integration_overview/binding_a_java_library_(.jar)/
However for charts, I would recommoned OxyPlot. It is an opensource free library that you can use with Xamarin.
Without having to create bindings.
http://oxyplot.org/
Answers
Hi @mohammadomidvar,
What are the errors you are gettings? And did you check the documentation for binding libraries?
https://developer.xamarin.com/guides/android/advanced_topics/java_integration_overview/binding_a_java_library_(.jar)/
However for charts, I would recommoned OxyPlot. It is an opensource free library that you can use with Xamarin.
Without having to create bindings.
http://oxyplot.org/
Thanks for your reply!
I'll try oxyplot.
The error that I get is 'at least one input jar must be specified.'
@mohammadomidvar, for that error,
if using a ".jar" file, on the properties of the jar. Change the build type to "EmbedJar" or "InputJar"
if using a ".aar" file, on the properties of the aar. change the build type to "LibaryProjectZip"
However, for ".aar" files alot of things dont't seem to work well for binding. Check this thread:
http://forums.xamarin.com/discussion/41786/aar-bindings-tutorial-please#latest
I followed this https://developer.xamarin.com/guides/android/advanced_topics/java_integration_overview/binding_a_java_library_(.jar)/#Android_Library_Projects
But when I added the zip file and started building I got that error.
But what is the extension of the file? What is the Build Action for the file?
extension is .zip
build action is LibraryProjectZip
Now I'm testing Oxyplot and I can just say it is awesome.
Thank you so much @NicolasHotterbeekx .
Nice to hear you like OxyPlot
. Just to quickly respond for other people reading this thread. I don't think you can bind a ".zip" file. It should be either ".jar" or ".aar"