How to setup Backand real time communication is a Ionic2 app? - ionic2

I can't find any example on how to do this.
Thanks,
Guillaume

This one is for ionic, its broadcasting what the user sees on his device youtube app to a desktop browser

Related

How to start Hangouts from Glassware

I want to start Hangouts from my Glassware so that the user can make video call to any of his contacts in the Glass. I tried the giving the package name of the hangout app in an intent , but it did not work. If anybody has tried this before ,please do share.
Thanks
Starting a hangout from an intent isn't supported by the GDK. A feature request was filed in our issue tracker here; feel free to follow it so that you can be updated if anything changes!
I want to start Hangouts from my Glassware so that team can see what is out put is coming.
I did lots of RnD, then I come up with below solution
steps -
install myglass into mobile
install your apps in google glass
paired with glass with your mobile thr Bluetooth
start myglass apps and sync with glass
done
now start you application over the google glass, it will show at mobile in same way and behavior.
let me know if it work

Sample apps of Google Glass

I want to develop a Google Glass app. I am confused on how to implement the UI. Can anyone please suggest me some tutorials on developing Google Glass.
Also i dont have Google Glass device. I have heard the emulator is not available for Google Glass. Is there any way to test the apps without having the device.
Thanks.
There's no publicly available emulator, so you need real device to test your app. Also, all things are documented here: https://developers.google.com/glass/develop/gdk/
As of now, you can't and hope Google will publish the simulator soon. Meanwhile, you could check some of the presentation, and open source codes.
http://www.slideshare.net/getdinesh/google-glass-an-intro-v-1
https://developers.google.com/glass/develop/overview
https://github.com/harrywye/gdkdemo
https://github.com/Acarin/GDGBaltimore

IRC Chat for iPhone sdk?

I am planning to make an application with my friend. in this application there will IRC chat.. is there any one who could possibly give me a sample application for this. thanks
TC
Mobile Colloquy is open source.

Is there any API to add ads to my desktop app

I am looking for a way to embed ads to my desktop APIs. There are planty solutions out there for web sites which stream ads from Ad Networks. However, I didn't find one which will allow to get a similar ad content to the app.
Does any one have any experience with this?
Thanks!!
Which operating system are you targeting? If you are on Windows you could always display the ads within an embedded/automated IE window (assuming IE is installed). Alternatively, you could hook up to something like shareasale.com datafeeds and embed the appropriate links in your app. Clicking on the link (or description, image, etc) would merely cause a browser to launch at the appropriate site.
I have had the same pro, I found it was hard to find an ad network focus on desktop apps. Several months ago one of my developer friend told me he is using DesktopAd's ads in his Windows desktop apps. I downloaded their ads SDK and added into my Windows 8.1 apps, it only took me half a day finishing all the works. After that I can get revenue from ad clicks everyday. I hope my answer could be of some help to you.

Server Generated web screenshots?

One problem I've been toying with off and on is a service that requires my server to produce a screenshot of a webpage at a given url. The problem is that I don't have any idea how I would accomplish this. I mostly use a LAMP software stack, so answers that were given with that in mind would be the most helpful. Again the basic requirements are: Given a url, the server needs to produce an image file of the rendered web page at that url. Thanks in advance!
You might also want to take a look at webkit, it's known for being easier to embed (used by Adobe for AIR, by Google for Chrome, by Apple for the iPhone...) then other rendering engines. This might take a little more work to setup, but it would be a lot more stable than some hack that launched a webbrowser and took a screenshot.
IF your server is a Mac, then I recommend webkit2png, which is a short python program that leverages WebKit's Objective-C API to render an URL. Personally, I use it in combination with WWW::Mechanize to walk my development site and make screenshots of every page -- useful for testing functionality, showing clients and keeping screenshots up-to-date. The resulting screenshot is perfect, but sometimes very tall for long, scrolling pages.
IF your server has a non-bare-bones Linux distro with KDE installed, then you might try khtml2png. I have not tried that myself, but saw it mentioned on the webkit2png page.
PhantomJS is a headless (commandline) WebKit-based browser which can be easily scripted to save a screenshot of webpage.
You actually need to have the server launch the web browser in question and take a screenshot of the application with the appropriate libraries. Apache will not render the page for you so you have to have software that will.
Yes, that is what is needed. I do this in asp.net, and I actually create a WebBrowser object that is avaialable in the .Net framework class libraries to generate the screenshot.
I use the http://webthumb.bluga.net service for thumbnail generation. Robust, powerful, easy to use, and very reasonable rates. I have a high traffic production website using this service and it works very well. Given the difficulty of creating a robust web screenshot service, it's nice to have someone else do the hard work.
A non-free solution for Java is WebRenderer. Interesting feature: it can emulate Safari, IE or Firefox browsers when rendering. They have a desktop version and a headless server version. Also they have example code showing how to render a screenshot image of a webpage.
virtual framebuffer X server
I would rather recommend XVFB (virtual framebuffer X server) is the best solution for taking screenshots of a headless server. Virtual framebuffer X server xvfb provides an X server that can run on machines with no display hardware and no physical input devices.
I am using that on my server for testing URLs and taking its screenshot. We are using Ubuntu & XVFB + FIREFOX. It is working fine. Modify according to your needs.Take a look on these articles. It might be use full for you.
http://www.semicomplete.com/blog/geekery/xvfb-firefox.html
http://linux.about.com/cs/linux101/g/xvfb.htm
http://www.xfree86.org/4.0.1/Xvfb.1.html