Android :: OnSearchRequested - Doesn't Call Search Activity In 1.5

Oct 8, 2009

The 1.5 AVD doesn't seem to follow the documentation in: http://developer.android.com/reference/android/app/SearchManager.html

which says it's enough to call onSearchRequested() to call the search activity. I need to call startSearch() to make it work. However, when I check the source code of Activity.java, onSearchRequested() does call startSearch().

This works in 1.6.

Is this a bug in 1.5, or did I miss something?

Android :: onSearchRequested - doesn't call search activity in 1.5


Android :: How To Have OnSearchRequested Not Open A Web Browser

Jun 6, 2010

I have a button in my app. When it is pressed I call the onSearchRequested() method. When this is called the stock search box comes up so the user can type some junk in there. When they press "Go" I need the results returned back to my application but instead the stock browser is opened and a google search is performed. How can I tell it to return the results to my application instead.

I've tried these items in my manifest.xml file:

CODE:.....................

View 1 Replies View Related

HTC Hero :: Incoming Call Whilst On A Call - Doesn't Ring

Aug 2, 2010

When I'm on a call and a 2nd call comes in, my phone doesn't ring or anything. Is there anyway to change this so that I know when I have a call waiting without having to look at the screen (which is usually pressed up against my ear)?

View 1 Replies View Related

Android :: Google Voice Search Dialog Doesn't Appear?

Oct 7, 2010

I'm aware that the home key cannot be caught, and I'm worried that a long-press on the Search key is another "Android-OS protected" key press. Just for testing, I tried to catch all keys with this code within my Activity, but it does not stop the Google Voice Search dialog from being triggered

View 1 Replies View Related

Android :: Redirecting To Market Search URL Doesn't Work

May 19, 2009

To pretty up the URL we have on our site a URL /get/g1. It redirects to our market.android.com/search URL, eg http://market.android.com/search?q=pname:ourappname.

However, going to that link in the G1 browser results in a 404 instead of opening the Market to our app.

Questions: 1. Is this a known issue? 2. Does the browser preprocess links on the page but not intercept them in a redirect?

View 5 Replies View Related

Android :: Why Doesn't Voice Search Work As Advertised

Aug 15, 2010

I already downloaded the latest voice search app on my nexus one. I can perform some of the voice actions like calling, navigating, maps and internet search, but I can't seem to add alarm, send text message/email, note to self, call businesses or even set alarm. Instead the results give me either google search or voice dialing. Are some of the functions blocked here? Also I noticed in the official guide video the help screen had more options than mine. Is my voice search a more toned down version because I'm in a different region?

View 2 Replies View Related

Android :: How To Call Activity Wait For Sub-activity To Return & Proceed?

Apr 15, 2010

Experts: My MainActivity launches a SubActivity by calling: startActivityForResult(intent, REQ_CODE); The SubActivity shows a dialog that has two buttons: Yes, No For the dialog, I've the following code: public void onClick(DialogInterface dialog, int whichButton) {/* User clicked OK */setResult(DialogInterface. BUTTON_POSITIVE) ;finish();

View 2 Replies View Related

Android :: How Can Call One Activity To Other Activity Without Using Intents And Services

Mar 12, 2010

How can i call one activity to other activity without using intents and services?

View 3 Replies View Related

Samsung Galaxy I7500 : Galaxo 1.6.3 Bugs - Speaker Doesn't Work In Call - Scrolling Contacts By Letter Doesn't Work

May 2, 2010

I have so far found two bugs in Galaxo 1.6.3:

a) Speaker doesn't work in call (very weak). works well in ringtones etc.

b) Scrolling contacts by letter doesn't work.

Other than that this is a leap forward, especially with the overclock options!

Both bugs, as well as others, fixed in 1.6.3.1 update!

View 49 Replies View Related

Android :: Search Box In Activity

Mar 2, 2010

I want to display the Search Box in an activity. But I am not able to get it implemented it properly.

Can anyone provide me with a simple demo of implementing it. I have tried using API Demos example but the Search box just dont appear. I don't know what is the problem. What I want is the Searchbox at the top of the screen and below is the other UI needed for that Activity.

View 2 Replies View Related

Android :: Add A Search Bar In Activity?

Nov 3, 2010

I want to add a search bar in my activity. I have some lat long stored in a vector and i want to search a lat long using search bar and want to animate map to that point.
How to do this?

