Kurt6863778
Posts: 0
Joined: Sun May 11, 2014 2:15 am

Database contents being displayed on multiple phones instead of one phone.

Hey im new here. I seemed to have a problem with my app. Now , I created the binary file (apk) and my app also has a database involved so when I install the app on one phone/device, it is displaying the databse contents on another phone I have the app installed as well. why is that ? I thought that the database is unique to the phone in that if the app is installed on a particular phone that person can insert whatever they want in to the database on their phone and I can on my phone with no connection to each other's databse ... what did I do wrong ?

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Database contents being displayed on multiple phones instead of one phone.

Hi,

You can create app with user registrations and use "ACL" to configure access permissions to the DB records.
http://docs.appery.io/tutorials/build...
http://docs.appery.io/documentation/b...

Kurt6863778
Posts: 0
Joined: Sun May 11, 2014 2:15 am

Database contents being displayed on multiple phones instead of one phone.

hey thanks for responding so quickly, but I don't think that is what I mean per se, but thanks still cause it something I would use in the future. I probably didn't explain enough, so sorry about that (keeping in mind that im completely new to appery and android programming )

well.. to be precise ....

say for example , I created an app that is supposed to allow users to store different types of dogs. Now my proposed vision for the app was to give it to persons to install on their device and then each individual person can add their own dogs in their own database on their respective phone .

e.g : Person 1 has a phone (phone A) and he has the app installed on his phone and person 1 input the names of the 2 dogs (Jack russel & pitbull) . Now when person 2 (who also has the same version app installed on his phone , phone b) checks his app's database the two dog names are showing in phone b of person 2's phone....which I do not want to happen. I thought it would occur in such that when person 2 checks his database it should be blank not having the data person 1 entered.

also it is doing this for the debug mode as well as when I clicked "release" and created the binary apk.

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Database contents being displayed on multiple phones instead of one phone.

Please follow this tutorial it will help you create functionality like you need http://docs.appery.io/tutorials/build...

Return to “Issues”