Want to add my Android app icon to a contact screen (in the regular contacts display), so when a user checks out the contact he / she can press it to automatically start the function for that user.
A good example of this practice is WhatsApp, which adds its icon to a contact so you can press it and immediately start messaging a user (if there's a WhatsApp account associated with it).
Does anyone know how to use the API to do this?
Related
I have a problem that looks familiar but with a different use case.
I have an application in which I have a url like below
https://www.myWebLink.com/referral-id/xxx
where xxx can by any user ID.
Note: This url is a sharable url, which is shared by any user, with it's own USER ID, so when a next user opens link, it will display USER ID of the user who shared URL.
All I want to do is when user shares above URL and it's clicked, there are 2 possibilities, either application is already installed or not and there are 2 actions as well.
1 - If application is installed, it opens the application and user ID is populated in the field. (This point is working well, i have handled it through deeplinks)
2 - If application is not installed, it should land to googleplay and once user installs the application, it should land back to application with user ID populated into the field.
For second point I am able to redirect user to googleplay, for that I have used "firebase dynamic links" but the only problem I am facing is, I have to define URLs in dynamic link template, but for my case a URL totally depends on the user (as it has unique USER ID).
So my question would be how can I achieve the second part where once user installs the application from googleplay, it lands back to application with user ID populated.
Thank in advance.
I have developed an android Contact application (To view, edit, delete and call contacts)
How can I set an app as default in android programmatically ?
please help me,
Thanks in Advance.
There's no notion of a "default contacts app", if your app can handle certain intents (for example adding a new contact) Android will show an app selector dialog to the user asking which app they choose to complete the action, the user can also select that app to be used automatically in the future.
If your app is also a Phone app, then there is a way to ask the user to make it the default Phone app, see: Replace default phone APP
If you're referring to the "Contacts" app launcher on the user's homescreen, there's no way to make it launch your own app, you need the user to manually remove the existing launcher and drag your app to their homescreen in its place.
I am writing an automation app and would like to share Glympse location automatically without user interaction when the user starts to drive.
I took a look at the SDK to use Android intents, and it looks like I can populate all details, but to get a link, the user still needs to click the "Create" button that pops up. I get the created link back in my app only after the user clicks the "Create" button.
Is there a way for my app to get the Glympse url without user interaction?
Sending a Glympse without an explicit user action is not currently supported through the Glympse app. It's technically possible to do it using the Glympse client SDK, but doing so goes against the stated "Best Practices for Respecting User Privacy" https://developer.glympse.com/docs/core/guidelines
A Glympse sharing event should be initiated only by an explicit user action on the Glympse form (e.g. user needs to tap "Send" on the Glympse form to start the Glympse). In other words, your application may not programmatically invoke the "Send" command on behalf of the user.
When I'm going to invite my friends through my developing app to WhatsApp, if I click to invite my friend and then WhatsApp contact list comes up and I do not want to invite any friend. Why my invitation count is going to decrease by one?
On a high level: Because you have set your counter to work whenever you go to the page, not to whenever you add a contact.
I have an app that, when a user sign up, sends an email for activation. When the user taps that link my app starts overlapping the mail app instead of opening or bringing to front the one that the user used to sign up. Is there a way for the link to open or brings to front the one that the user used?