View 1 Replies View Related

Android :: Odd Behavior With A Search Activity

Oct 24, 2009

I have a package with two activities

1. A main activity 2. A search activity

The search activity is invoked by a search suggestion provider in two possible ways

1. By clicking directly on a suggestion invoking the search activity through a VIEW action 2. By clicking on the explicit search icon invoking the activity through SEARCH action

If it is invoked through SEARCH I stay on the search activity and show some text to the user. Now when I click the back button I go back CORRECTLY to the home page.

ODD Behaviour: However if I came to the search activity through the VIEW, I invoke a browser activity and call finish() on the search activity. Now I have the browser in my view. If I now go back I would expect to go back to teh device home page. But from now where the "main activity" is showing up.

I see in the logcat a message from ActivityManager indicating

moveTaskToBack: 8

I have tried various flags to invoke the browser activity the tried flags include new task previous is top and I have also tried both a singleTop and otherwise with the SearchActivity as well. Same end result.

View 2 Replies View Related

Samsung Galaxy S :: How To Turn Off Just Phone So It Doesn't Search

Oct 10, 2010

How do you turn off just the phone so it doesn't it search? Am at church at no signal and I don't want to run down battery but I do have wi-fi.

View 2 Replies View Related

Android :: How To Define An Activity For The Search Button

Sep 24, 2010

I am not using a SearchManager, but I have built my own custom search activity. I want this to be shown when the user clicks on the Search button. How can I do this?

View 3 Replies View Related

Motorola Droid X :: Forum Search Function Doesn't Work

Oct 28, 2010

I cannot use forum or thread search function when using my X. After touching the search input field, the keyboard shows momentarily then hides itself.

View 6 Replies View Related

Jelly Bean :: Ok Google Keyword Doesn't Activate Search

Jan 25, 2014

For some reason saying Ok Google doesn't activate search except once and awhile, I dunno if I gotta be in search app or any screen. Doesn't tend to work in either.

View 8 Replies View Related

Android :: Disable Simultaneous Search On Call Log & Contacts?

Oct 10, 2010

I just installed the latest DialerOne (1.2.7.1) from the Market and find that the new simultaneous search of the call log and contacts is annoying in that it places call log entries at the top of the list, and tapping on them brings up the call history for that contact instead of listing their numbers so you can choose one to dial. I don't see any way to turn this off.Am I missing something?It would seem natural to have the ability to limit the search to the screen presented (search only the call log when the call log is displayed, or search only the contacts when contacts are displayed), but I have Dialer One display the call log by default, so that I can quickly call a recently called contact, or just start dialing to search, so this wouldn't work for me either.I would much rather go back to the way it used to be. Of course, I figured I didn't need to backup the previous version because after all, what could change? Now I have this, and the coloring of the digits on the keypad is weird, even after adjusting it as much as possible.

View 5 Replies View Related

Android :: Forward Search Queries To One Single Activity

Dec 15, 2009

have an activity handling search (ACTIVITY_1), which works perfectly when I use the search (via SEARCH button on the phone) within/from this activity. However, when I use search from another activity (ACTIVITY_2..x) by implementing onNewIntent and forward the query string to my Search_Activity.class (ACTIVITY_1) it always pauses ACTIVITY_2 first and then goes to onCreate() of ACTIVITY_2..................

View 5 Replies View Related

Android :: How To Start Activity With Long Press Of Search Key?

Nov 11, 2009

By default, if we long press search key it opens quick search box with the keypad slided up. what should be done if I want to change this default action to launching of an application when ever search key is long pressed. This obliviously requires changes in the framework. i tried changing some code in Search dialog.Java file but we can't use Start Activity there. pls guide.

View 2 Replies View Related

Android :: Get Result From Search Manager To Main Activity

Nov 18, 2010

Activity A is main activity. Whereas Activity B is SearcActivity (Search Manager). Activity B is List Activity, so whatever result comes, result is displayed in the list. Once user clicks on the list, I want to get that list selected item to be returned to ActivityA.What I did. Code...

View 3 Replies View Related

Android :: Tab Host - Property In Manifest For Search Activity

Aug 25, 2010

