i'm striking out trying to send an IM from an activity. email & sms 
were easy, but i can't get IM to work for some reason.

i googled around and found a method which used "imto" Uris, but the 
Uris so constructed crash HierarchicalUri.writeToParcel(), which is a 
long-standing bug IIRC - at least i ran into it using the Uri.Builder 
class a while back (issue reported).

so then i tried ACTION_VIEW on type 
"vnd.android.cursor.dir/im-providers", which is a pattern i found in 
various places on the network. i thought this might give me a list of 
IM apps that the user can choose from. ideally it would let me 
populate the destination address, but i didn't see a way to do that. 
in any case, it seems like 1.6 running on my ADP couldn't find anyone 
to handle the activity, despite that type being declared in the stock 
IM app (from peeking at the source).

i was kinda expecting a variant of the email code, but with a 
different content type. anyone successfully sending IMs?

thanks!
-- 
jason.vp.engineering.particle

-- 
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

Reply via email to