Using the Searchservice from Bing Maps in WP7 - windows-phone-7

I used this to locate an address on Bing Maps on WP7 using the emulator. The site mentions searchservice, which is something I want to try out and implement. However, the method seems to be different, in the sense that the query parameters are different and so is the way to query it. Can anyone help me find resources that give me a (if possible) step-by-step list of how to achieve or implement the searchservice. I have been through the official MSDN pages and they're quite useless. For my needs, at least! Please help. Thank you!

I would highly recommend to use the Bing Maps REST services, you can find the information about how to use it on the MSDN:
http://msdn.microsoft.com/en-us/library/ff701713.aspx
Also, take a look at the official blog where you will be able to find the best practices and good tips to use the REST services using a .Net wrapper:
http://www.bing.com/community/site_blogs/b/maps/archive/2013/02/14/bing-maps-rest-service-tips-amp-tricks.aspx
Let us know if you have other difficulties to implement the search service in your Windows Phone application.

Related

Facebook Ads API

I am not moving forward with the facebook dev support. Therefore I was hoping that someone has experience here.
I am using the Facebook Ads API to create ads. I already rebuild the thing to create my own controllers and so on. I can see all campaigns, ad sets and ads. When creating an add I can set up parameters for targeting group.
The thing right now is that I have to specifically write strings for that. I would like to have the detailed targeting options that fb offers when choosing targeting options.
My issue is that I have no idea how to retrieve those options. I was looking for something like an array that contains those information, but all I found is a list with regions and countries. Any idea or hint that can point me to the detailed targeting options such as interests etc.?
Detailed targeting options are documented here: https://developers.facebook.com/docs/marketing-api/targeting-search#interests
Because the amount of options in each type is huge, the API doesn't let you list all the values. You need to search for a (part of a) phrase instead.

How to access GPS location from the web browser

I am developing a mobile based web-application, in which I need to integrate Google maps. I need to fill latLng info from Google maps. Is it possible to get the GPS location and use it in my application?
The browser is able to share the location with you thanks to Geolocation API, but you have to be aware of that, user when asked if he permits accessing the geo-data, might not agree. There is no way of forcing the locations to be shared with you.
Because it is part of Web browser API - there are JavaScript methods to be used.
The core of it is in very descriptive names of methods:
geolocation.getCurrentPosition(function(position) {
console.log(position);
});
Check this great tutorial of how to implement the solution on your own. It's really good, well explained and covers edge cases.
It covers much more code, so there is no point of copy-paste all of it here.
Hope that helps!

Searching for users/images using MySpace API

Anyone have an idea about searching for users/images in MySpace using their corresponding APIs ? From the site they told that by using their API allows you to search for people, videos, images, music.But is it possible now?
it think these wiki might help you
http://wiki.developer.myspace.com/index.php?title=Albums_MySpace_v1
it shows how to fetch user images.cheers !!!

How to build web applications that have a look&feel like Google+?

For ages, our company uses Dojo as the interface library of choice. The applications created have a very desktop-like look & feel and are very suitable for business areas and banking.
However, I see a trend towards user interfaces that are more like Google+:
page-based instead of internal scrolling
not many modal popup windows but rather edit-in-place and drop-out things
loading additional list items via scrolling to the bottom of the page
all that kind of user interaction. Basically, a light and more web-centric usability approach.
Unfortunatelly, I don't know of an library that really helps in building such interfaces - I know jQuery UI, Sencha, Cappucino, Sproutcore and the like, but they do not quite fit.
Does anybody know of some new ui component library for sites like Google+?
A lot of the interface patterns used in Google+ are in Google Closure Library.
You can use the following book about Google closure : Closure: The Definitive Guide for reference.

Writing a web app using Dropbox API

I would like to write a web app that uses Dropbox for cloud storage.
If I understand correctly, I should use the Restful API to achieve that.
This documentation exists and is quite good but being a newcomer to Restful API I would love to see and play with a simple example that works with this API.
My questions are:
Am I right to assume that Rest API is the way to go?
Is there a quick and easy example (Maybe a live example) to get me going?
Thanks!
as you tagged your question with "ajax", i presume you want to do this entirely client-side (except for some proxy-code to be able to make requests accross domains)? I haven't tried it out myself, but there's dropbox-js on google code which will at least give you some ideas (and if the Dropbox API didn't change too much since June 2010 it might even work out of the box)?
Update: there's no "download", but you can browse the source code of trunk here.
Here's a lengthy article on the matter
Some love for Javascript Applications with code samples, a demo etc.

Resources