• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Android saving contacts in local DB

moglisati

Lurker
Does android allow saving contacts in application's local Database? Need this information before I publish an app on play store.
 
Sorry, thought I'd posted this a few days ago but see it still in the drafts:

Android always saves contacts in a local database, which is accessible by any app which is granted the permission to access it.

Are you wanting to access that, in which case your app will have to request the permission (and on modern android versions the user will have to grant it)? Or are you asking about storing contacts separately within your own app's data (in which case I'm sure it's technically possible, don't know what if any rules there might be about that).
 
@Hadron I want to fetch the contacts from a phone and save them in my application's database in raw form. Technically, it's not a challenge but I want to know if android allows that in a published application.
 
So it's not whether Android allows that but whether Google's Play Store conditions allow that. As I've never submitted an app to them I've never had the need to go through their conditions in detail, so can't help with that.

Certainly apps can access the contacts data and write them out (backup apps do this), so I don't see that storing their own copy should be more of an issue. After all, they are the user's data, not Google's, so as long as you make clear what you are doing in advance I don't see rationally that it would be Google's problem (of course as a user I would like to know what you are doing with the data before I install the app or give you access, but that's true regardless). However what's reasonable and what's in the Play Store rules are not always the same thing, so I'd suggest reading in detail.
 
Back
Top Bottom