In my service I have:
Using java Syntax Highlighting
- NotificationManager notifManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
- Notification notif = new Notification(R.drawable.mydrawable, "Notification Text", System.currentTimeMillis());
- PendingIntent contentIntent = PendingIntent.getActivity(this, 0,
- new Intent(this, My.class), 0);
- ContentResolver resolver = getContentResolver();
- Cursor reminders = resolver.query(MyProvider.CONTENT_URI,
- null, null, null, null);
Parsed in 0.032 seconds, using GeSHi 1.0.8.4
MyProvider is set up in the manifest as a Content provider, with the same authority as is represented by MyProvider.CONTENT_URI (the uri is context://<the authority>/<more path>)
However, my query method in my ContentProvider never gets called and I can't understand why...


