How to link android app to a database server? - android

We're trying to run this github project as a reference for our own project:
https://github.com/gaodayue/RESTaurant_android
It executed after a lot of effort but we can't seem to get past the login page which is shown in figure below. It just says "Unable to login, please try again." and doesn't get past that point. I imagine we need to setup a database server as given in the link below and link it to the app. https://github.com/gaodayue/RESTaurant_backend
We don't have much knowledge regarding database servers so how can we get past the login page and access the app? I've already setup all the softwares as said in the backend link, now what would be the next step. Serious help required.

Related

Fetching data from a website into a Mobile Application

I am trying to fetch some data from my website, my website is a hotel booking website where I can book/reserve rooms, then the app will be as a reporting app, all the data that comes from the website will be directly go to the app, all the number of bookings, number of reservations, free rooms, will be directly go to the reporting app
Any tip on how to do it? I am using Android Studio.
if you needed other information just comment and I will answer them at the comment section or update the question, thank you.
There are 2 options, make your site mobile friendly and don't bother creating an app or learn about Webservices, I'd go for a Rest Webservice, create one and, only then, learn how to integrate it with your app.
If you already have a Webservice, I don't know from your question, learning Retrofit or OkHttp is a good starting point.

google cloud platform for saving my database of android app

I am a new Android app developer and I have a freelance android app project as task for me
the app idea is something like social networking app
I don't know from where to start .. after I did some research and found parse. com as backend server cloud but then I found that it is temporarily closed then I found google cloud platform as an alternative,
but I don't know how to start what to do
example I want first to create login screen how I can save login data to the server?
Is it right to create mysql database as usually then import them to the platform
really I need a help and don't know how to start
and this is my first freelance app project if I success in it I can be an employer to the company I
need some tutorial or reference or sample code to understand the idea.
Parse.com is going to shutdown it's services in next January, why don't you go for Backendless or App24 (Both have tutorial on their websites for android and other platforms). Both of them are free with complete backend data control without any required special server side still.

How to login with facebook on android app with NODE.js server?

i created an android app that talks to a web server written in NODEjs, i built login/sign up system and its working good. I want to add the connect with facebook thing, i succeed added it to my application,and after i hit log in with facebook i get the access token and everything, but what do i do next? how i connect it to my node server? i need to register new account? but what the password would be? I didnt find a lot of information of how exctly all this done. I also know of passport.js(The facebook strategy) in node, but i cant seem to understand how it working if i already have the access token from my android app.
I would be happy if someone could explain me exctly how its all working and what i should do next. thanks!

Android django facebook login

this is my first project with django and i'm using python social auth to create users with the facebook account's and works fine, now im trying to do the same thing but from android and save information on server, some clue to do this
Check the documentation regarding that at http://psa.matiasaguirre.net/docs/use_cases.html#signup-by-oauth-access-token https://python-social-auth.readthedocs.io/en/latest/use_cases.html#signup-by-oauth-access-token. There you will find a code snippet that will simplify your work, take that snippet as a template where you fill the details related to your project (like the return data, etc).
Edit: updated documentation link.

Android How to fetch yahoo Contacts

i want to fetch the yahoo contacts from my android app, if i click the button it has to ask for log in to yahoo, after successful logging in we can able to fetch the contacts, is there any way to do like that or any sample code, please guide me, thanks in advance.
Check out http://developer.yahoo.com/social/contacts/ and sign up as a developer.
http://developer.yahoo.com/social/rest_api_guide/ysp_api_book.html For some more information.
Regarding to examples, there really are tons and tonnes of them out there. Either use their rest service directly or implement the SDK available at: http://developer.yahoo.com/social/sdk/index.html

Categories

Resources