Không tìm thấy hoạt động nào để xử lý lỗi Intent? Làm thế nào nó sẽ giải quyết.Android: Không tìm thấy hoạt động nào để xử lý lỗi Intent? Làm thế nào nó sẽ giải quyết
Preference customPref = (Preference) findPreference("DataEntryScreen");
customPref
.setOnPreferenceClickListener(new OnPreferenceClickListener() {
public boolean onPreferenceClick(Preference preference) {
Intent i = new Intent("com.scytec.datamobile.vd.gui.android.AppPreferenceActivity");
startActivity(i);
return true;
}
});
bạn đã đăng ký bộ lọc ý định ('" com.scytec.datamobile.vd.gui.android.AppPreferenceActivity "') cho hoạt động một cách đáng kinh ngạc chưa? – Karthik
Không. làm thế nào nó có thể? xin vui lòng viết đúng ý định? tôi muốn nói mã số –
đăng tệp kê khai của bạn tại đây, (với mục nhập tương ứng với hoạt động - AppPreferenceActivity). sau đó chúng tôi có thể giúp bạn với mã đúng. – Karthik