Android : Launch An Activty From Browser By Clicking A Webpage Link
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
Aug 3, 2010
Apologies if this has already been posted, but I did search the group before writing.
I am trying to launch an Android app via a hyperlink from an HTML site - i.e. tel:+448458001020 would call play.com from my phone upon clicking the button that has aforementioned hyperlink. Or putting a hyperlink on a button geo:0,0?z=17 opens up google maps on my phone with my location at a zoom of 17, mailto:n...@email.com would email and obviously http:// would take the user to another webpage.
Is it possible to launch an Android app already installed on the phone this way?
View 2 Replies
View Related
Jul 13, 2009
Is it possible to put a link to an app in the market on a webpage? If not, and the apk is hosted directly, can we assume download stats in the market will be unaffacted?
View 4 Replies
View Related
Oct 13, 2009
I have some WebView widgets inside my Activity. I use loadData() to set the content, and this html contains a link. Some of my WebViews work okay, when I click the link, the web browser is started in a new window, but some make my app crash when I click on a link.
10-13 08:45:24.257: ERROR/AndroidRuntime(751): Uncaught handler: thread main exiting due to uncaught exception
10-13 08:45:24.308: ERROR/AndroidRuntime(751): android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?
10-13 08:45:24.308: ERROR/AndroidRuntime(751): at android.app.ApplicationContext.startActivity(ApplicationContext.java:627)
10-13 08:45:24.308: ERROR/AndroidRuntime(751): at android.content.ContextWrapper.startActivity(ContextWrapper.java:236)
10-13 08:45:24.308: ERROR/AndroidRuntime(751): at android.webkit.CallbackProxy.uiOverrideUrlLoading(CallbackProxy.java:185)
10-13 08:45:24.308: ERROR/AndroidRuntime(751): at android.webkit.CallbackProxy.handleMessage(CallbackProxy.java:277)
10-13 08:45:24.308: ERROR/AndroidRuntime(751): at android.os.Handler.dispatchMessage(Handler.java:99)
10-13 08:45:24.308: ERROR/AndroidRuntime(751): at android.os.Looper.loop(Looper.java:123)
10-13 08:45:24.308: ERROR/AndroidRuntime(751): at android.app.ActivityThread.main(ActivityThread.java:3948)
10-13 08:45:24.308: ERROR/AndroidRuntime(751): at java.lang.reflect.Method.invokeNative(Native Method)
10-13 08:45:24.308: ERROR/AndroidRuntime(751): at java.lang.reflect.Method.invoke(Method.java:521)
10-13 08:45:24.308: ERROR/AndroidRuntime(751): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:782)
10-13 08:45:24.308: ERROR/AndroidRuntime(751): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
10-13 08:45:24.308: ERROR/AndroidRuntime(751): at dalvik.system.NativeStart.main(Native Method)
There seems to be a problem with the Intent that the WebView fires when I click the URL, but I have no control of this Intent, I think. Does anybody have any idea?
I use this AsyncTask to set the content in the WebView, and it works fine.code...
View 1 Replies
View Related
Feb 2, 2009
I want to extend the WebView so that I can override the action of clicking on a link in the webview. At first glance I do not see how to do this. I tried adding an onclick handler to the WebView and that had absolutely no effect. I am not seeing very much info on extending the WebView control and was hoping someone might have some suggestions.
View 4 Replies
View Related
Feb 28, 2010
My app has 2 activities - A and B. From homescreen I launch A, from A I launch B. The activity stack looks like this: A-B. Now I press HOME button, and from homescreen click again on my app icon, which launches A and adds it on top of the activity stack, which now looks like this: A-B-A. But I just want to bring my application to foreground, is that possible in Android?
View 2 Replies
View Related
Nov 4, 2010
Excuse the simplicity of this request - but is there a way for me to link onClick commands for buttons through the Layout rather than code. I am trying to create a simple app and I want to be able to make buttons and have clicks go from one "page" to the other.
If not, could someone please point me in the direction of the code needed for it?
Is there a site that might overview how to use the UI to code for droid?
View 2 Replies
View Related
Nov 2, 2010
I'm trying to catch the mouse click location so I wrote an onClick in the body tag, but every time I click on the page the whole page turn orange for a little while. Is there any setting can disable this effet?
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
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
Dec 24, 2009
Visiting www.google.com on the Android browser (or even with an android spoofed user-agent), presents the option to "Share Location". When clicked, it uses the GPS/Cell phone towers to figure out the location. I tried the google.loader.clientLocation but that only works using the IP address. Is there a method to tap into the Android OS and access GPS data from a regular web application (and not an Android application) similar to the way Google does? [Perhaps Google uses the Google Gears app on Android to access this data.]
View 3 Replies
View Related
Jun 25, 2010
Is there any way that a webpage can make a request for the users location from the android / iphone device ? Since all I need is the users location, I am trying to figure out if there is anyway I can bypass developing a native app and use some nifty html5 call to just get the users location so all a user would need to do is visit my webpage and provide permission to access his/her location?
View 2 Replies
View Related
Feb 21, 2012
Is there any way to make the browser or any browser to be able to double click a web page. My work website requires double click but double tapping obviously changes the focus in android. Yes, the work website is a joke but that's besides the point.
Someone was able to write a program for iphone to do this but they won't for android. They are fanbois so no dice.
View 1 Replies
View Related
Aug 3, 2010
Can I get the detailed description of how to launch application from web link or A trusted link where I can get the steps to do the same..
View 7 Replies
View Related
Jun 18, 2010
Android Market has a neat feature allowing you to launch it using a url in the format of market:// ... Is there an equivalent method for launching an application using a link?
View 5 Replies
View Related
Sep 7, 2012
Is there a browser which is able to view source-code of a webpage?
View 2 Replies
View Related
Nov 15, 2010
I am a newcomer to Android having recently purchased a Samsung Galaxy S I9000M (my first smartphone ever), marketed in Canada under the name Vibrant. It is running Android 2.1 and I have not yet rooted, unlocked or otherwise modified the phone.
I have downloaded and installed three browsers in addition to the stock Internet browser: Dolphin, Opera Mini and Opera Mobile.
After installing Opera Mobile I started having the following annoying problem:
When I was in the stock browser, every time I clicked a link the "Complete action using" window would pop up prompting me to select which browser I want to use. The choices were: Dolphin, Internet and Opera Mini (curiously, no Opera Mobile). I would check the "Use by default for this action" box and proceed to click "Internet" (the stock browser), which should have made the stock browser my default one. However, next time I clicked a link it would happen all over again.
This happened only in the stock browser, never in Dolphin or one of the Operas.
It's like my Android kept forgetting my choice of default browser although in the settings for the stock browser it said it was default.
I also noticed that after the installation of Opera Mobile the delay between clicking a link in any browser and the browser's reaction became noticeably longer (up to a second).
View 1 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
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
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
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
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
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