I have a tab host with two tabs. I want one of those tabs to be a search screen. The content for the tab is a ListActivity. I'm pulling the content from a web service. My problem is, when I execute the search a new intent is pushed onto the screen. I've used the android:launchMode="singleTop" property in my manifest for the search activity. What that seems to have done is, once the new intent is pushed on top of the TabActivity, every time I run the search it reuses that intent. But I want the already existing intent which is set as the tab's content to be the one it uses.

View 3 Replies View Related

Android :: ActivityGroup - Embedded Activity Search Window

May 27, 2009

I have an ActivityGroup with an embedded TabActivity and another simple Activity.

The TabActivity has three tabs, each one with a ListActivity.

When I try to start a search from a list (calling onSearchRequested()), I get a WindowManager$BadTokenException.

I've tried requesting focus in the list, but the same error occurred.

View 4 Replies View Related

Motorola Droid X :: Google Voice Search Commands - What Works And What Doesn't

Jul 22, 2010

(Note I'm referring to the google Voice Search utility, not the Voice Dialer utlity)

So far: I've confirmed that 3 special voice commands work on my Droid X:

CODE:............

However, there are supposed to be more (from my research), but none of the following is working:
"Call <contact> mobile/work/home/etc" to call that contact
"Dial <number> " to dial the number

Has anyone discovered any other working voice commands?

View 4 Replies View Related

Motorola Droid :: Contacts Search Doesn't Open Soft Keyboard

Aug 23, 2010

While in the Phone/Contacts app, I LOVE the search button to open the contacts search box. However, when I press the button, it doesn't automatically open the soft keyboard and I have to first press in the input box. Is there any way to make it automatically open the soft keyboard? It's not a major issue, but it's a slight nuisance. I'm running a rooted Droid with Froyo (FRG01B, manually updated).

View 3 Replies View Related

Android :: Start An Activity On Clicking Search Button On Droid Handset?

Dec 9, 2009

I would like to start MyActivity class when the user clicks on the search button on the handset.

Are there any strategies you can suggest for this? Any code examples would be very useful.

View 1 Replies View Related

Android :: Content Of Activity Doesn't Appear / Why Is So?

Nov 23, 2010

I start a new activity when clicking on a button , but the content(ui components) of the new activity doesn't appear , why ? code...

View 1 Replies View Related

Motorola Milestone :: Long Press Search Doesn't Work With Hardware Keyboard Open

Jun 30, 2010

On my UK Milestone (rooted), long press on the search button only works when the hardware keyboard is shut, when the keyboard is open, long press works the same as a short press.

While looking for a fix for this, I found very little information on the net, so I'm wondering if it's a problem with only selected devices. Can anyone confirm for me if theirs works or not?

I have OpenSearch assigned to long press search, and since I always use the hardware keyboard, I need to close it, long press search, then open the keyboard. It's annoying.

I've looked at editing the qwerty.kl file in /system/user/keylayout, my idea was to try to redefine to search key on the keyboard (between left alt and @) to launch OpenSearch, but it apears that I can only redefine keys to other keys that way, not launch apps.

View 3 Replies View Related

Android :: Sub Activity Doesn't Die - In Theme Dialog

Aug 27, 2009

I have an application with an activity A which creates an activity B (in theme dialog). I push the button in my activity B to finish it, i come back on activity A, it is ok. Then I press the button return on my G1, i go back on my home screen. And now if i do a long press on the home button, and i click on my application, it is the activity B which appears ! I finish my activity B, with this code : setResult(RESULT_OK); finish();

View 4 Replies View Related

Android :: Finish Activity Doesn't Work

Nov 5, 2009

In main Activity, I called start Activity For Result(intentB, 100) to start a new activity B, then in B, I called startActivity(intentC) to start another activity C. Lastly I wanted to call finish Activity(100) in C to close activity B, but seemed it was not successfully destroyed(I can use BACK key to see it's still there.)

View 6 Replies View Related

Android :: Changes To Library Doesn't Restart The Activity

Nov 5, 2010

I'm developing an application that uses a library project to store much of the functionality and content. When I edit the code and/or content in the library and then run the app, it doesn't properly restart the activity with the changes, giving the warning:

Warning: Activity not started, its current task has been brought to the front

I understand that this warning comes from the SK not thinking that there were any changes to the app, but there were (to the library, not to the app itself).

The only way that I've found to force the app to recompile with the library changes is to do Project->Clean. While this is effective, it's a bit annoying to have to do this every time a make a change. Does anyone know of a way to force the SDK to recognize that a library change should result in reloading the application?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved