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
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?
View 5 Replies
View Related
Feb 4, 2010
How to open an URL from code in the built-in web browser rather than within my application? I tried this:
Intent myIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(strURL));
startActivity(myIntent);
But I got an Exception: "No activity found to handle Intent
{action=android.intent.action.VIEW data =www.google.com"
View 1 Replies
View Related
Dec 1, 2009
Is there a setting anywhere in the browser (Either default or on Dolphin) which would keep the browser from opening up a new tab every time I try to open the browser? It gets very annoying closing 30 tabs a day. 90% of which are the home page.
View 4 Replies
View Related
Aug 17, 2010
I want to make something like hyperlink. Right now, I created button, which opens new Activity with WebView. But I want to open a "globally" default web browser at specified URL. How can I do this ?
View 2 Replies
View Related
Oct 2, 2010
Short question that i cannot get my finger on, I'd like to launch a new browser from my WebView after people click a Hyperlink. But how can i set that target of that link to escape the WebViewClient? code...
View 2 Replies
View Related
Aug 16, 2010
Is the browser application on android open source if yes can u please help me finding the source code.
View 1 Replies
View Related
Oct 13, 2010
I am trying to open up http://www.google.com in my emulator default browser. But it is not to open it. My computer is connected with Internet and emulator is also display the 3G symbol on status bar. So why could I not to open up website in emulator. It is return Web Page not Available message.
View 2 Replies
View Related
Jan 24, 2010
When a user clicks the "about" button in my app's menu I want it to open the browser and go to a specific webpage. Is there like a one - liner out there somewhere to do this? Seems simple but Google is not being helpful right now - or I'm just searching the wrong thing.
View 5 Replies
View Related
Apr 15, 2010
I've got my work account set up in google, but I don't want it on my phone - so I only check email through the browser. However I like to have the stock browser still be my profile. So what I've done is set up Dolphin to have my work's profile. What I'd like to do is set up a short cut to a bookmark in Dolphin to open in dolphin. Anytime I've set up a shortcut to the URL on the screen it opens up in the stock browser - any way to make a specific shortcut to open a URL in an application of my choosing? I don't know enough of Linux/Android to try and edit some changes. My phone is a Magic (MyTouch3g for you americans) and is running 1.5 with SenseUI and is non-rooted.
View 3 Replies
View Related
May 20, 2010
I just bought a droid eris today and I'm loving it so far, but I want to set it up so that when I open the browser it goes to the homepage that I've already set but instead it goes to the last page that I was on, is there anyway to change this?
View 3 Replies
View Related
Dec 10, 2009
How do you open a link in a new tab when using the dolphin browser? I assumed long pressing the link would bring up an option but it does not, unless its just mine. I am running 2.0.1 on droid if it makes a difference.
View 10 Replies
View Related
Sep 13, 2010
i'am trying to load an url in background using the default browser. So the user can switch to the browser whenever he finished reading the current activity and the page is already loaded. Is there a way to fire an Intent (Browser) but stay in the original Activity? I'am aware of the FrameLayout approach with setting the visibilty but this is not possible with the default browser.
View 1 Replies
View Related
Aug 23, 2010
Instead of the mobile version? I figured since froyo has flash, that facebook might be fully functional, but it always opens the damned mobile version, instead of the full main pc version.
View 6 Replies
View Related
Jun 28, 2010
I've been trying to find out how to create an intent that will open the user's preferred browser without specifying the URL. I know how to open it by giving a specific URL like this:Intent intent = new Intent();intent.setAction(Intent.ACTION_VIEW); intent.setData (android.net.Uri.parse ("http://www.google.com")) ;context.startActivity (intent);I don't want to open the browser to any page in particular, just the set homepage or whatever page the user was on last. I've thought about looking up the homepage set within the app but you can't do it with the default Browser app because it is private. Does anybody know of a way to do this?
View 1 Replies
View Related
Oct 22, 2009
I'd like to be able prompt my app to open link (instead of the browser) when the user clicks on a URL of a given pattern. This could be when the user is on a web page in the browser, or in an email client, or a WebView in a freshly minted app.
For example, click on a YouTube link from anywhere in the phone and you'll be given the chance to open the YouTube app.
How do I achieve this for my own app.
View 2 Replies
View Related
Nov 7, 2010
I my application, I need to open a link in Android Browser. This page can receive some data just via POST. Could I add these parameters(data) to the intent which start the browser?
Do you know if this is possible? If it is, could you give my a hint?
View 2 Replies
View Related
Jul 13, 2009
Here's what I'm attempting to do. I have a menu and when a user selects a particular option in the menu I want the browser application to open and display the web page. However, I cannot seem to do this. My application uses a TabWidget to display its content (which works perefectly) but I cannot for the life of me figure out how to open a link into the browser. I have tried adding a WebView to the TabWidget (but when I request it from the view by findViewById(...) I get a null.
I've also tried creating a separate view and performing a setContentView(...) and then I get an exception. I've also tried using an intent I've seen demonstrated on this group. It seems like this should be fairly easy, but I must be missing anything. I've looked at the sample apps as well as the Apps-for- android samples and have followed them to the T, yet still to no avail I cannot get the browser to open (or anything like that).
View 4 Replies
View Related
Nov 19, 2010
I have an app that loads a webview and all the clicks are kept within the app. What I would like to do is when a certain link, for example, http://www.google.com is clicked within the app it opens the default browser.
View 2 Replies
View Related
Oct 20, 2012
I was deleting the junk from T-Mobile but it seems that i deleted something important so I don't have Launcher.
I tried to open the browser, download Go Launcher ex.apk and install it but my phone says the file cannot be open, so my 2nd plan was to download it direct from Play, so I open the browser and want to install but it says I need to open the Play app, any app from a link or install and apk from the computer to the phone like on Nokia Ovi Suite?
View 1 Replies
View Related
Jun 21, 2010
When I connect to the internet with 3G, the HTC browser don't open any pages but Opera Browser does, note that HTC browser works fine on WiFi!!!
View 2 Replies
View Related
May 18, 2010
Is there anything I can download that will let me click on a .mp3 file in the web browser and start it playing? When I try to open one it appears to open in the video player says the file could not be opened. Downloading is an opening via astro is an option but id like to click and play.
View 1 Replies
View Related
Mar 3, 2010
This is probably a very simple thing to do, I just haven't figured out how to do it. How do I enter a specific url once my browser is already open? I only know how to search from that point on...
This is using the default browser. I want to try the dolphin browser, but have yet to do so.
View 3 Replies
View Related
Apr 1, 2014
I went to the same site via phone,computer, and Ipad...and my ipad in the chrome browser opened it up in a new tab preferred method. On computer using chrome opened in same tab which is ok. But my phone (moto x) just downloaded it. Even if i hold the link for menu, and click open in new tab. it opened a new tab Still just downloads and closes the new tab out. I also tried chrome beta with no luck. My phone doesn't tell me how to open it or what i needed to do next to see it after its downloaded either. (not intuitive enough) Finally saw in notification and clicked there to get a list of apps, which the browser is not listed. This PDF isn't something that I want to keep i just want to view it. and then close the page /tab and be on my way.
Lastly it downloads this file to my phone. How does one find where it put the bogus file that i didn't want to save in the first place, so i can delete it?
View 1 Replies
View Related
Oct 10, 2013
YouTube links will always open in browser rather than youtube app.
I have tried Boat Browser and Dolphin, and they both behave the same way. If I google search for a youtube video through one of those browsers, and I click the youtube link from the google results... it will go to the youtube mobile page within the browser (rather than open the youtube app and play the video).
How to force the youtube app to always play videos linked from browsers?
View 3 Replies
View Related
Aug 3, 2010
As the title says, does anyone know how to set dolphin browser to open full websites instead of defaulting to mobile web pages please ?
View 1 Replies
View Related
Sep 23, 2010
Do anyone know how I can close the browser fully? I tried but it keep open new window
View 1 Replies
View Related
Nov 15, 2012
I get a google calendar invitation in the GMail app, but when I click on one of the yes/no/maybe links, it opens in the browser, not in my calendar app.
I immediately tried to clear defaults, but none existed on gmail, browser, chrome or calendar app. I tried disabling browser/chrome/ and bionic default calendar, and installed Google Calendar from play store....problem still happened.
(edit, of course browser/chrome didn't open when they were disabled, but I was surprised that Google Calendar also did not open). I'm rooted, but running regualar moto ics
I'm at a loss. I know a number of google updated a number of apps lately, wondering if that broke something.
View 3 Replies
View Related
Jul 27, 2010
Is there not a browser 'home' button, or do you have to open a new window every time?
View 3 Replies
View Related
Feb 14, 2010
Just got my new HTC Hero and I really like it. But I have one small issue. I'd like to open and view word, excel and pdf files in the browser but it doesn't allow me to. It starts to load but suddenly stops.
View 5 Replies
View Related