Android : Launch Browser Without Starting A New Window?
Feb 9, 2009
Let's say I have an app that has a "search on Google" button. Every time the user choose it, I want to bring up the browser and run a Google search. Currently, I use: startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(url)); However, each time, it launches a new Window inside the browser. After a few times, the browser complains that it cannot open new Window anymore. Is there a way to tell the browser to re-use the last Window I created? Something like what you would do with <href=xxx target=_mywindow> in HTML?
View 2 Replies
Mar 19, 2009
I have a 2D app. When the user presses a button, I need to quickly open a translucent 3D animation and overlay that on top of the 2D app. This is similar to the "Translucent GLSurfaceView" demo in APIDemo.
However, with APIDemo on G1, it takes about 100~200ms for the new Activity to come up. For me, this is too long. Is there any way to make it faster (to about 30~60ms).
My idea is to create a transparent Window object that contains a SurfaceView and hide it. When user presses button, the Window is shown.
View 2 Replies
View Related
Apr 17, 2010
I recently (yesterday in fact :)) started creating widgets.
So my first widget I want to create is something like: * A 2x2 widget * Containing 2 buttons * Button
1: Register current time and location * Button
2: Open up an activity where configuration can be modified, registered times and location can be viewed,...
Now the problem for me is button 1. As I only try to do some registration data (so no further user input required after pressing the button) I would like to just show a loading bar and after wards Toast a message to screen, or a popup if anything goes wrong.
This is what I do now:
CODE:...........
So what happens: I click the button, a plain black screen pops up (Altough I did not specify a layout upon creating the activity), and after my work is done the Toast shows up and the activity gets 'killed'. Basically that is what I want to do except for the black screen to show up. Is it possible not to show a screen upon creating the activity?
View 2 Replies
View Related
Jan 2, 2010
Its there any way to make dolphin the default browser for all applications that launch a browser? Like quick search?
View 13 Replies
View Related
Nov 11, 2009
I am trying to create a widget that, when clicked on, launches the browser and goes to a particular URL. Unfortunately, I have had a lot of problems. I started with a (working) widget that, when clicked, opened the alarm clock. Then, using the code from another Groups post (http://groups.google.com/group/android-developers/msg/ 11e54b1df3a4d279), I tried to convert it to open the browser instead. Here is my (non-working) code...
View 5 Replies
View Related
Aug 11, 2010
Is it possible to get more than one popup window in the browser?Popups are accepted in settings.We are using a website in my work that redirect first to one popup (and thats ok) but from there it redirect to another popup and its here the phone blocks the popup with the message tah one popup are allready open.Before 2.2 the first site open as a new site and not as an popup and the second as a popup and that was ok.I have tryed original browser, opera and Dolphin with the same result.
View 2 Replies
View Related
May 14, 2010
I went to the local VZW store to play with one. It looks as if the default web browser is limited to 3 windows, is this the case? I know stock android can handle up to 8. Is there a way of allowing more than 3 windows? or is it just a setting that was set on the store's demo phone? I know I can use an alternate browser like Opera or Dolphin (and I very well may) But isent the default browser the only one that can use the "Flash Lite" that HTC added? (Something I want to take advantage of until real flash comes)
View 8 Replies
View Related
Jun 2, 2010
Can anybody please guide me regarding how to launch my android application from the android browser?
View 8 Replies
View Related
Mar 6, 2010
I can launch several activities by clicking on link. These Activities are - phone dialing, web browser and probably couple more. My question is how to extend this list? How to make new Activity launch-able by link clicking? Let's say if someone receives email with link myapp://something.here?par1=val1 and clicks on this link my Activity starts. Is it doable?
View 4 Replies
View Related
Mar 4, 2009
Is there a way to launch an activity from the web page? Like <a href="dialer:123456">Call me </a>?
View 4 Replies
View Related
Jun 17, 2010
I'm trying to launch the browser from a wallpaper, but I get a NullpointerException... code looks like this: Code...
View 2 Replies
View Related
Sep 2, 2010
I have the following code... How can I fix this? or is there a different way to launch the android browser?
View 2 Replies
View Related
Apr 23, 2009
How can I programatically launch Browser in my android application? And how can I do that with it opens an URL instead of home page?
View 2 Replies
View Related
Jun 19, 2010
I tried changing the homepage, but it still crashes. Ever since upgrading to 2.1 OTA, the browser has always seemed to crash on first load. Launching the browser a second time brings it back up instantly. It's rather annoying. Anyone else notice this? Is there a tweak/change available to try?
View 2 Replies
View Related
Apr 19, 2014
I am developing a network that will have a welcome screen right after the Wifi connection of the device. The welcome screen is an html file that is downloaded from the router. When i try this system on IOS platform a captive portal screen (pseudo browser) is launched and read the HTML file.
Android platform on the other hand is only pop up a notification that is required to tap in order to open the html file (launching an installed browser).Is it possible to force the device to automatic launch browser without poping the notification?
View 2 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
Dec 10, 2009
I saw somewhere in a video that when you are switching windows you could see a preview of the website (like the iphone, or in my case the ipod touch). I was wondering if there was an option to enable that compared to just the name of the site and address. Figured it makes life a little easier and looks prettier!
View 3 Replies
View Related
Dec 29, 2009
I know that the Eris will hide the URL address window once it loads a page. for the life of me i haven't found a quick and easy way to show it.
View 2 Replies
View Related
Jul 20, 2010
Just tried out xscope for the first time last night, the best browser out there! Its pretty awesome, however I cannot get it to launch the YouTube player to play YouTube videos OR download them, any workaround for this? I only get a "play video or download" dialog when trying to play a YouTube clip and neither work.
View 6 Replies
View Related
Jul 13, 2010
On my LG Ally every time I try to type into a login or password box on a website if I use a letter g or a letter s I get thrown out of the browser and into gmail or messaging. How can I disable quick launch when the browser is active? For the time being I have just removed the associations in quick launch.
View 7 Replies
View Related
Oct 17, 2010
I am trying to load BROWSER VIEW intent in android within onTouchEvent. Basically i have create a live wallpaper and if i click on it then i want to open BROWSER VIEW intent with a specified uri. i have tried following code inside onTouchEvent Uri uri = Uri.parse("http://www.google.com"); Intent intent = new Intent(Intent.ACTION_VIEW, uri); startActivity(intent); but i am getting following error I am trying to load BROWSER VIEW intent in android within onTouchEvent. Basically i have create a live wallpaper and if i click on it then i want to open BROWSER VIEW intent with a specified uri. Code...
View 1 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
Jan 31, 2010
Notice this on the stock browser when it first launches? This takes up at least 5 seconds or more when you're just trying to open up the browser to go to a site. Seems unnecessary. Would be better if it just pulled up the browser. Is there a setting to change this? I like the stock browser, otherwise and I'm not interested in Dolphin. I hear it has advertisements on it?
View 5 Replies
View Related
Jul 29, 2010
I need to make an android App that when the user navigates to my webpage with the browser and clicks on a specific link my App activity gets launched. I try to achieve this using Intent filters but without success. I followed some samples like Notepad and PhotoStream but nothing works for me.
View 1 Replies
View Related
Nov 19, 2010
Can't I cut and paste from a browser window or text editor like you can on the iPhone?
View 1 Replies
View Related
Apr 7, 2010
I have just created and iPhone web app, which has some x264 (mp4) video files on it. When I link directly to the file on the iPhone and the user taps the link, the video player is loaded and the video starts playing. Using the app on an Android phone causes the browser to download the video instead of just playing it. Is there a way to force a video player to just boot up and play the video not download it?
View 1 Replies
View Related
Jul 25, 2010
I want to specifically run the default Android browser for a given URL. I'm using this code: I also tried adding <uses-library android:name="com.google.android.browser" /> to the manifest. Am I missing something here? PS: I'm not interested in using startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.google.com"))) as it will list all the choices for the browsing Intent.
View 3 Replies
View Related
Apr 11, 2014
I'd like to make my browser continue loading homepages, even when I'm not starring at the respective tab. Hardware-wise this should be entirely possible with a Quad-Core CPU.
Right now, there is no root or custom ROM on my device which I'm willing to change in favor of the above improvement.
edit: 4.4.2 OS installed
View 14 Replies
View Related
Oct 31, 2010
My stock browser used to crash immediately upon launch, no matter where it was being launched from. So I always have to start the browser twice.
But I recently rooted and went with xtrSense. At first it all seemed smoother, but after a few days, it's back to crashing on launch again. Once I re-launch, it seems to work fine, but this is still a hassle.
Thought rooting would b my magic "fix-all".
View 3 Replies
View Related
Jan 21, 2013
In Froyo, how do I change which browser and page lauches when I hit the little grey globe at the bottom/center of the screen?
It used to launch the Dolphin Browser "speed dial" but somehow got reset to the stock browser.
View 3 Replies
View Related