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.
この const [android.provider.CallLog.Calls.LIMIT_PARAM_KEY][1] に遭遇しました。
何らかの理由でドキュメントでグレー表示されており、使用しようとするとアプリがクラッシュします (sqlite エラー)
誰もこれを使用する方法を知っていますか? (私たちがそれを使用する必要がある場合)
Uri.Builder を使用して、クエリ パラメーターを追加するだけです。
Uri limitedCallLogUri = CallLog.Calls.CONTENT_URI.buildUpon() .appendQueryParameter(CallLog.Calls.LIMIT_PARAM_KEY, "50").build();
応答を 50 に制限します。