Hi Ali, Thank you for the reply and I apologize for the delay. My wife had
our third little one, so work came to a halt.
Preface this with I am definitely new to this, so I offer this with a major
does of humility. Please read it that way ;-)
I am not trying to use web search. While I am using the search tool, as far
as the android app is concerned, I am just going to a new URL. The search
is handled in my online app, and I am simply passing the search string.
None of that really matters for this conversation (I think).
I have one activity with two intents (Main and Search). The problem is when
the search intent is called, the
if (Intent.ACTION_SEARCH.equals(intent.getAction())) {
String query = intent.getStringExtra(SearchManager.QUERY);
doMySearch(query);
}
is not working (doMySearch function is not being called).
@TreKing, I could not get debugging to work well. It kept crashing. If
anyone has a good overview to post on debugging, let me know. I am growing
frustrated with the android documentation which is why I am coming to the
user community.
Thanks you both again. I appreciate it.
On Wednesday, April 11, 2012 3:19:17 AM UTC-4, Ali Chousein wrote:
>
> To be honest, I think Dwayne is trying to integrate web search but
> he's completely lost in the process.
>
> @Dwayne: If you are trying to integrate web search in your
> application, you cannot do it by using webview only. You have to
> integrate the API of a search engine. Google Custom Search API is one
> alternative, but it's not really free:
> https://developers.google.com/custom-search/v1/overview
> Have a look at Yahoo Search Web Service:
> http://developer.yahoo.com/search/
> and also at Bing Developer: http://www.bing.com/toolbox/bingdeveloper/
>
> -------------------------------------------------
> Ali Chousein
> http://socialnav.blogspot.com | http://twitter.com/socialnav1
> http://weatherbuddy.blogspot.com | http://twitter.com/weather_buddy
> http://www.codeproject.com/KB/android/PayGol-Android.aspx
> http://geo-filtered-assistant.blogspot.com
>
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en