Corona sdk + xmpp - lua

Does anyone know if there is some XMPP library I could use in Corona SDK, to build Android and iOS apps? I thought about verse library. But I am not sure if it is possible to use it in Corona SDK?

Verse is not pure Lua, and nor is Prosody (which is less impure), as they rely on LuaSocket and other extensions. Lua doesn't come with built-in network functionality. Corona does in fact include LuaSocket, so I'm guessing you can get Prosody to work with some effort, but it's not drop-in-and-go.

Related

Deep Learning DJI Mavic Pro and Guidance SDK Programming Language

I would like to do some Deep Learning tests on the DJI Mavic Pro Drone, but before purchasing it I want to know which programming languages the Guidance SDK uses to develop this scripts and Is it possible to edit prewritten functions of this SDK?
I have been searching but I couldnĀ“t find any information about it, I know it is possible to program with ROS in Guidance SDK.
But let's say I have a python Script can I work with it using the mentioned SDK?
For example the Parrot 2.0 Power Drone Quadricopter Edition it is possible to edit its library and prewritten functions, here in GitHub you can see more information of some deep learning project applied to this drone: https://github.com/antriv/Object_Recognition_Drone. But I don't know if the DJI Mavic Pro or any DJI Drone allows this.
If someone has any idea or some website where I can find information it would be very helpful.
Guidance SDK is only for developing with the Guidance product: http://www.dji.com/guidance?site=developer
For Mavic, you can use the mobile SDK: http://developer.dji.com/mobile-sdk/
This will let you write any apps on either iOS or Android using respectively Objective-C/Swift or Java.

Implementing SIP for WebRTC on iOS

I am building an RTC iOS app client. I am using the google WebRTC iOS library. However, since WebRTC doesn't implement signalling I am searching for an easy way to implement a SIP stack at the signalling layer. I tried Pjsip but it didn't work:
First, I followed this Pjsip guide Integrating Third Party Media Stack into PJSUA-LIB but I didn't know how to proceed, especially that both projects have a big overlap (both implements NAT traversal and SDP). Also, the Pjsip is in C, WebRTC is in Obj-c and the whole app will be in Swift.
Second, I created two separate projects, one for Pjsip and one for WebRTC and both ran successfully on iOS. Then I tried to combine the two projects in one as a first step, but it turned out that both projects use libsrtp but different versions of it, the thing which caused conflicts and compiling errors.
I am not sure if Pjsip is really what I need, especially that WebRTC already has all the features I need except for SIP signalling. I would be thankful if anyone can guide me to how to proceed with Pjsip or give me another open-source easy to use SIP library.
Thanks.
You may want to use (and potentially contribute to) RestComm iOS SDK at https://github.com/Mobicents/restcomm-ios-sdk. It uses Sofia SIP Stack.
I found a nice open source SIP library with small footprint called libre.
I would consider a web sockets signaling.
Take a look here: https://github.com/muaz-khan/WebRTC-Experiment

Google Cardboard SDK for Augmented Reality?

Is it possible / a good choice to use Google Cardboard SDK to realise AR?I Only have found VR related things with that SDK. What is the best framework for AR? Is Vuforia a good way to go? Im trying to write an AR app (for Android) which detects/scans room numbers at my university and shows the schedule of this room (which class / time / which prof...)
Thanks for help!
Google Cardboard SDK is made for VR, hence not the best option for AR. There are SDKs built specifically for AR. Check out this comparison
There is an alpha version of DroidScript (JavaScript IDE for Android) available which supports augmented reality for Google Cardboard. There is also a sample on the DroidScript forum that demonstrates Aruco marker detection (Augmented reality). So I guess you could hack something together quite easily if you ask the developers for the latest version.
The latest version of vuforia can be integrated with Google cardboard.
Check this link:
https://developer.vuforia.com/library/articles/Solution/Integrating-Cardboard-SDK-050

Send data to windows from iphone using Xamarin

I'm trying to write an IOS app using Xamarin that sends data to PC using TCP. I want it to do this with Cable or WiFi. I have been researching around the net for sometime now. But couldn't find any good tutorials. I'am aware that I should be using NSNet and Bonjour Windows SDK but I couldn't find anything more than that. Any suggestions or directions on how to achieve this would be very helpful. Thanks in advance.
If you are using Xamarin then the more preferred choice would be to write things using System.Net.Sockets namespace. This way you can reuse the code with other C# clients, including Android (if needed).
Plenty of examples on TcpClient/TcpServer.
https://msdn.microsoft.com/en-us/library/vstudio/system.net.sockets.tcpclient(v=vs.110).aspx

Apart from Objective-C, which languages can I use when developing for Mac OS and iOS?

I want to start developing for Mac and iPhone. I'm familiar with Objective-C a little and found it pretty complicated. Besides, I'm not sure that it would be worthwhile to learn it.
So it is possible to develop for Mac/iOS without knowing Objective-C, what programming languages do I have to use then? C++, C?
I like Scala, Java, by the way.
You can use c and c++ but you can't make any application without using objective - c. Since you need to use native app controllers and libraries.
Also in starting you find it difficult to learn obj-c because of it's syntaxes but after using them you are going to love it. So don't be scared and learn obj-c.
You can use some frameworks (e.g aapcelerator, phone gap)
but they are unable to give result like native app.
There are many frameworks you can use, like Mono where you can use C# (http://xamarin.com/monotouch) or some frameworks with HTML5 (see Creating native iOS/Android apps from HTML5)
But at the end basic understanding of objective-c and it's architecture will help you.
Why not? !!
But for iOS Native Development, you should learn objective C.
And if you want to develop using any other languages, you should use some other frameworks.
Haven't you heard about Sencha, jqueryMobile ,monotouch etc?
Once you get the hang of it Objective-c is actually quite fun.
Download some iOS samples and step through the code, that will greatly help you.
Or just create an empty project like a "Master/Detail" tableview app and see how it works.

Resources