Tôi muốn nhận dữ liệu từ db trình khởi chạy.phím tắt android, trình khởi chạy truy cập db
final String AUTHORITY = "com.android.launcher2.settings";
final Uri CONTENT_URI = Uri.parse("content://" +
AUTHORITY + "/favorites?notify=true");
Cursor c = contentResolver.query(uri, columns, null, null,
null);
và
<uses-permission
android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/>
<uses-permission
android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT"/>
<uses-permission
android:name="com.android.launcher.permission.READ_SETTINGS" />
<uses-permission
android:name="com.android.launcher.permission.WRITE_SETTINGS" />
nhưng nó nói rằng trong logcat:
Failed to find provider info for com.android.launcher2.settings
việc kiểm tra này: http://www.google.com/support/forum/p/android/thread?tid = 74f6668ec87004b5 & hl = vi –