WSDL2OBJC for Android? - android

I have been using Wsdl2Objc to generate proxy's for my web services to use during IPhone dev....it works GREAT!
I now need a version similar to it, that will generate Java code, the same way.
Any ideas?
Thanks

There exists wsdltoksoap which can be used to interface with the ksoap2 android library.
I have been having problems with the application, however. It is getting a null pointer exception on my particular WSDL, but it has worked for others
http://code.google.com/p/wsdltoksoap/

Related

Why is android looking for RNCGeolocation when I use react-native-geolocation-service?

Trying to get an android version of a react-native 0.61.2 app running...
The app intends to use react-native-geolocation-service but can not get past this error:
"Error: #react-native-community/geolocation: NativeModule.RNCGeolocation is null."
I understand that react-native-geolocation-service uses #react-native-community/geolocation on iOS but this is android. I have searched the entire project for the string RNCGeolocation and it's not there. How can I get running with react-native-geolocation-service on android?
For anyone dealing with this, i've tried every solution out there and still didn't work. I found that Geolocation uses a native location api (ou native module), and sometimes the problem is that the api seems not to be "there". So I installed react-native-location, that seems to provide (some of the same?) functions of that native api and, after that, I installed and was able to use #react-native-community/geolocation.
Hope it helps :)

How to set DiscoveryLookupBinding.url in onvif RemoteDiscovery

I'm trying to develop an Android APP to discover and access onvif cameras under VS2017 and Xamarin.
By 'Add Web Reference', I added Web Reference of DeviceMgmt and RemoteDiscovery of onvif website.
For generated DeviceMgmt code, there is DeviceBinding class and when I set its url to e.g.
"http://192.168.0.22/onvif/device_service",
all functions like GetCapabilities() and GetDeviceInformation() can work.
For generated RemoteDiscovery code, I noticed there is DiscoveryLookupBinding class, but don't know how to set its url to call Probe().
I tried "239.255.255.250", but it's invalid.
If anybody has the related experience? Any ideas are appreciated, thanks.
For people who may be interested in.
Later for DeviceMgmt and Media services, I used Xamarin-generated references code.
But for Device Discovery, I created a Binding Library (Android) to still use my old java code. And it works well.

SocketIOClient on Xamarin doesn't work on real device

I'm trying to use SocketIOClient on Xamarin.Android and Xamarin.iOS, and it works corrrectly but only on imulators. When I start apps on real devices socket doesn't work and app just doesn't show any errors in try-catch blocks. May by anyone has same problem and fixed it. Thanks.
Did you use this library SocketIoClientDotNet. If yes, I also have your problem on iOS. My solution is get the SocketIoClientDotNet code and rebuild in my xamarin project.
Checkout my demo here:
https://github.com/tudushare/XamarinSocketIODemo

Chromecast & Air for Android Apps (AS3)

Anyone one know a simple way to use / intergrate a chromecast sender for my Air for Android Apps so they can cast directly to a TV.
I've done a few successful tests on webpages.
but as for intergrating the code into an entirely AS3 project, I don't know were to begin? and I can't seem to find any docs on how to do this.
Thank you in advance for your help.
There in an Air Native Extension that handles this: ANE-Chromecast on Github
The ANE on Github is not a solution (line 19 of AirCast.as specifically excludes Android).
More fundamentally, even after re-engineering the ANE to get around the original block, it is currently not possible to get a reference to android.os.Bundle (which is required) as the class is not reachable, no matter how many SDK jars you build into the ANE.
Until there is a means to get the bundle, then this call will always fail:
CastDevice mSelectedDevice = CastDevice.getFromBundle(route.getExtras());
With:
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/cast/CastDevice;
But if anybody can get around this, please let me know as I would dearly like to get there...

Where is ProperyLoader class?

I attempted to follow and old tutorial for Sending E-mail with Amazon SES Using the AWS SDK for Android here:
https://developer.amazon.com/post/TxEUZC89WLEC2Z/Sending-E-mail-with-Amazon-SES-Using-the-AWS-SDK-for-Android.html
I am having a little trouble however. PropertyLoader cannot be resolved. What jar library is this a part of? I have tried importing all of the jar libraries from the SDK into my Eclipse project. (http://aws.amazon.com/mobile/sdk/).
I also get an error on this line: SendEmailResult result = clientManager.ses().sendEmail(request); I am guessing there is another class called ClientManager to set this up with in which I am also not able to find.
Any thoughts or links would be helpful. Thanks.
From the tutorial it looks like it follows a sample. Doing a quick Google search finds me this page.
I imagine the clientManager stuff is also there.
Note that the post is very old so I'm not even sure it still works with the current version of the SDK

Categories

Resources