Launch an activty from the browser by clicking a webpage link - android

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.

The question is answered in detail at
Launch custom android application from android browser
Hope it solves your problem.
Thanks,
-A

Related

Link for launching and adding to Evernote app

I want to add a button to my site so that when a user clicks it, it opens a new note on the Evernote app and saves a specific message.
I've looked everywhere for this but didn't find any info about it.
Is this possible?
Edit:
I'm sorry the question isn't very specific but I'm not really sure on where to start.
So, what I was asking was is there was a way to create a link with an href that would open in the Evernote app. So:
Is it possible to add an href that will open on the Whatsapp app? (I've seen that something like evernote:// should do it, but how's the syntax of this and does this work in both iOS and Android?)
Is there code in Javascript that would do the requested? (opening the Evernote app with a text that I would choose).
Once again, thanks for the help!

Chrome Custom Tabs without intent for user

I'm trying to implement Chrome Custom Tabs but in my small example, everytime I launch a URL it asks me with which browser I'd like to open it.
I've seen some apps like Twitter official app where the Custom Tab opens without asking anything to the user. How can I achieve that?
Thanks in advance
EDIT:
I've followed this tutorial, so my code is 99% the same and the issue is the same in both codes.
I´ve solved the issue. I was launching the URL inside a RecyclerView when a CardView was clicked.
The problem is I was warming up the tab at the same time I was launching it. After changing that, everything worked fine.

Firemonkey TTakePhotoFromCameraAction.OnDidFinishTaking causes my app to restart

Sorry if this is not the best title, this is my first question here.
I'm developing a mobile app to read barcodes. In my app there is a login form before the main form loads. On the main form I put action list and add TTakePhotoFromCameraAction action to open the device camera and take photo using it. So far is working well, I'm following the tutorial here.
But after pressing the yes button after taking photo, my app returns to the login form where I assume it is restarted while it should be back to the main form where I call the action.
So what am i missing here. The code I use is the same as the tutorial above.
I'm using Delphi XE 6 update 1
Please let me know if I miss some information you need. Thanks in advance
Iwan
I experienced this same problem. To fix, in your android device, go to Settings > Developer options, uncheck 'Do not keep activities'.

Open an app by clicking on an URL in android

Check this out : Open an app when clicking on a url iOS
I'd like to do the same in android. Is it possible?
Check out this two links:
Hope that will help in overcoming your problem.
Visit Launch custom android application from android browser
Visit Make a link in the Android browser start up my app?
I believe you're looking for a custom intent
The manual on intents can be found here and an example of setting up a custom one can be found here

Start Androidapp with a link in a email

Hallo Developers,
is it possible to start a activity with a link from a Email like in Iphone SDK and start this aktivity with params.
Iphone example:
Appname:///?param1=value1&param2=value2
It appears to be possible - check these other answers on stackoverflow:
How to implement my very own URI scheme on Android
Android Respond To URL in Intent
Not to my knowledge in stock Android. However they've made a link scheme that will open up the Market application to a specific page, so this is possible. I would think however that in order to set something like that up the app you are wanting to start from link would have to be listening for clicks on that specific type of link and tell the system that it can handle them. I have no idea how you'd go about implementing that though, and it would only be able to start specific apps that were designed that way.
Try content://com.user.package.ActivityClass/. I haven't tried it so I am not sure if it will work though.
See here for more information: http://developer.android.com/reference/android/content/Intent.html

Categories

Resources