Is it possible to get game stats (who's playing, who wins, etc) from games that are played on XBox Live and PSN? Are there any additional constraints, such as:
Does the game need to support some additional API?
Do I need to have direct access to the games servers (consoles)?
If Microsoft or Sony or even the game vendor provides the API's themselves that would be great too.
There doesn't seem to be a published public API for either service. You would have to be a registered developer with Microsoft or Sony to be able to use the APIs, but I would highly doubt that they would permit their use as an external service.
This is in the developer XDK/SDKs for these platforms. You need to be a registered developer to get access.
I've been workig on an API
you can check it here
www.trofeosps3.com.ar/API/Psn.asmx
and here
www.trofeosps3.com.ar/trophies.aspx
Related
Can anyone out there provide further information on CPU, RAM, flash storage and battery type of the SmartEyeglass? I need this to compare the hardware specification with other smartglasses for my bachelor thesis.
In addition, it would be nice to know if the firmware running on the SmartEyeglass is based on Android.
Those hardware specifications are not publicly shared. SmartEyeglass is not Android based, but SmartEyeglass apps are Android apps that run on the smart phone.
SmartEyeglass acts as an accessory for the phone. SDK let's you display the user interface on the SmartEyeglass, take photos using camera of SmartEyeglass, get sensor data from SmartEyeglass.
To learn more about it, please consult to SDK pages.
https://developer.sony.com/develop/wearables/smarteyeglass-sdk/api-overview/
I have seen several examples of native to browser WebRTC applications, like for streaming video files stored on a server to one or more browsers, but is it possible to do the reverse ? I.e. streaming the webcam from the browser to a server, written in C, C++, Java or other ?
It is possible.
WebRTC is using open standards to stream content over the network. You can find all the details in the following RFCs:
http://tools.ietf.org/wg/rtcweb/
If you want to write your own native application that will receive (and even send) WebRTC media you can either get the WebRTC native code from here: http://www.webrtc.org/webrtc-native-code-package and build it into your solution or alternatively use one of the existing SDKs that can provide you this functionality (depending on which platform you want your native application to run on).
If you want to connect WebRTC to existing hardware like a SIP desk phone, you will need to have some sort of a gateway that will have one leg that will communicate with WebRTC on the browser and the other leg that will communicate with your SIP phone.
There are a lot of commercial solutions already out there, but eventually it all comes down to what your needs are.
We are building an internal application which will do the following:
Run as a Windows Service
Scan various server/platform types to confirm they are up and running
Call the HeartBeat() method on all of our WCF services
What we want to do is then (for each server) send a notification broadcast so that a listener can pick up the data and display the realtime results in a dashboard environment.
In addition, the data will be collected by the listener for drilldown or reporting purposes.
I'm having a hard time determining what is the proper approach for broadcasting results. SNMP seems like a good fit but I'm not sure how easy it would be to implement in C#. I've looked at WMI and SNMP at the moment.
I'm looking for input on alternatives to either SNMP or WMI for the broadcast approach.
If you're programming exclusively in C#, then your best bet is to find some C# SNMP library that you will probably have to purchase.
If you're wanting to go with portability and standards, then go with SNMP.
If you're always going to be using Win32 C# then go with a WMI solution.
If you don't mind coding outside of C# and instead C or C++ and want to make things compatible with other systems, then I would highly recommend working with Net-SNMP and building an SNMP agent from that.
I need to develop an iPhone/iPod Touch application that creates a server to send some data stream (characters or bytes) to a Windows C++ application via Bluetooth. I'm thinking of creating a TCP connection, but don't know where to start.
What iPhone API should I use do to something like this? Does anyone knows some code examples that i can use to do this?
And in Windows, what should I use to support this kind of communication?
Thanks
Yes. From what it looks like you can use the PAN bluetooth profile (the same profile used for tethering) with everything except the original iPhone.
Here's an article doing bluetooth over iPhone/iPad using GameKit. The article notes that you would need at least 2 iPhone/iPad devices running iPhone OS 3.0, but I wouldn't take that as an impossibility to talk to any other bluetooth capable device.
Update
This forum indicates that the iPhone is only capable of headset pairing. It could be that the iPhone is "picky" about what you can pair it with.
"The iPhone only recognizes the "headset" profile. Another well thought out idea from Apple. No A2DP profiles, no OBEX."
-sapporobaby
Update 2
As jamone as indicated iPhone 3.0 supports A2DP. How nice is that?
Here's a table listing of iPhone/iPad bluetooth supported profiles
I'm pretty sure third-party developers don't have sufficient access to the Bluetooth stack to do this via published APIs (i.e. via an app you publish to the App Store).
Is using WiFi an option? That's what most developers seem to be using for client/server communications. If that's the case, see if you can distribute Apple's Bonjour runtime with your app. If you search the developer site for Bonjour, they have code samples (though probably no Windows examples).
What would be the simplest way for an application I'm writing to block all Internet access on a Windows machine?
More details:
Windows: XP or higher
Application: A basic Win32 app written in C/C++.
Blocking: It needs to be able to block and unblock at will, ideally in a way that the user can't easily reverse. (By, say, right clicking on a network connection icon in the system tray.) Also, ideally, I'd like the method it uses to allow access to be restored should the user restart Windows or reset the machine, though I'd also be willing to have the app auto launch with Windows and unblock access upon startup if the machine was reset while in a blocked state.
Internet access: Primarily, I'd like to block conventional browsers from hitting conventional http/https sites. Secondarily, it would be nice to block IM clients and client-side social networking apps. It would also be nice, but not required, to still allow local networking for file sharing, etc. (Note that only the first requirement is absolute.)
Final notes: This is not meant to be a security utility, nor will its relationship to the user be adversarial (as, for example, with a parental control utility) so it's not important for it to use a scheme that can't be worked around by a determined user. (Consider that I intend for a reboot or reset to clear the blocking. This means that any workaround a user might discover that would take more effort than this is okay.)
Thanks!
p.s. I suspect that the Windows Firewall API won't work for me because this needs to work for users that haven't enabled the firewall or don't have admin privileges, but I'll be thrilled if I'm corrected on this.
It sounds like you're intending to run applications that you don't want to access the internet. Perhaps you could run them inside a virtual machine such as VirtualBox with networking disabled.
You could do it with a Winsock SPI. The Windows SDK has a sample (under Samples\netds\winsock\lsp) which implements what is called a layered service provider which allows you to hook all the user mode functions provided by Winsock and reject/modify the calls to block network access or redirect traffic to different locations. All installed winsock applications will be affected, so in your code you could have policys for what applications can go out and the like and disabled/enable on the fly. Now a determined person could find ways around this but it would be a pain.
That said this isn't trivial to do but the sample should get you most of the way there.
You cannot effectively or practically write your tool with only a user mode application.
What you need to write is a network I/O stack filter driver. This done by writing a Windows Driver. This is different from a Windows Win32 application. Drivers run in kernel mode and applications run in user mode.
On Windows Vista and later, the kernel mode Network Programming Interface (NPI) is designed for this. This is the same API that Windows Firewalls use. These are sometimes called the Winsock kernel (WSK) APIs.
In effect, you are writing a network firewall (more or less)
here are some links
Introduction to Winsock Kernel (WSK)
Windows Core Networking Blog
The Network Programming Interface Docs on MSDN
Note, your will likely need at least two components
Your driver
A Graphical application that a person can use to control your tool
If you want to do any monitoring, you will likely need a user mode service that collects data from your driver. This works better than trying to do this in the driver. In general, you should do the minimal amount of work in the driver.
A few notes:
You need to be very conscious of security when writing this kind of software. This is very much non trivial. Software that is network facing has the highest security requirements.
Be cognizant of performance.
Your driver and/or service must be aware of the context of a calling application. This is also a security boundary. For example, an application not running as administrator should not be able to control your driver.
take a look at firewall sourcecodes