locked
Xamarin Android and Xamarin iOS RRS feed

  • Question

  • User132845 posted

    I am working on xamairn project now I have to implement SurveyMonkey SDK in android and iOS both but there is no such tool in xamairn .I have tried but did not get succeed. Can anyone help me and create a binding library for of survey monkey sdk for Xamarin android and Xamarin iOS.

    Sunday, April 2, 2017 3:23 PM

Answers

  • User165137 posted

    I saw another post from Resham about this on a different forum and decided to help him out. In case anyone else is looking for Survey Monkey binding projects, they can be found here:

    https://github.com/curtisshipley/BlueMonkey

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Wednesday, April 5, 2017 4:19 AM

All replies

  • User76916 posted

    SurveyMonkey don't have a pre-compiled library that I can find, hence you will need XCode and Android Studio. Download the code from Survey Monkey SDK GitHub repos, then compile them into your own native library.

    Once you have done that you can add them into your project. iOS has a Add Native Reference, when you right click the project. Android you add it to a folder call libs, with a sub folder of the architecture it was compiled for. e.g. x86, armeabi, armeabi-v7a etc.

    Then you are going to have to bind each method you want to use manually, with p/invoke. Below are the guides that will get you started on that.

    iOS: https://developer.xamarin.com/guides/ios/advancedtopics/nativeinterop/ Android: https://developer.xamarin.com/guides/android/advancedtopics/usingnative_libraries/

    It's similar to adding C++ libraries in .NET, if you have ever done that before. I'm not going to lie though, its not an easy process, especially if you haven't done it before.

    Depending upon the scope and functionality, if SurveyMonkey has an API, you may want to just talk directly to their API and ignore their SDK altogether. Sometimes its a quicker and easier process.

    Monday, April 3, 2017 5:11 AM
  • User132845 posted

    Can't I use this jar file

    https://github.com/SurveyMonkey/surveymonkey-android-sdk/releases

    Monday, April 3, 2017 5:33 AM
  • User165137 posted

    I saw another post from Resham about this on a different forum and decided to help him out. In case anyone else is looking for Survey Monkey binding projects, they can be found here:

    https://github.com/curtisshipley/BlueMonkey

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Wednesday, April 5, 2017 4:19 AM
  • User132845 posted

    @Curtis Shipley your solution did what I need. Thank you.

    Wednesday, April 5, 2017 8:55 AM
  • User189914 posted

    not working https://github.com/curtisshipley/BlueMonkey

    @Rix_Kadel find any solutio. Please share if find any solution. Thanks

    Saturday, July 15, 2017 5:57 AM
  • User164937 posted

    If you want to implement the Survey Monkey, you can use webview to show the survey, No need of SDK. Even Sdk also shows the survey in webview only. There is no Dot net based SDK to implement in Xamarin forms with our custum UI.

    Thursday, September 7, 2017 9:22 PM