Android :: How To Launch Activity From Browser?
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
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
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
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
Aug 27, 2010
My app is comprised of a set of reusable Activities that other apps can reuse. For various reasons, I would like my Activities to be launched in context of the invoking Activity's process, instead of always being launched in my Activity's process (default behavior on Android). How can I achieve this?
View 1 Replies
View Related
Aug 31, 2009
In my android project, I have 2 Activities. How can I launch an Activity from an Activity. I know I can do 'startActivity', but my activity has NOT registered for any Intent, is there anyway I can still launch it from my activity?
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
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
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
Aug 12, 2010
I'm working on an app that launches the browser activity to perform a Twitter OAuth authorization. This process uses a callback url which will re-launch the activity that started the browser activity in the first place.My problem is that the browser pages remain in the history stack and when the user then clicks back from the preferences activity that launched the browser in the first place, they don't go back to the app's main activity, but instead are brought back to the browser. I've tried adding flags to the launching intent to prevent history and reset on clear, but it doesn't seem to work when running on my phone, only on the emulators.
View 1 Replies
View Related
Nov 30, 2009
I have 2 projects (each has its own apk). Can you please tell me how can I launch an activity which is in another apk that I created? I have this activity which I want to launch from another project: what should I put in here so that I can launch this from another activity in another project?
View 1 Replies
View Related
Apr 24, 2010
Is it in any way possible to launch an activity from the main function without having a UI? i.e. is there a way to create a sort of "wrapper" around another activity, i.e. by launching the main activity, it takes you to another activity automatically. If that is not possible, is there a way to remove the main activity from the stack so that clicking the back button does not take you to a blank UI?
Here's an example of what I'm trying to do:
public class WrapperActivity extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
final Intent intent = new Intent(Intent.ACTION_DIAL, Uri.parse("tel:555-1212"));
startActivity(intent);
}
}
View 4 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 7, 2010
I have a main activity, then i call a new activity intent from this. Lets call this SecondActivity. Then from my secont activity i call a browser intent. Then my browser intent call my second activity's onNewIntent method.Evereything work fine, but when i click on "back" button on my phone on my second activity, i will not going to my main activity, but the browsers activity, why?
View 1 Replies
View Related
Feb 18, 2010
For example, typing "321" launches my application.
View 9 Replies
View Related
May 5, 2009
How can I launch an android activity, defined with.* public class MyActivity extends Activity {...}.from a Java method ?
View 6 Replies
View Related
Oct 21, 2009
How to set a shortcut key to launch an activity ? Lets say I have an app "TestApp". I want to set a shortcut key (e.g alt + T ) to launch activity of TestApp. Is there any way to set such shortcuts to android apps?
View 3 Replies
View Related
Dec 28, 2009
I'm new to Android development, so I might be missing something obvious. I want to launch an activity when the user's phone clock hits a specified time (similar to an alarm). However, I'm not sure how I would go about doing this as constant polling of the clock seems inefficient and a waste of resources. Do I need to capture broadcast events from the lclock, or use PendingIntents?
View 1 Replies
View Related
Jun 2, 2010
I have an screen that displays all the names in the Contacts in a ListView. When the user clicks on a name, I want to launch another Activity which display the details of the selected Contact (Phone number/ email) in another screen. How do I display details for the selected row. (i.e When starting the intent how do I send over the row_id of the item selected)?
I've tried the following code:
Intent i = new Intent(this, ContactDetails.class);
startActivity(i);
View 1 Replies
View Related
Jul 29, 2010
In order to keep some native code happy, I need to launch an activity in a new process. Does anyone know how to do this?
I can set the activity's process attribute in the manifest, but this will cause *all* instances of the activity to appear in the *same* process, which I can't have.
I'm willing to use internal APIs for this, and I've found Process.start(), but it's not at all clear how this is supposed to be used.
View 4 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