Add-on content Android app - android

I have an app that I want to connect to my web site via login in the app. Once logged in, the user can purchase extra content. So, I'll open the browser on the device and let them choose from choices on my website. Upon purchase, sending them to Paypal for example, what's the easiest way from the app's perspective to determine that the sale went thru and it's ok to download the content? Is there a "common" way to do it? I was trying to stay away from in-app billing. I've seen other apps do it the way I describe.

Have a look at in-app billing and there is also a nice tutorial here. You probably won't be able to use paypal.

Related

Can you provide a login screen for Actions on Google

We currently have an Alexa app that lets users ask for details about upcoming events, now the company wants to implement the same thing for Google's assistant. It seems like this is supported through "Actions On Google", which is very similar to Alexa.
One thing Alexa allowed us to do that I cant figure out with Google is setup a login screen. When a user first accessed the app via voice command, it would take them to an authentication page. We used this to tie an Amazon user to our internal records so that we could identify their specific information when they made a request. It was also used for authentication and authorization.
I dont see how to do that with Google. I assume that you can, but I havent been able to find it. Is there a way to set up a login screen so that when someone says "Hey (Agent), tell me about my day tomorrow", I can confirm who the person is to look up their information?
Yup, you're looking for Account Linking.
The term comes from linking the account they log into with your service to the account that Google uses to track them. You'll need to implement a basic OAuth server, including the page where they log into your service when they're directed there from the Assistant, and a way to issue authentication tokens to the Assistant. When requests come in from a user with a linked account, you'll get the tokens from the user, and you can use this to identify who the request came from.

Android LinkedIn without LinkedIn SDK

I want to use LinkedIn in my Android application. I am not sure whether it is right/doable or not but I want to integrate it without LinkedIn SDK. I meant to say, whenever user clicks on login button it should go to the web using webview and user will login there and it should come back. Then I should be able to access the minimal user information.
Just wanted to know whether it is possible or not!
Thank you
It's possible but you end up with a few issues.
If your app becomes successful you increase the chance of having expensive conversations with LinkedIn lawyers.
Essentially you'd be using a very unofficial and undocumented api which would be subject to change at any time.
If you're doing the project for yourself as research project or for your own internal business use then what you're looking for is to communicate between your native app and the webpage.
See search google with android javascript communicate with web page view

PayPal Android Integration - Login Process

I have successfully been able to integrate PayPal into an Android app, and get it working within my Sandbox account.
However, this means each and every time I want to make a payment, I have to at least go through the PayPal Confirm page.
Is there a way that once a user of the app logs into their PayPal account, that this Confirm page can be skipped? Or, more to the point... a user can click a "Pay with PayPal" button, and everything be handled automatically from that point?
Not at the moment. The SDKs require at least two clicks (pay, [login if necessary,] confirm). This is pretty standard among PayPal products.
We'll be releasing a feature shortly that offers an optional improvement to this. Be on the lookout!

Android Multiple users log in to Facebook api 3

How can I allow multiple users to log in via facebook SDK?
It seems that the sdk is using the local native facebook app, so the user currently logged in is who gets authorised, but I want to be able to authorise others.
Is there anyway to force it go through the web dialog view where maybe a user can log in?
I ask this as some users of my app will have a personal and work account and want to be able to access both.
Any help would be great
Checkout the SwitchUserSample that ships with the SDK.

android openid authentication

It might sound silly but i went through a lot of code examples for Open ID authentication of android application. This one says
https://sites.google.com/site/oauthgoog/oauth-practices/mobile-apps-for-complex-login-systems/samplecode
that you have to make a webview and from webbrowser get the token and all but what i want is really simple , given options for google, facebook and twitter, I want user to select one and authenticate without any browser or so. Is that possible?
This one also i tried but it apparently seems to support only google accounts but i want all three
http://blog.notdot.net/2010/05/Authenticating-against-App-Engine-from-an-Android-app
Any help ?
OpenID technology is based on browser confirmation, so you can't identify the end-user without it. Take a look at this link: http://lists.openid.net/pipermail/openid-code/2011-January/000190.html

Categories

Resources