Oh also, there is at least a basic example of writing a plugin:

http://android.git.kernel.org/?p=platform/packages/apps/IM.git;a=tree;f=samples/PluginDemo

But note that it does need to have the same uid as the IM host:

http://android.git.kernel.org/?p=platform/packages/apps/IM.git;a=blob;f=samples/PluginDemo/AndroidManifest.xml

Also the certificate being used is the "generic application" certificate in
the platform build, which is provided by the device manufacturer for their
device, so will vary across different manufacturers.  So even if you could
have your app signed with the correct certificate for the device you have,
it wouldn't work on any other manufacturer's device (or perhaps even other
devices from the same manufacturer).

What it all boils down to is that this wasn't designed correctly to support
third party applications.

Plus the APIs for this are not in the SDK, and most likely need a lot of
work (besides just actually not requiring things run in the same process) to
be something that is actually maintainable.

On Thu, Apr 2, 2009 at 12:40 PM, Dianne Hackborn <[email protected]>wrote:

> Actually, I don't think it is extensible.  I mean, in theory it is, it has
> plugins, but the design is such that the plugins need to all run in the same
> process, meaning they need to be signed with the same certificate as the
> host and use the same uid as the host.
>
>
> On Thu, Apr 2, 2009 at 11:37 AM, Disconnect <[email protected]>wrote:
>
>> The good news is, it absolutely is extendable. (I -believe- you can even
>> write one as a standard app to install.)  The bad news is, the only people
>> who have examples or implementations are google - all the IM providers so
>> far are closed source. There was talk that this was medium/high priority fix
>> (a simple stub-out example) but that was almost 6 months ago, so..
>>
>>
>> On Wed, Apr 1, 2009 at 11:29 PM, Sean Bannister 
>> <[email protected]>wrote:
>>
>>>
>>> I'm just looking at the Android's native IM app and wondering if it's
>>> possible to create new providers? I know other people have written
>>> seperate IM clients but it'd be great to add to list in the native IM
>>> app.
>>>
>>> The 3 I'd like to work on is Facebook, MySpaceIM, Skype.
>>>
>>>
>>>
>>
>> >>
>>
>
>
> --
> Dianne Hackborn
> Android framework engineer
> [email protected]
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support.  All such questions should be posted on public
> forums, where I and others can see and answer them.
>
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.

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