(To Google devs)Using the IM plugin class

by Colin » Sat, 28 Mar 2009 06:50:01 GMT


Sponsored Links
 I would like to use the IM plugin class thats included in the Android
source, but it is not SDK friendly. I am happy to submit the revisions
required, but I don't really know what to change. It requires access
to the non-api android.im tree and UID sharing with android.uid.im.
I'm stumped, but I'd really like to implement this. Is it better to
just to submit an official revision?
--~--~---------~--~----~------------~-------~--~----~



(To Google devs)Using the IM plugin class

by Dianne Hackborn » Sat, 28 Mar 2009 07:13:35 GMT


 This isn't currently supported in the SDK.  I don't know what plans there
are to have it in the SDK, if any.  Certainly we aren't going to have
anything in the SDK that requires you get a shared user ID with a system
package.






-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

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.

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


(To Google devs)Using the IM plugin class

by Hugo Vincent » Sun, 28 Mar 2010 21:45:20 GMT


 Have there been any updates to (the roadmap for) IM since this
message?

Hugo





--



Other Threads

1. ContentProviders and databases

Hello Everyone,

Recently I've been trying to figure out how to have a background
service push data into a database and then read from that database
with another application.  Initially I thought about just using the
various sql classes available, but then I discovered that the
databases for each application are only available to that
application.  So after snooping around a little bit I found out about
ContentProvider.  However, I'm still confused about how to use it even
after reading the "accessing content providers" page.

I've been looking through DatabaseContentProvider since it seems like
I can use databases in conjunction with the ContentProvider, does this
mean that the database I create using the contentprovider accessible
to all my other applications?  How would I access this database from
another application?  Would it be done with that "content://..."
interface?

I'm a bit confused so the way I wrote things out might not make sense,
please ask me for clarification on my questions if you need.

Thanks

--~--~---------~--~----~------------~-------~--~----~

2. EnumSet bugged

I think EnumSet has a bug at handling an enum with lots of elements.

for(SomeEnum e : mEnumSet) {
  //do whatever, or do nothing..
}

results in :
ERROR/AndroidRuntime(603): java.lang.ArrayIndexOutOfBoundsException
ERROR/AndroidRuntime(603):     at java.util.HugeEnumSet
$HugeEnumSetIterator.next(HugeEnumSet.java:93)
ERROR/AndroidRuntime(603):     at java.util.HugeEnumSet
$HugeEnumSetIterator.next(HugeEnumSet.java:43)

Things start to get weird at an  60 ish sizes (guess it may have to do
with something about a binary inner representation, so probably around
64) . Anyway, searched the web and found this:

http://mail-archives.apache.org/mod_mbox/harmony-commits/200709.mbox/[EMAIL 
PROTECTED]

It is not directly related to Android packages so i don't know if
sending this here makes sense.
Still i wanted to inform fellow programmers about this pitfall. (Heads
off to pull an all nighter for altering his code....)

--~--~---------~--~----~------------~-------~--~----~

3. Cannot connect to server running in Android

4. Modified time for Contacts, Phones, and Contact Methods

5. Focus will lost

6. problem facing with playing videos in androids

7. All Screen Size...