Is it possible to have some piece of data passed in to the app on the very first app run through via the Google Play link (maybe as an Intent).
The scenario I envision is this:
I share a special url to my app in the market for special clients (promotion, etc)
They download the app, install the app.
On the first run, I can pull off the data I put on the url somehow
Magic happens
Current Solution
My current solution to this problem is sending out a generic link to the market, and have a second url that they click that my app has an intent-filter. I'd really like to have only one url for people to click.
Thoughts
An alternative I've considered, is having the link go to my server, save some unique information about the HTTP Request, then try to correlate that information with a web request on the first app run, but that seems very error prone (IP isn't unique on Wi-Fi behind a NAT, User Agents don't match...).
Any advice would be greatly appreciated.
Have a search for the com.android.vending.INSTALL_REFERRER Intent. This source, for example, says:
Starting with Android 1.6, the Android Market's emits a broadcast
Intent named com.android.vending.INSTALL_REFERRER whenever certain
parameters are added to the market url. Note that web version of the
Market also passes these parameters to your devices upon install.
I have no idea how up-to-date or well-supported that is, but it sounds like what you want.
Related
When I launch the firebase dynamic link, it keeps relaunching my app. Is there a way to not relaunch it? For iOS and Android. Android I read you have to put the intent filter but I do not know how to do it for iOS. Because of certain functions, i require the app to maintain its state, because I am waiting for a webhook from the other app that I have launched to.
And the other app, doesnt append the data back to me... so I lose all my data. <<< this happens IF I provide the dynamic link to the other app and it calls the dynamic link.
Currently, what I am doing is just relaunching the app and relying on a callback url that the other app offers which also currently not working out, firebase dynamic link gives me useless information, instead of keeping the original link, it gives me the fallback url, which unable to append parameters as the other app appends a & without url encoding, so all i get is a url with 0 information.... and even with the information I have to jump through hoops to navigate to the right page... seriously... why?
Please help. I have no idea what to do.
PS:
So ultimately removing all my intent-filter with host and scheme of my Firebase dynamic link. Removing my associated domains app links. Ultimately, I am unverifying myself to the app link. But it gives me the most ideal result which allows an external app to call my app, and continue where I left off.
I have android 10 huawei phone.
I found out that when I receive an sms with a link in it, my phone does a background request to the linked url.
For the test, I've made a custom link to my apache server. And checked the logs. I can see a regular GET request coming from non-my IP (66.102.9.127 which seems to be a google-related IP).
I know about the OG. But my settings state that I should explicitly click the preview area to load the OG.
That looks like a security breach, as some services may send my one-time verification links. And it seems, like google does some scanning on my messages and checks the links in it.
You might wanna check any base application comes with the phone doing that or not, instead of google. Any trace logs?
Recently I built an Android app that consume data through JSON from a back-end. There is no public/front zone, it's only back-end. Moreover I built a showcase-website just to let people know the app exists.
Back-end and Showcase-Webiste reside at two different URLs. In the developer console I enabled the app indexing and the showcase-website is the one I set.
I'd like to add deep linking but I can't figure out how to configure the intent-filter.
For example, suppose my showcase-website URL is this:
http://nolimitsworld.com/
How should I configure the data section of the intent-filter? the host parameter should be?
The question in your subject line is misleading. You do have a public web site, and that's your showcase web site. Use that showcase web site for your intent filter. The backend url only gets called from your android app anyway, so no one needs to know that one but you.
If you still need help figuring it out, please remove the api url from your question, and just show us the url to your showcase web site instead (and only register that one with google).
Now if your other concern is that you wish to index your application without going through any web site at all since most people wouldn't recognize the domain name of your web site anyway, then there is actually no need to do deeping linking and app indexing through google.
You could just get away with indexing the content of your app with a search provider and launching your app with an explicit intent. Google doesn't even need to get involved if you do that.
for some business application scenario, we need to make an application (or a background service/daemon) that sits on an Android device and is activated when person, using any Android browser, comes to a certain website. We control the website content and can put any HTML/javascript/something else in it if needed.
So the idea is that popup window with some message/choice is presented to the user when the user visits the website and clicks something. One idea, which I don't know if it is feasible, is to listen for all HTTP requests (if this hook exists somewhere in the SDK) and recognize an URL we are interested in, which would in turn trigger our application.
Any other ideas?
Kind regards,
Bozo
One idea, which I don't know if it is feasible, is to listen for all HTTP requests (if this hook exists somewhere in the SDK) and recognize an URL we are interested in, which would in turn trigger our application.
Fortunately, this is not possible.
You are welcome to create an application that has an activity with an <intent-filter> that identifies the URL you are interested in. Depending on how the user accesses the URL in question, they may get a choice of launching your app or one of their browsers. Users, of course, are perfectly welcome to ignore your app and load up the URL in a browser.
Any other ideas?
Any solution would represent a security flaw in Android. Hence, I sincerely hope that you fail in your quest.
You could write a proxy.
Orbot uses iptables to redirect to it's proxy service but it seems that not all Android distributions have the iptables module enabled so it might only work on rooted devices.
https://gitweb.torproject.org/orbot.git/tree/HEAD:/src/org/torproject/android
I'm looking at building functionality similar to Amazon's Appstore installation flow (http://www.amazon.com/gp/feature.html?docId=1000626391&ref=mas_gs) to get a user to install an apk without going through Google's App Market.
Basically, I would like to provide a web page form that accepts an email or phone number. In Amazon's case, when the user enters a phone number, it sends a notification to the phone with an actionable link that can be used to finally install an apk.
To build something similar, what is the best way to actually implement this so that the user receives an Android notification that is non-intrusive, but noticeable enough that they can expand it to complete the install process?
Note that at this point, the user does not yet have any version of the target app installed yet, so it's solely reliant on the user providing a phone number to reach them.
First Option:
You would need some kind of integration on your web site to be able to send sms.
A quick google search returned a site with a list of some possible services that can let you do that: http://mashable.com/2008/04/19/send-text-messages/
And you would sms a direct download link to the application wherever it's stored on your server.
Then they would download and install it.
Second Option:
Say screw the phone number business, and just have them click a download link on the website.
Third option:
Use email.
This link, another one I grabbed from google, might help with that: How do I send email from my website?
I don't really think there's any other way to do it, but I have never done web programming (other than simple html), so I don't really know that much on this topic.