摘要 |
<p>Disclosed is a method to manage android application data inflow using a singleton pattern. The method comprises: a step of enabling a database class to receive a data storage command of activity; a step of determining whether or not an instance to execute the data storage command exists in the database class; a step of storing data by using the instance to execute the data storage command when the instance to execute the data storage command exists; and a step of generating a new instance to execute the data storage command, and storing the data using the new instance when the instance to execute the data storage command does not exist.</p> |