[android-developers] How to Get PendingIntent Result Code?

2009-02-02 Thread Ron DuPlain
Is it possible to get the result code with a PendingIntent for a Service or BroadcastReceiver? (e.g. the result code from SmsManager send* methods) Various PendingIntent.send methods send the result code with the Intent, but only the Activity class seems to have a means to get this result code,

[android-developers] Some Activities never display UIs?

2009-02-02 Thread Ron DuPlain
I hear that "some Activities never display UIs" according to http://code.google.com/android/devel/building-blocks.html. My question: is this true? I have yet to find a way to make an Activity without a UI. Documentation suggests an Activity can be non-visual. For example, Activity.getWindow() r