1
I’m making an application that connects to a database that is in sao paulo, it serves as a ratchet, checking by QRCODE
users card if they are registered or not. It’s just that the company I’m working for makes a lot of trips and controls entry to various places. I received the advice of a friend of mine, that the best would be to download the bank to the tablets instead of connecting to the bank through an internet. The truth is, I’m a little scared about it, because the Internet can make me look bad. But I don’t know methods to run a database on a system android
(tablets), someone would know how and if I really should do this?
Note: The internet can be 3G in some places instead of WI-FI
Why not use a webservice? Just have a webservice to get the information, your QR-CODE returns a
int
and you check along with the webservice.– Ronny Amarante
But with the webservice, you will need an internet connection?
– Rogers Corrêa
@Rogerscorrêa - I would think about the possibility of downloading the database even to the devices and update when there is connection available, to receive the new data registered.
– emanuelsn
Gave a searched and with a rooteado tablet it is possible to install Mysql. Not pretty or recommended, but in your situation you can help: http://architects.dzone.com/articles/your-own-mysql-database-server
– Renato Carriço
Yes with webservices you need internet! Search for Android Sqlite. Remembering that an experienced user can change this "local bank" by releasing access to any QR-Code, weigh the 2 points.
– Trxplz0
Interesting, but I’ll leave it to the last case.
– Rogers Corrêa
I don’t think that would solve it. Because I would need to be online in the same way.
– emanuelsn
You’d need it, but it would be a small requisition. Your problem in using local bank is that the user changes this data and if you want to block the user from having access to the site, how would you? Would the person have to download their updated list always? And if not downloaded? So it is critical you do this with need to internet connection.
– Ronny Amarante