WCF Rest Service with Cross Platform(PCL) - mono

I apologize if this question asked before. I am still trying and not able to understand how to work with Cross Platform (PCL)support. We are developing an application to support iOS, Android and Windows Phone devices. We need to use same set of code (services,view-model and model) for all the above mentioned devices.
We need to use JSON data returned from Rest service.
Kindly provide us sample projects that call REST services with serialization using shared code which will work across different platforms(iOS,Android & Windows Phone)

This page here, has some examples of exactly what you are looking for.
[PCL Link][1]
http://www.hanselman.com/blog/CrossPlatformPortableClassLibrariesWithNETAreHappening.aspx

Related

Apple's Healthkit for crossplatform

After a thoroughly research it seems I can't find a way to integrate HealthKit on a cross platform application as it seems it doesn't provide a REST API and the code has to be exclusively written in either objective-c/swift.
Is there something I'm missing? Is there really no way to retrieve the data from healthkit on a cross platform app?
You're not missing anything. HealthKit data is stored exclusively on the user's iPhone, not in the cloud accessible from a web service.

Kimono Desktop Stopped Working?

Anyone having trouble building API's with the new Kimono Desktop app. When I click create API the browser just stays on create API screen loading but nothing happens.
I even tried building an API that is the same as one I built when Kimono was still in business and no luck.
My existing api's still run and pull data fine.
Working just fine here.
Just a shot in the blue...did you install the new extension specifically for the desktop app? The old one can't work anymore since Kimono disabled the online service.
You can't build new APIs I think - only existing ones. :( Said something like it was not the acquiring company's policy to provide this publiclu available service but since they did not know how many businesses depended on their APIs they decided to allow existing APis to run.
You can also use their software for replace the online API. But it's an abandonware.
It's working great but on some website I can create new API because of an error.
I just find a possible (free) product that can replace Kimono : Datascraping.co.
They will include an REST FULL API within few days / weeks, as they said here.
It's a good software, but comparing to Kimono Desktop it's a little much more complicated.
Kimono got bought out and it's not working anymore.
Import.io is good but it kinda expensive for me. I've tried the free trial before but see the price starts from $249, so... https://www.import.io/standard-plans/
I don't have any progamming skills so I know very little about some web scraping frameworks like Scrapy.
You may want to look at this new web scraping software called Octoparse.
In case you want to know, here is the link:http://www.octoparse.com/
It takes a little time to begin. But they have rich tutorials on the website. Plus it doesn't require programming skills.
They provide cloud-based scraping service and API access.
You can use it to create API but you have to pay for the service. Free version doesn't have the API and cloud service.
I've been using it for 2 month with the Standard plan $89, which a lot cheaper than import.io. So far so good.
Hope it would be helpful for you.

Sending data from Windows Mobile to a Windows WCF

I'm not knowledgeable in the whole "server-side" idea. Right now, I just want to start learning how to send data from a windows mobile phone application to a server.
I'm pretty good at C# and making apps. I just need to learn how to send data from and to a server/mobile application.
I am using Silverlight (The latest one) as the API for my windows phone app. At the moment, a "hello world" sort of program would be awesome.
Any help is is extremely appreciated!
Subby~
This is very simple. Just a bing/google search would have lead you to the answer. For sake of brevity here's an article that describes each step in detail
http://www.c-sharpcorner.com/uploadfile/UrmimalaPal/creating-a-windows-phone-7-application-consuming-data-using-a-wcf-service/
Let me know if you want to know in specific or you are stuck somewhere.

Android MySQL php+JSON alternative

I have written a simple database driven app in C# which uses a 2 table MySQL database. This is all a learning curve for me (except c#, which I am now comfortable with)
The app is small, has a couple of datagridviews, uses a few sql select/inserts statments to populate the datagridviews and also update records.
I want to port this app to Android. All of the internet sources I can find recommend a middle php sript which accepts http requests in order to fetch the data from MySQL and then return the results back to the android device where it is parsed with JSON etc etc.
This method is a little out of my reach since I dont have php experience, all of my attempts to implement the php layer have failed, speciially the android app was not receiving any data back, I'm assuming I messed up somewhere inside the php file.
Is there an easier (more noobproof) way to interact with the MySQL database from within android which doesnt require the need for php + JSON? Any ideas are appreciated, thank you in advance.
If you are comfortable with C#, why not use ASP.Net MVC for the middle man?
MVC is especially easy to deal with JSON, and you actually only need to create those "controllers" (as models should already be there from your existing app, and JSON don't need the View to display).
You can create a Web Service with C# that handles the data retrieval from the database; no need to go with PHP. Try create one with WCF API (check this question in order to create one). In order to create an Android client that consumes JSON on Android check this link.
If your mobile application have to access a database over the network you should indeed build a web service fronted to the database.
By putting a web access layer on top of the database you can expose the required queries in an abstracted, secure and convenient manner.
Though this sort of web service architecture can be implemented with PHP + JSON other technologies can be used as well. If you feel more comfortable with C# you can use it to build the web service instead. By doing so you may even be able to reuse some of the code from your existing application.
Actually, it would be better to take php in middle of android & mysql, due to the security concern and by the way this is the most easiest & comfortable method. here is link link. I hope you like it.

How to interact with the Panoramio API using services?

I'm writing a location base client and would love to integrate Panoramio with my client, now the problem is that I can't find a way to interact with the Panoramio using a ~REST-like service.
I know they do have an API but it's mostly for embedding the content into a website and not as to interact thru me code (at least from documentation)
Have any of you hacked a way thru this?
I am writing the clients natively for android and iphone in case you are wondering.
cheers,
G.
well it seems like the answer came a bit fast... and although this is easily accessible thru their website it is discussed in their forum and even google has posted about it in their geo developer blog
a sample request to get images from a bounding box will go along the lines of the following example:
http://www.panoramio.com/map/get_panoramas.php?order=popularity&set=public&from=0&to=10&minx=-124.29382324218749&miny=36.089060460282006&maxx=-119.8773193359375&maxy=38.724090458956965&callback=MyCallback
Update: I have found also the official page to their data api.
hope it helps!