Remove All Ads from XDA

App for Database question

1 posts
Thanks Meter: 0
By CityUstudent, Junior Member on 17th April 2017, 08:00 AM
Post Reply Email Thread
I am a student and I have a project to create a app for reservation . My question is how to show the data according to my database.
Like a student login his account and how to show his profile information according to the database.
Is there any coding to add it to scrape the data from the database and show it on my application?
And I use the SQLiteDatabase for my database.

please some body help me... Thank you
27th April 2017, 04:19 PM |#2  
usman farhat's Avatar
Senior Member
Flag Karachi
Thanks Meter: 106
Divide your work into steps, that is:
1. If you are keeping a database in a website then there should be a piece of code on the website which takes requests in form of username and password, and returns the data.
2. If you can't do this but the data is on the internet then the unsafe way would be to download the whole database and then authenticate and search using client side code (security experts will want to murder you, though).
3. If you are going to populate the data from scratch only using your application, then Firebase by Google is a good and free solution for student level apps. Here you can have the data on Google's servers and request the data using user-password authentication. This is very safe method.

If you decide to use Sql, the typical unsafe query would be similar to querying using WHERE command wherein the parameters are username and password. But that should only be done on your website, and not on the client.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes