Sunday, March 2, 2014

Ask questions about SQLite database


I would like to ask, if the database already created on the res / raw folder directly read and write not? Andrews itself must be copied to the database path in the job yet?
Also, the database you want to upgrade, add new data entered, without deleting the user has been added, covering the information in the database, how do we go?

In this extremely grateful, I hope you serious answer, it needs to solve this problem, once again thanks everyone.<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
android resources in general are to be placed under its specified path right after the operation is not directly facing the database can Mody
Reply:
The reply was deleted administrator at 2013-10-22 22:16:32

Reply:
1 can not be placed in the res / raw directory
2 database update operations will not do


Not serious answer
Reply:
reference to the third floor guoyoulei520 reply:.
1 can not be placed in the res / raw directory
2 database update operations will not do


Not seriously answer


Directly in the helper there with the code inside the update update? In that case we upload a new version of the APK inside when we should add the code? After the code so it not accumulate up?
Reply:
cited a floor a394268045 reply:
android resources in general are to be placed under its specified path right after the face can not directly manipulate the database Why

There is no way directly to the database operations, ah, because the database is embedded in the program internal documents inside ah.
Reply:
references, 4th Floor huanying95 reply:
Quote: references to the third floor guoyoulei520 reply:

1 can not be placed in the res / raw directory
2 database update operations will not do


Not seriously answer


Directly in the helper there with the code inside the update update? In that case we upload a new version of the APK inside when we should add the code? After the code so it not accumulate up?

Data files are not overwritten when you install a new version
Reply:
reference to the 6th floor guoyoulei520 reply:
Quote: references to the 4th floor huanying95 reply:

Quote: references to the third floor guoyoulei520 reply:

1 can not be placed in the res / raw directory
2 database update operations will not do


Not seriously answer


Directly in the helper there with the code inside the update update? In that case we upload a new version of the APK inside when we should add the code? After the code so it not accumulate up?

Data files are not overwritten

when installing a new versionThe data file is not overwritten, then I can only use the code to update the database? That will increase the database code so each update?
Reply:
raw, assets directory files can only be read, not write.

No comments:

Post a Comment