Hi,
I have 3 applications
Application A - Display the Employee information
Application B - Gives report of Employee
Utility application - Connects remote database and share the employee
data between application

Utility application which implements content provider.Role of this
Utitlity appliation is connecting data base remotely and fetchs
information in a collection (i.e. List<Employee>  Employee is one
bean )

In content provier implementation for query method i have done
following steps.

1) Connect remote location
2)Fetch Employee list

List<Employee> listEmp = fecth information.

3) iterate listEmp and insert Employee data into cursor

4) return cusorwith Emp information.

Because of Step 3 ,My application performace become very slow.Consider
case like Data base have 1000 employes,so execution of query method
takes some time.

My Issues:
1) Insteading dumping list into cursor,Can i send List<Employee>
directly with cursor?

2) Is there any other apporach which will solve my performance issue..

Expecting some intersting replies......

Thank you very much in advance

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