I'm planning to integrate RPC via JSON-RPC in my Flex applications. I've searched around the net and already found librarys for calling remote methods, but I also need to offer methods myself. None of the libs I found seemed to have this functionality.
Are there any ActionScript librarys out there which let met offer methods via JSON-RPC?
Kind regards,
Markus
If you are using playerGlobal version 10 or above than it is automatically incuded and you can directly call JSON.encode or JSON.decode methods. for PlayerGlobal version below 10, you can look for AS3CoreLib.
Related
I'm having issues using the JsonConver.SerializeObject function to serialize a string when using Unity IL2CPP scripting backend. My understanding is that since JsonConvert uses reflection IL2CPP cannot use this function because it is pre-compiled. I'm also using the Holotoolkit which uses the Newtonsoft.dll so I don't believe using the JSON .NET for Unity package is feasible as it will conflict with the Newtonsoft.dll
Anyone run into this or have any suggestions on how to resolve?
I got this to work by deleting the Newtonsoft.dll in the Holotoolkit directory structure as well as the GLTFSerialization.dll that references the Newtonsoft.dll. Then, since I'm coding for the Hololens I was able to comment out all code that referenced the GLTFSerialization.dll. Then I installed JSON for .NET Unity asset from the Unity asset store and all in life is good again.
I believe all of the code that references the GLTFSerialization.dll is used only for Mixed Reality device development so if you are developing for MR this solution may not work and you may want to look into using the extern aliasing method.
Does dart support es6 Proxy? I couldnt find the information in the official documentation. Even searching in google didnt give me any results.
The reason im asking:
Im trying to detect when a certain property changes. Similar to C# INotifyPropertyChanged.
https://msdn.microsoft.com/en-us/library/system.componentmodel.inotifypropertychanged(v=vs.110).aspx
The short answer: not directly.
As Gunter mentioned, the observable package can be used to accomplish things that look like INotifyPropertyChanged from .NET.
Right now I'm using Corona SDK so I have experience with LUA but I need to implement some features in Java but I would still like to use LUA as the "main" language. Is this possible in Cocos2d-x?
Another question is if native objects will always be on top as in Corona SDK? Maybe this is not a Corona specific problem, but maybe a thing with the devices?
there is a javascript binding and Lua binding but no java check alternative game engine for java like Slick2D
I'm trying to create a cross platform application using MVVMCross and portable class libraries, which interacts with an api and displays some data asynchronously.
Currently I am trying to generate a SHA512 hash value for a sign key that will be sent along to the api.
I am not exactly sure how I can implement the cryptology portion. I have tried using the SHA512 class, however it appears to be unavailable. I tried manually adding a reference to System.Security.Cryptology which didn't help.
I also tried additional packages on nuget such as SharpCrypt to see if they would help generate a hash value, however I see the error "the type or namespace name 'CryptSharp' could not be found" after adding the package from nuget.
I am targeting:
.Net Framework 4.5+
Windows Store apps
Silver light 5
Windows Phone 8
I'm quite a beginner so maybe I am missing something extremely obvious, any help or examples would be much appreciated.
Thanks!
I believe some of the crypto classes may also be available portably using the PCLContrib project - http://pclcontrib.codeplex.com - but I don't think this is yet available beyond Windows.
Where functionality isn't available portably, you can inject implementations into portable class libraries via an interface from each UI platform:
there's an example of this in the first part of N=31 in http://mvvmcross.blogspot.co.uk
there's a full introduction to MvvmCross dependency injection in https://github.com/MvvmCross/MvvmCross/wiki/Service-Location-and-Inversion-of-Control
I would like to send and receive OpenSoundControl in an AIR application, on the opensoundcontrol.org website I have found existing libraries for many languages, but none for Action Script so far, do you know of one that could be readily used?
Tuio AS3 has nice classes for OSC. Check this example http://bubblebird.at/tuioflash/guides/sending-osc/