Cyril Jaquier wrote:
> I have a service in my application that records values into an sqlite 
> database. The activity retrieves information from the service using an 
> aidl interface. Here is a schema:
> 
> activity <--> service <--> database
> 
> Is this the "standard way" to retrieve data from a sqlite database or 
> could I access the database from the activity too? Like this:
> 
> activity <--> database <--> service
> 
> How you guys would you do this?

I am not aware of any issues with having both an activity and a service 
interact with the same database. I'm doing it myself, in one 
application, so I sure hope it works...

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 1.9 Published!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to