Hi ivarni,
sorry for this late answer. From this point on we'll do our best to answer questions ASAP.
Back to your question.
You can't now overwrite the default search URL in MH5 searchAdapter. That means you have to write your own adapter. It should be pretty easy to fire a jsonp request by using nokia.mh5.jsonp.
Do you use the predefined app flow or you just use components on them own?
Here the solution for the first case:
Code:
nokia.mh5.app.embed({
//here your props
});
var searchPage = nokia.mh5.app.controller.current.page;
yourAdapter.search(null, yourParams, function callback(data) {
searchPage.model.data = data.results;
//at this point our MH5 binding to "data" property will update the list and the map.
}, function errorback() {
searchPage.showNotification("My error message", myTimeoutInMilliseconds);
});
Please note that you have to deliver the result structure in the expected manner. For more details look at "Table 1. Mapping requirements" at http://api.maps.nokia.com/en/mobile/documentation.html
If you just use standalone components without the "embed" function or you define your own pages write us what it is and we'll help you to solve the search adapter problem for your specific use case.