windows phone & sound cloud - windows-phone-8

I would like to know if there is a "good" way to use one of the Soundcloud's API with windows phone 8 ? Because I haven't find a dedicated API, only Python, Ruby, PHP, Java, iOS and JavaScript.
So my Idea was to create a web service using the PHP API, so my wp8 app could use soundcloud through the web service with an http request or something like that.
What do you think about it ?

Why not just port one of the SoundCloud libraries to C#/Basic? I found a Visual Basic library from a quick search, and I'm sure you could find more.

Related

Discord Rich Presence in AIR?

Discord released a Rich Presence SDK that lets C++ developers integrate their game with Discord, which really is an extension of their existing RPC server built into Discord. Lately this SDK has been ported to more and more languages, including Java and Javascript. I know AIR can interface with Javascript, but they seem to use node.js which could be messy.
With all of these new wrappers popping up, what would be the best way of going about this for an AIR app? I'm trying to figure out the most efficient method for creating an AS3 version but I'm not sure which path is the best.
Edit: I don't even want the fancier features, I just want to be able to set a user's local Discord client to display extra game info.

Universal Windows app with Web API

This question may broad to answer. But just give me idea/structure.
I'm planning to build a shopping cart app for Windows Store. My logic behind the app is
Developing Web API and hosting on server
Accessing those API through app and displaying data on XAML UI
Is that right? or any other logic that i need to follow?
Should i use MVVM?
Though it might be a little harder at first, using MVVM is always a good idea.
As for your logic, why do you need Web APIs for your cart app ?
Wouldn't it be more efficient to keep everything local ?

Can I use Node.js into my windows phone 8 application?

I am developing an app which requires transfer of data over socket. I have to use standard http protocol to send and receive data over sockets. So can I use Node.js into my windows phone 8 application for creating and parsing Http Requests and responses respectively?
I am writing code in c# .NET.
Thanks in advance.
Regards,
Vijay
Sadly you cannot create Windows Phone applications using HTML5+JavaScript, so you won't be able to use this library in your app.
http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj206940(v=vs.105).aspx
HTML-based phone apps aren’t a supported app model in Windows Phone 8.
However, a developer can create a managed app with a XAML front end
that uses an embedded browser control to display local HTML content,
and it’s possible to access phone APIs by using the InvokeScript
method and ScriptNotify events. Also, in Windows Phone 8, the phone’s
browser has been upgraded to Internet Explorer Mobile 10, with a host
of new features such as a robust HTML5/CSS3 implementation, Scalable
Vector Graphics (SVG), ES5, IndexedDB, gesture events, and the
addition of the high-performance scripting engine, creating new,
interesting possibilities for Windows Phone 8 HTML developers.
But if you just want to use sockets in your WIndows Phone app, you can use them directly in C#:
Sockets for Windows Phone
I'm not sure about node.js but if your goal is to serve static files, such as html, you could look into the Katana Project here: https://katanaproject.codeplex.com/releases/view/113281
As for dynamic data on your static files you could leverage Owin and self host a SignalR endpoint on the phone: http://www.asp.net/signalr/overview/signalr-20/getting-started-with-signalr-20/tutorial-signalr-20-self-host
With SignalR, and C# you could expose much of the phone's functionality and sensor data on your phone.
To avoid creating a lot of unneeded boilerplate code, you could bind the data to your static html with mv* frameworks such as KnockoutJs or AngularJs. For cool looking graphs, you could leverage D3.js

Actionscript Google Adwords Client Library

I have been searching for a Client Library for the Google Adwords (mainly for the Keyword Tool section) but to no avail. Does anyone know if this is even possible? I have seen all of the other client libraries; such as C#, Java, Javascript etc but no Actionscript.
I have read that Google do not support AS3, but this seems to be for the creating of Flash banners, which I do not want to do.
Anyone have any suggestions please ?
Regards
Anthoni
We don't support an ActionScript client library, but there is an open source JavaScript library that you can try to port: http://code.google.com/p/google-api-adwords-js/

Blackberry web services

I am looking to expose an existing app as web service for use on the Blackberry. So I have some questions around the blackbery and its use of web services.
I am wonderings is it possible to use Restful web services (using JSON as the payload) on the blackbery or is SOAP the only web services the balckbery can do?
In recent times I have used the Jersey framework for web services in normal web apps and I think this would suit my current requirements,just need to know if this is possible on the blackberry. Effectively the blackbery would only need to send/recive/procees HTTP calls and JSON so I would imagine this would be possible?
Also I may have to use the enterprise blackberry server, how do I route requests to/from the app (and the enterprise server) to the back end existing app. Is this all seamless with some config settings on the enterprise server or does the the blackberry application need to handle this in a certain way?
You can definitely use a RESTful service and JSON on the BlackBerry. Depending on the version you are targeting you may have to download a JSON library. There is also a good reference guide at http://java.sun.com/developer/technicalArticles/javame/json-me/ you can look through.
The Enterprise server shouldn't affect your ability to use this, as you're essentially making the same calls a browser would, and it will know how to route that traffic.