K
K
Kirill Zhuk2015-06-02 17:35:31
Android
Kirill Zhuk, 2015-06-02 17:35:31

Database access problem?

Hello. The problem is the following: there are three activities, in the first (main) there are two buttons that, when pressed, lead to their activities (the remaining two, each has its own activity), in one activity the company is entered into the database, and in the other activity I want to add a person to this company. So, if you use the database in one of the two activities, then it cannot be used in the second, I want to ask, what could be the error, in what direction to look for information?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
U
urmi tilek uulu, 2015-06-03
@urma

When you connect to the first one, the second one does not connect, and if you launch the application and open the second one, but the first one does not connect. Did I understand you correctly or not? If so, then it turns out both activations are connected. Can then look for an error in the server part? Or look towards singleton .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question