kamiseq wrote:
> I am writing simple app that will read callLog content provider
> transform data and write it to my own table. my app will not show data
> directly from calllog content provider.

Why?

> 1. now one problem that I have is I cannot limit how much rows query
> will return (by calling activity.managedQuery) but I assume that
> Cursor delays access to the db and I can use moveToNext as many times
> as desired to get few rows from table and the call will be efficient.
> is that good thinking?? OR am I wrong here? 

You are wrong here. If your query is for all rows, it will do the work
to load all rows out of the database and into memory when you access the
first one.

> 2. I dont want to implement my own content provider for my app. I will
> use rawQuery many times and group data so contentprovider's callbacks
> are not enough for me.
> more I want my dao to be private to my application so I think there is
> no need to bother with conentprovider.

Then don't implement a content provider.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 2.0 Available!

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