self hosted Analytics tool for AIR Applications? - actionscript-3

We are developping an AIR Application that is used within our company VPN. The clients are not always connected to the network while they are in use (there are desktop clients as well as iOS clients). Now we want to add analytics functionality to get statistics of number of installations, frequency of use of certain features and so on.
Because the clients are not always connected to the network, the solution should feature offline tracking of events, which are then sent to the tracking server once a connection to the server can be established.
AppAnalytics (http://www.appanalyticshq.com/features/) offers exactly what we need, but it aparently it's not self-hosted. Because of strict security policies, the clients in our VPN are not allowed to up or download anything to/from the internet - therefore we look for something that can be hosted on a server within our VPN.
Does anyone know a good solution for this scenario?

Related

What is the difference between a Native Application & Server Application when talking about ADFS Application Groups?

I'm new to Federation Services and I'm trying to understand how ADFS works as a whole and I've started to get down into the details. I followed along with creating an app using OIDC to authenticate a user, however, within the tutorial, they specified using a "Server Application" when setting up an Application Group. This ended up not working for me so I tried setting up a "Native Application" application group for kicks and was able to successfully login.
The thing that threw me off is, I ended up hosting ADFS on a server outside of the domain in which I had my application running, so I'm confused as to how that is "native" in terms of ADFS.
I went looking for this answer within microsoft's documentation but I didn't find the information very clear.
Native Application:
"Sometimes called a public client, this is intended to be a client app that runs on a pc or device and with which the user interacts."
Server Application:
"A web application that runs on a server and is generally accessible to users via a browser. Because it is capable of maintaining its own client 'secret' or credential, it is sometimes called a confidential client."
This may seem simple to some, but I'm trying to really get a grip on what would be used when. To me it sounds like a native application is used when you're running the application natively on a pc in which the user is also using the same pc, and the server application is run remotely in which the user would not be using the same machine. Is it really that simple or am I misunderstanding?
A native application (in Microsoft speak) is something that is not browser based e.g. mobile. The code runs client side. It may use JavaScript in which case the secret key is publicly accessible. (The secret key is one of the OAuth parameters). You use ADAL / MSAL to access it.
A server application runs server side e.g a web API. The secret key is not publicly accessible. You use OWIN to access it.
These terms have no relevance to where ADFS is actually installed. Native applications typically are not domain joined.

Use of RFB or RDP for a single GUI application

I’d like to be able to create a GUI that can be viewed over the network by a remote client.
One approach is to code the whole GUI in HTML5 and run it from a server such as Apache; the main difficulty with this is that the GUI includes at least one, sometimes two, windows containing live video streams (without any sound) and there doesn’t seem to be a good way of streaming live video into HTML5 - especially as it really needs to be live; a few seconds’ latency would be unacceptable.
Another approach (which I’ve done already, and actually works pretty well) is just to code the GUI as a desktop application (for example using Qt), and then to view the desktop remotely using VNC or Windows Remote Desktop. This gives the required responsiveness and lack-of-latency, but has the disadvantage that the whole OS desktop is accessible and not just my one application.
So, here is my question: is there a mechanism or a framework available that would enable me to use RFB (i.e. the protocol underlying VNC) or RDP (that underlying Windows Remote Desktop) to provide remote access to a single GUI application rather than a whole desktop?
When we comparing RDP and RFB the main deference is RDP only share metadata where RBF share whole frame buffer of the screen. So RBF is slow than RDP. VNC is using RFB where windows applications like Lync using RDP.
http://sandaruwmp.blogspot.com/2014/05/remote-desktop-application-with-rdp.html Here you can see a simple RDP example
Actually you can create an application that only shares a single application and also you can use many other protocols with RDP
here https://github.com/sandaru/RDAPP in this application it uses RDP with TCP that you can select only one application to show.
In this application it shares the desktop via RDP and listen to a TCP port you can send commands such as "stop selected processes", "Focus single application" and "share whole window". RDP react according to the TCP requests.
i hope this will be useful for you
NOTE: Above Source does not contain any NAT traverse mechanism.

Realtime p2p data sharing on Android/html5

I have a Wifi connection for several Android and PC devices without internet connectivity.
All of the devices need to collaboratively modify the same data (something like editing google docs file online for several users).
PCs work with pure HTML5 app, Androids with hybrid HTML5/native.
I need to create an effective way to synchronize the data in real time without having centralized server.
The date exchange has to be secure, so no unauthorized connections could read the shared data.
The only idea I got is to have some kind of UDP broadcast via sockets, but it's not possible with WebSockets for HTML5, so I have to figure out another solution. Maybe some peer to peer replication of DB or file sharing.
You can use adobe RTMFP channel to broadcast the data to multiple peers either over LAN or internet. It only needs the flash player installment on android & PC. Another alternative is webrtc but it requires broker server to establish the connection.

HTML files to a desktop Application?

me and my team are students and have created a game in HTML5, Javascript and CSS3 which we need for an organization that required the game to be packed into a single desktop application, that can be accessed even if there isn't a network connection.
My question is how to this, how to pack the game?
You need some sort of network connection in order to access this game from clients machines:
In internal network you have to install Web Server like Apache or nginx
and some kind of network connection between clients, it could be [LAN][3] or [Wireless LAN][4] network.

Server for mobile feed app (like Instagram, Twitter...)?

I've made a mobile native app with a feed system like Instagram/Twitter. In development mode I was just running a PHP/MySQL Apache local server, but now I need to publish the app and work with a real server. Which kind of server do I need? I just need to send http requests (JSON), loads of them!
Do I just need a hosting server like 1and1? (http://www.1and1.com/linux-web-hosting?__lf=Static)
But this one, it only has 1GB MySQL databases... not enough
Is there any kind of app/server whatever? Which kind of server does Instagram use?
These days lots of users are moving to the cloud.
Check out Amazon EC2: http://aws.amazon.com/ec2/
You can setup a micro instance server and it is very cheap to run tests on and get off the ground. Then if you like how it's running, you can simply upgrade to a more powerful server without having to re-install everything.
It also allows you to scale if your application gets really popular by just cloning the server.
Really worth checking out.