システムアプリケーションまたはアプリは、データベース内の情報を格納することができます。私の問題は次のとおりです。たとえば、ランチャーアプリは、データパーティション上のデータベースへのアプリケーションとその位置などの設定を保存します。
ホームスクリーンのための設定が異なる新しいランチャーアプリの交換がある場合でも、これらの設定はデータベースから再び読み取られます。
私の質問は次のとおりです。<コード> 9988776655443330
システムアプリケーションまたはアプリは、データベース内の情報を格納することができます。私の問題は次のとおりです。たとえば、ランチャーアプリは、データパーティション上のデータベースへのアプリケーションとその位置などの設定を保存します。
ホームスクリーンのための設定が異なる新しいランチャーアプリの交換がある場合でも、これらの設定はデータベースから再び読み取られます。
私の質問は次のとおりです。<コード> 9988776655443330
System apps or apps in general are capable of storing information within a database. My problem is now: for example the Launcher app does store settings like the amount of apps and their position on the homescreen, widgets etc. into a database on the data partition.
These settings are usually just read from the database again even if there is a new Launcher app replacement with different settings for the homescreen.
My question is now: Is there any method(via shell) to trigger an update or re-read of this apps database, so that the new values from the new Launcher replacement are taken into account without just deleting the whole database or messing around with the current database?
Andrewのコメントから正しい答えをアーカイブするために:
その後、データベースファイルがある限り、アプリはそれを読みます 読む必要があります。から読み取り/更新を強制する必要はありません 外側(まあ、それが可能なかどうかは確かではありません)。そのはず アプリ自体内で制御されています。私がまだ把握できなかったかどうか謝罪します その考え、多分他の読者がこれの解決策を持つかもしれません。
私はこれらのデータベースの処理方法について混乱しました。それはAndrewのまさに次のようになります。データベースの再読み取りのとき、実際の実装に依存します。
Just to archive the right answer from Andrew's comment:
Then, as long as the database file is there, the app will read it when it needs to read it. There is no need to force read/update from outside (well, I'm not even sure if it's possible). It should be controlled within the app itself. Apologize if I still couldn't grasp the idea, maybe other readers might have solution for this.
I was confused about how these databases are handled. It is exactly as Andrew wrote: It depends on the actual implementation when and how the database is re-read.
© 2022 cndgn.com All Rights Reserved. Q&Aハウス 全著作権所有