Monday, September 19, 2011

[android-developers] Re: Disconnecting from the task

you can clean the extras with RemoveExtra from the intent you are
receiving.

On Sep 19, 11:58 am, Andrei <entre...@gmail.com> wrote:
> Good afternoon.
> How can I clean up a variable
> search = intent.getStringExtra(SearchManager.QUERY), after the search
> is completed.
> I take the string so:
> Intent intent = getIntent();
>        if (Intent.ACTION_SEARCH.equals(intent.getAction())) {
>             //Берем строку запроса из экстры
>              search = intent.getStringExtra(SearchManager.QUERY);
>              new MyAsyncTaskM().execute();
>        }

--
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