I've added Google and Facebook login. What is the best way to get details from those who don't use Google or Facebook?
you can use Firebase database to register users and save their information.
also you can use SQL Server or SQLite to save info.
Probably you need a server.
Develop the API for registration and login (maybe you want to use oauth2), then in your Android APP build the forms that gather the informations and pass them to your server APIs.
There are a lot of tutorial around the web. Stack Overflow is not the right place for tutorials. Try to do it and when you are stucked from a specific problem, you could ask here.
Related
I going to implement a login, register and login with guest. May I know how did I go first? And how can I store the user in local or database? Which one will suggest? And I will using a google map, I hope the database or storage can log the user with google map api location.
If you do not want to write a backend for the user management, you can use Firebase. It is very simple to use in Android Studio with built-in methods.
Beginner here.
I'm creating an app in Android Studio (Java) where the user can create and store PDFs on the app and send these to another account on the same app, on a different device.
The user will have a list of contacts stored in a database.
Do I need a server to do this? Are there any tutorials online showing one how to code this? (I've been searching for hours but can't find anything specific to my problem. Maybe I'm wording it wrong...)
I was looking into Firebase but I'm completely lost on where to start.
Thanks!
For simple use cases you don't need a server, you can use firebase instead. Currently, they have a storage feature that lets you store files on their servers and retrieve them later.
Here is the official documentation firebase cloud storage
One thing you could do is upload the file from android device and download from another one.
I have done some researching but I haven't find a clean explanation of how it all work.
I would like to know how does applicationa like Instagram, Wordcrack (online game), AirBnb and many other app have tier "Login with Facebook" done?
I currently work on the Java REST services that backups up an iOS app.
If some one already has done a similar things in their app/server I would really appreciate some help
I'm not looking for ready to use code answer but more of a general idea of the architecture to achieve this.
thank you!
I've done it in JavaScript, but the principle will surely be the same.
You have an API, provided by facebook. There are some information there :
https://developers.facebook.com/docs/apis-and-sdks#third-party-sdks
And, more than that, you have declare your own app on facebook. This has, for me, 2 goals :
provide the url of your server, so when you'll call facebook with the
login information, he will know where to redirect
specify the access your app need.
When i've begun to watch this, i've discovered satellizer. I think that's a good entry point to understand how it works with an example :
https://github.com/sahat/satellizer
Hope this help.
Supporting login through their website (Facebook,Twitter,Instagram etc) allows a user to use his already active profile to signup to a portal or an app. This way a user experience is enhanced and having to have separate login credentials for different apps and sites are reduced.
A developer utilizes the APIs or SDKs that these social networks expose to let you integrate it in your app and provide an easy sign up process to your users.
This is my first time attempting to make a custom user database. I am trying to make a customer user database in Java in the google app engine - I understand that GAE offers a user openID service, however, this does not work for this application.
Can anyone point me in the direction of somewhere or give me the basics behind designing a custom user database for Java in GAE, how to check people are logged in etc etc? Or any other useful places that will help me on my quest.
Cheers
You can look at this boilerplate for inspiration:
https://github.com/davps/Spring3-GAE-boilerplate
That said, you don't need to use OpenID with Google's user service. See the available authentication options here:
https://developers.google.com/appengine/docs/java/users/#Java_Authentication_options
I've recently found an open source library that does, post on a users facebook wall(restfb and facebook4j)
All of them does the necessary things, but there's one thing left I need to do and that is to login and register users to my web application using their facebook account. are there any related frameworks for such task? if not, please provide alternative solutions
If i am correct in my understanding, all you want is to use Oauth or Open Id system to let user register and login to your website using Facebook or any other such service provider.
If i am correct in my understanding, there is a very good library which is quite easy to use and very light weight.
Scribe-Java
It also contains few examples which shows how to use it and how it works, let us know if this is what you are looking.