If a user owes me money, I want to start Paypal mobile app from my app using Intent with amount and payee information preset, all the user has to do is to verify the information and either confirm to pay or cancel to decline. Could someone show me how to initialize the intent, please?
I don't know how complicated you want to make it, but with PayPal it can be as simple as popping over to a full browser window with a URL structured like the following:
https://www.paypal.com/webscr?cmd=_xclick&item_name=description%20of%20payment&amount=77%2e88¤cy_code=USD&business=payee#example.com
Related
For my app, users are invited by email to join.
Currently, the link in the email is opening the web-browser to a page where the user creates his password. Then, the user has to install the app, open the app, and log in with his email and the password he created.
I am trying to make the process easier. I am thinking that in the invitation email, the link can point to "an app link". I know iOS has "Universal Links". The app will most probably not be installed, so on iOS, it will open the App Store app to install the app.
I am thinking to create the registration process in the app. But the issue is after the user installs and opens the app, the "app link" is lost.
The "App Store" app does not pass the original link to the app when the user opens the app first time after install.
Without the information from the link, I am not able to know in the app the email for which the user needs to create the password. I could ask the user for email also, but I was hoping not having to ask him about that.
I guess it's the same for Android.
Any thoughts how to make sign-up process easier?
EDIT: I chose a correct answer but to anybody who might be looking for an answer, I don't think Firebase or anyone else has a 100% reliable way of making a connection between the device where the link was clicked and the device where the app is installed. All the libraries are using some accuracy value and asks you to check it in code. If you think about it, it makes sense, because when the link is clicked and gets open (and that can be in any web-browser app) the JS code needs to compute some hash of the device and it will try to compare it to the hash of the device computed by the app's code when app is open after install.
You can use Firebase Dynamic Links to achieve this.
Please refer Firebase Dynamic Links
i think you have to use Webview for this
You can do this with Appsflyer SDK.
Checkout the documentation https://www.appsflyer.com/blog/app-installation-referral-conversion-tracking/
Is there any way to start a facebook chat using the messenger application. I know we can lead a user to the messenger application using intents and using their Messenger API. But I want to do is open a chat window directly with particular user using the facebook User Id.
Is that possible?
I found this post
Android Facebook sdk messaging ID mismatch
I couldn't really find much else and I was hoping the new messenger API might support that kind of an interaction?
The answer is in the first comment of the other thread: That solution does not work with App Scoped IDs, and you don´t get the real IDs anymore. Even if it would be possible, you can only get App Scoped IDs of friends who authorized your App too. Meaning, it´s impossible.
to start Facebook messenger with a particular user
check this answer dear will help you how to start with particuler user
try this...
final Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("fb://messaging/" + facebookId));
But you have to know the facebook id .
Ref: How to open specific contact chat screen in various popular chat/social-networks apps?
we have a standalone android application(video portal) once the user click on buy now video, we want redirection to another
android application(user verification).
The question is , is there any way we redirect control from video portal application to user verification portal. We don't want
user to install two different applications, realizing him that he is using only one application.
Any Suggestions on this will be highly appreciated.
Try using an intent with the parameters that will fire the other app if it's installed. If it's not installed you can still link to it to the market to download it like this:
market://details?id=com.fletech.smartbaby.android
https://play.google.com/store/apps/details?id=com.fletech.smartbaby.android
See more details and java example here:
http://developer.android.com/distribute/tools/promote/linking.html#android-app
I suppose you need to pass some parameters to the authentication app, together with the "link" or PendingIntent to an activity in your app that will be started after successful authentication.
Hi guys I'm developing an app where in i need to choose an app to share my status.
I'm using something like this
startActivity(Intent.createChooser(Myintent, "Share..."));
But the above line opens a window asking user to select the app to share with.
I want that option to be automated.. precisely I'm looking to update status on google plus..
So I need to start activity which chooses google plus to share...
Im guessing I need the activity name but com.google.android.app.plus opens google plus app but not the page that shares the status... Im looking to prepopulate the status string so that user just have to press send
Have you thought about using the Google plus API? You could send the data via http requests so that you would be able to stay in-app throughout the whole process. I think this kind of solution could be a much smoother experience for the user so they wouldn't have to move in and out of your app in order to accomplish posting to google plus.
Check this answer: https://stackoverflow.com/a/9229654/857583
In this case, call initShareItent("plus");
But you'll have to change the mime type to plain/text or something else.
It is starting the Google+ app, but the recipient or mail address is not filled in unfortunately.
So, EXTRA_TEXT is filled in but EXTRA_MAIl is not.
I want to give Auto-tweet option in my App to the user. When the user chooses the auto-tweet option then onwards users data is tweeted through his Twitter account ( but not through the App twitter account) on certain Event (predefined by the App).
Is this feasible? If so can someone please tell how to do this?
Thanks
Have a look at Android Intent for Twitter application you can use an intent to specify that you want to tweet, and then any application that handles tweeting can accept this intent. Is that what you want to do?