thanks, that was exactly what I was looking for. I can't believe I missed it.
Now in the case where the user doesn't have a 3rd party SMS app installed there isn't a need to set a preferred application in which case I can't get the icon by looking for the preferred app. I've been messing around with getPackageManager.getInstalledActivities() and getInstalledPackages() and even resolveActivity() but I can figure out a way to use the returned values to figure out if the application is an SMS application or to get its icon. On Dec 16, 4:39 pm, TreKing <[email protected]> wrote: > On Thu, Dec 16, 2010 at 3:18 PM, neuromit <[email protected]> wrote: > > android.intent.activity.SENDTO, is there a way to programmatically separate > > sms activities from email activities? > > There are other considerations for filtering intents besides the action. Try > checking the other properties. The data scheme in particular I would expect > to be differ. > > --------------------------------------------------------------------------- > ---------------------- > TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago > transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

