0

I implemented a small application which will list all the SMS from INBOX and displays both the Contact number and Name.

I have to use two URIs, one is to get the SMS and the other is to get the Contact information related to that SMS.

This approach is having lot of performance issue while listing all the SMS with the Contact Name. It is taking quiet a long time in my 600MHz Android Phone.

But my native SMS application is launching within fraction of seconds. I really don't know how to achieve this.

One way I am thinking of using JOIN conditions on two URIs because I don't know how to use rawQuery on Content://SMS/inbox and the Contacts Data.

Any help would be appreciated. Thanks in Advance..

4

1 回答 1

0

但我的原生 SMS 应用程序在几分之一秒内启动。我真的不知道如何实现这一目标。

他们可以直接访问自己的数据库,因此可以直接使用 JOIN。您不能在 中表达 JOIN ContentProviders

于 2011-12-30T13:52:09.323 回答