Tuesday, December 7, 2010

Re: [android-developers] How to add Google Search Widget in my App Activity or Screen

Hi Mark,

Thanks for your quick response . In fact I want to add it in the same way as it appears in Home Screen .
or in other way as a shortcut for search .

What should be the straightforward way to do it?

Kind regards,
argongold



On Wed, Dec 8, 2010 at 10:19 AM, Mark Murphy <mmurphy@commonsware.com> wrote:
There is no "Google Search Widget" in Android.

If you want the Quick Search Box, you do not add it to an activity,
but rather integrate with Android's search framework:

http://developer.android.com/guide/topics/search/search-dialog.html

On Tue, Dec 7, 2010 at 9:16 PM, argon gold <argongold10@gmail.com> wrote:
> Hi,
>
> How will I add  Google Search Widget  in my Activity either by XML file or
> through Java code ( or any other Pre-Built  widget).
>  Suppose I have a simple activity which display a Linear Layout with Google
> Search Widget in it on screen.
>
> Thanks in advance for your help
>
> Regards,
> argongold
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, One Low Price!

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment