Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
1 つの Android アプリケーション ソース コード、つまり 1 つのパッケージ名を無料アプリと有料アプリに使用できますか?ソースの唯一の違いはフラグですか? お気に入り:
boolean APP_FREE = true;//for free verions boolean APP_FREE = false;//non-for free verions
ありがとう
必要なのは、別のパッケージ名だけです。任意のブール値フラグさえ必要ありません。ただし、別のパッケージ名が必要です。