I used the search app on this https://github.com/heremaps/here-ios-sdk-examples
When I search any Location name. There are not list in search app. I have seen your app.There are searching list. I am attaching screen shot as search location.
How to achieve this with the help of above GitHub code
Just use TextAutoSuggest search, this will trigger the callback already on partial search input if wanted. See example and doc https://developer.here.com/mobile-sdks/documentation/ios-premium/topics/places.html (section: Text AutoSuggestion Requests)
Related
I have try to get list of user search related locations is auto populated in search bar in Xamarin forms but I can't able find any solution. Please suggest any idea for getting list of location based user search text in search bar. Thanks in advance.
You can look the sample autocompletion into the TK.CustomMap repository.
TK.CustomMap is an override implementation of Xamarin.Forms.Maps.
Project:
https://github.com/TorbenK/TK.CustomMap
Sample: https://github.com/TorbenK/TK.CustomMap/tree/Development/Source/Samples/Sample/TK.CustomMap.Sample
The autocompletion can be used with Google API for location (or other provider like OpenStreetMap).
I need to implement the GA tracking event for PDF file downloads, For that had searched a lot and found out many code where i can add some code to links and track them from GA's content section, But the problem is I do have a lot of PDF link on the page and don't want to edit every link and I want the code to be generic for future uploaded links also.
So what would be the best approach for this task, Any referral links would do or any code would be highly appreciated .
Thanks in advance.
You can explore the use of Google Tag Manager, where you can create a generic tag that will return to you information for each individual link. GTM uses things called "macros" which is like a template that returns useful information including the clicked element's ID, or pathname (which in your case for the PDF files, would all be different). So in this way, you would only need to call this macro each time a PDF file is clicked. No coding is involved using this standard approach through GTM. Here's a link to a descriptive explanation: http://porcelainduck.com/2014/03/track-pdf-downloads-google-tag-manager/. You can see that it uses the {{element URL}} macro that returns the PDF's unique URL. GTM not only applies to current links, but also all future links.
Based on the tags which you've used to mark your question with you're using C#, ASP.NET
If that's the case, can't you create a base page that on rendering replaces all the
I would recommend adding a click event with JQuery to all links or all links inside the download widget class. Inside the click handler I would then grab the link text and use that as part of the Google analytics event you fire.
I am unable to activate Google rich snippet with my website www.hensdry.net As it shows all good in Google Structured tool but in Google results it does not show the results it suppose to be.
My website is www.hensdry.net
Thanks
Jim
Are you talking about a G+ image next to SERPs and Google's validator at http://www.google.com/webmasters/tools/richsnippets ?
Having correct structured data is only the first step in getting your G+ image next to SERPs. The final decision is up to Google, and they have recently reduced the number of sites that get the benefit of structured data. See http://www.google.com/search?q=google+reduces+authorship
Google take some time to crawl your pages & detect the structured codes added to your page's code. Adding structured code doesn't guarantee rich snippets. It all depends on the search query from the users. If the search query matches the data in your structured code, Google would show it a rich snippet. Otherwise, the regular snippet that matches the search query will be shown.
Reference: rich snippet guide by learnly.info
I have a requirement where user will have an option to search
the data and should match the feature same as google has provided
i.e. whatever char user types in the search box - user will be prompted with matching string below - same as google search text box - you type something and get the options
what control or strategy we should follow in C# ?
Thanks in advance.
What you are looking for is called "autocomplete". The Ajax Control Toolkit has such a control. You can find it here.
what you are trying to achieve is basically AJAX based Google like "suggest" feature, I would recommend having a look at this : Google like search
Plus there are ample other such links that will help you in your quest.
I've an ASP.NET page with a textbox and a option from user of the following choices: Wikipedia, Google, Dictionary.com, Flickr, Google images.
The user enters a word(s) in the textbox and selects a choice among the following.
Depending on the choice select by the user I wish to return the following.
Wikipedia: Return the content and link to the page corresponding to the topic about the word.
Google: Return the top 10 results of google search for this word.
Flickr: Return a few images atmost 10 images from flickr search
GoogleImage: Return a few images from google image search.
Dictionary: Return the meaning of the word.
How can I do that?
Since you are wanting to do some processing on the results prior to displaying them, your best bet is probably to invoke a web request on the server to fetch your results as RSS or some other parsable XML format.
So first up, we have Wikipedia, which has API support for open search, and queries with XML or JSON output. You can get the details of the API by going to: http://en.wikipedia.org/w/api.php
I would think either the query action, or opensearch action would be what you want.
Right, now there is Google, which supports search results as RSS through their Active Search feature. The link takes you to the main page where you can build the query, at which point it should be easy to drop in your search terms. There is also the Google Search AJAX API, which you can find out about here (See the "Flash and other Non-Javascript Environments" section for building the URLs directly. I believe this option should give you access to Google Image results as well.
For Flickr, have a look at this App Garden page. There are several output formats available to choose from.
I wasn't able to find anything real solid on getting results from Dictionary.com, but it does appear that they have an API. You might be able to dig through google and find some references on how to get search results as XML or JSON. There are also several other Dictionary sites which may have more information about their APIs. While searching I managed to find this SO question about word lookup from google dictionary.
Hope this helps.
Have an iframe within your page, and then set the src of the frame to the appropriate query string that you craft from the user's input.
This can be done from javascript within the page, in response to the user selecting something in the 'choice' dropdown. You can have the appropriate urls already embedded in the javascript (as variables), and just substitute in the user's input.