I don't know, but you can make an activity that doesn't pop a window... I'll have to get back to you with the specifics on how to do that (I'm at work and my source is at home), but if no one else knows of a solution you could do the following:
1. Use an activity that doesn't display a window (that is what I will need to get back to you with) 2. Start your service from the activity and call finsih() in your activity's onCreate() method. I had to do something similar at one point and it was seamless to the user. Thanks, Justin ---------------------------------------------------------------------- There are only 10 types of people in the world... Those who know binary and those who don't. ---------------------------------------------------------------------- On Sat, Jan 16, 2010 at 5:38 PM, florianschulze <[email protected]>wrote: > Hey. > > I want my application to show up in the selection list that pops up > when you "share" an image. This works fine with the following intent > filter in the manifest: > > <activity ...> > <intent-filter> > <action android:name="android.intent.action.SEND"/> > <category android:name="android.intent.category.DEFAULT"/> > <category > android:name="android.intent.category.ALTERNATIVE"/> > <data android:mimeType="image/jpeg" /> > </intent-filter> > </activity> > > However, this does only work when put within my main activity. The > exact same filter doesn't work in a <service> section, my application > won't show up in the selection list. But since I want my application > to silently process the image I need a service to listen for the > intent, not an activity that pops up a window. Any ideas on what I > might be doing wrong? > > Thanks in advance. > > -- > You received this message because you are subscribed to the Google > Groups "Android Beginners" group. > > NEW! Try asking and tagging your question on Stack Overflow at > http://stackoverflow.com/questions/tagged/android > > To unsubscribe from this group, send email to > [email protected]<android-beginners%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > >
-- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en

