1. Are you ready for the Galaxy S20? Here is everything we know so far!

Android saving contacts in local DB

Discussion in 'Android Lounge' started by moglisati, Jun 30, 2020.

  1. moglisati

    moglisati Lurker
    Thread Starter

    Does android allow saving contacts in application's local Database? Need this information before I publish an app on play store.
     


  2. ocnbrze

    ocnbrze DON'T PANIC!!!!!!!!!

    you can have your cantacts backed up on an sd card.....does this count? i'm not a developer so i do not know about app's local db. i alerted the mods to move this to the dev section for better views and help.

    https://androidforums.com/forums/28
     
  3. Hadron

    Hadron Smoke me a kipper...
    VIP Member

    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).
     
  4. moglisati

    moglisati Lurker
    Thread Starter

    @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.
     
  5. Hadron

    Hadron Smoke me a kipper...
    VIP Member

    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.
     
Loading...
Similar Threads - Android saving contacts
  1. Sunil Eapen
    Replies:
    2
    Views:
    96
  2. Socialhacker
    Replies:
    2
    Views:
    100
  3. Sandun Rathsara
    Replies:
    1
    Views:
    334
  4. Rob
    Replies:
    10
    Views:
    960
  5. Android News
    Replies:
    0
    Views:
    637
  6. michael_scoffield
    Replies:
    0
    Views:
    438
  7. mooooon
    Replies:
    10
    Views:
    601
  8. jut87
    Replies:
    12
    Views:
    8,924
  9. amosneumann
    Replies:
    0
    Views:
    483

Share This Page

Loading...