I'm trying to create in Xamarin Android the Jitsi Bindings Library. I've got all the dependecies aar (66 items) by following this guide:
https://jitsi.github.io/handbook/docs/dev-guide/dev-guide-android-sdk
(Maven repository https://github.com/jitsi/jitsi-maven-repository/raw/master/releases)
And this is the result so far: it is missing JitsiMeetActivity
Any help? Thanks
to generate the JitsiMeetActivity class, add the 'XamarinLibrary.Xamarin.Android.Facebook.React.ReactNative' nuget to the binding project and rebuild it.
I have the same issue..
It seems that the binding process misses all the classes that extend from a base class...
as an example try also looking for the JitsiMeetActivityInterface interface definition, its a really simple class but its also missing from the binding process as well as a few others.
Happy to work with you on this too if you like.
Related
The above part is me trying to use the FuelManager class that I have implemented.
These are my implementations in my gradle file.
I am trying to make a dialogflow chat in my android app. I have followed this tutorial, https://code.tutsplus.com/tutorials/create-a-conversational-interface-for-android-with-dialogflow--cms-30845, but I seem to lose my way through the tutorial. I'm a beginner and I am not to used to using android studio and kotlin itself, please help. Thank You.
As mentioned in the docs Fuel's android package does not comes packed with the core package
Add the core package to your build.gradle file, and get the latest version 2.2.2 of both the library:
implementation 'com.github.kittinunf.fuel:fuel:2.2.2'
implementation 'com.github.kittinunf.fuel:fuel-android:2.2.2'
I’m trying to add Realm to Xamarin project.
Project contain two platform-specific projects (Android and iOS) and PCL (.NET framework).
I can successfully add realm separately to each platform, but when I’m trying to move my code to PCL, I have an error “Fody not properly installed. PCLNamespace.MyRealmObject is a RealmObject but has not been woven.”.
I added NuGet Realm package to each project and PCL.
I tried Realm documentation FAQ “Failing to Weave”
and most of solutions from similar issue "Xamarin android Crash"
Non of that helped.
Finally I found what was blocking PCL to use realm. I’m posting an answer for those who would come across similar issue.
When I created new PCL I could add and use Realm without any errors. Making a diff of both PCLs give me an answer; faulty PCL had Microsoft.Bcl.Build packages, and when I delated it from project packages (via Xamarin Studio) that fix an issue.
Although I fix my issue, I’m not understanding how packages could block functionality of the other, so if somebody know an answer for that I would appreciate a comment:)
Thanks
Is your shared project a Shared Project or a PCL?
If it is a PCL, you also need to add the Realm NuGet to the PCL.
I have created an Android Project and a Library Project and added the library to the main project by following the steps in android developers website. I also created a class (SpecificOperations.java) in the library project.
Now, I need to know how to import and call a function from SpecificOperations.java, in my main app. As an assumption: I want to call takeTheCube(int i) function from this class. Thanks for help!
SOLVED! Thanks for replies, I solved the issue through this article.
I'm new to Android and OpenCV, and I try to follow this simple tutorial. I got stuck at implementation of CvViewFrameListener2 interface:
Defines that your activity implements CvViewFrameListener2 interface and fix activity related errors by defining missed methods.
Eclipse shows an error, that the CvFrameListener2 cannot be resolved to a type. It seems like this interface doesn't exist in the library.
I load OpenCV4Android version 2.4.5. Can anybody help me?
I m sure this is late. But I faced this problem too, here my workaround
make sure you have imported the openCV sdk as a library project and linked to your project.
Hope this help
also I used this project from github for face recognition face recognition
and this link to download OpenCV 2.4.6 android sdk
http://sourceforge.net/projects/opencvlibrary/files/opencv-android/2.4.6/OpenCV-2.4.6-android-sdk-r2.zip/download
When trying to define a rest template using the #Rest annotation, and when providing one or more "converters" in that annotation, I receive the following compile error:
The converter class must be a subtype of org.springframework.http.converter.HttpMessageConverter
When, in fact, I have tried to pass in GsonHttpMessageConverter.class and MappingJacksonHttpMessageConverter.class which are both such subtypes.
I have the following libraries included in my /libs directory
androidannotations-api-2.7.1.jar
gson-2.2.4.jar
jackson-core-asl-1.9.12.jar
jackson-mapper-asl-1.9.12.jar
spring-android-auth-1.0.1.RELEASE.jar
spring-android-core-1.0.1.RELEASE.jar
spring-android-rest-template-1.0.1.RELEASE.jar
I'm not sure if this is an issue with AndroidAnnotations or with my own setup, but help would be appreciated.
I had the same problem but I solved it. Only change my Eclipse. I was using Helios with Android Development Toolkit
Now I dowload The Android SDK than includes Eclipse + ADT plugin. Use my old workspace with my proyect and all work fine!!!.
Hello its too late for answer but could be helpfull for others also who are searching for the same use Below code snippets for your problem:-
#Rest(rootUrl = BASE_URL, converters = {ByteArrayHttpMessageConverter.class,
FormHttpMessageConverter.class, StringHttpMessageConverter.class})
it is working for image as well and string params as well