Separate Android code in packages

I'm just entering my first Android app and just wondering what is the agreement here?

Is it more organized to split my code into different packages? For instance.

com.myfirstapp.activity;
com.myfirstapp.database;

I thought of this as a way of organizing my code using auxiliary database files, for example, it contained its .database package.

I just noticed that the data is stored in / data / data / YOUR_PACKAGE / does this mean that when I receive data stored on the device everywhere, if I use different packages?

If this is not the best way to organize code in Eclipse the same way as in Xcode?

+3
source share
2 answers

, , . Java.
, , ( com.myfirstapp ).
.

+2

src . apk, , , , classes.dex.

res , . , , , , , ..., / , ui, .

0

Source: https://habr.com/ru/post/1754553/


All Articles