Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9009545
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T02:13:33+00:00 2026-06-16T02:13:33+00:00

I am using the generic columns DATA1 to Data15 to store some data. My

  • 0

I am using the generic columns DATA1 to Data15 to store some data. My question is whether it is safe to assume that these columns are not being used by other android applications to store their own data. IF not how would I make sure that a particular column is not being used by any other application?

ops.add(ContentProviderOperation.newUpdate(ContactsContract.Data.CONTENT_URI)
                .withValue(Data.DATA10,"Data")

Retrive data:

ContentResolver cr=context.getContentResolver();
Cursor emailCur = cr.query( 
                ContactsContract.Data.CONTENT_URI,
                null,
                ContactsContract.Data._ID + " = ?", 
                new String[]{str_id}, null); 
                while (emailCur.moveToNext()) 
       { 
                String name=emailCur.getString(
                          emailCur.getColumnIndex(Data.DATA10));

       }
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T02:13:34+00:00Added an answer on June 16, 2026 at 2:13 am

    It will be safe, if you use your own MIME type value for the MIMETYPE column. When querying the data table, a MIME is specified to query for specific results (Phone numbers, names, addresses and so on), so if you use a value special for your application, other applications will probably not use it/change it.

    Read more about the data table here.

    EDIT: Append this call to the ContentProviderOperation creation chain:

    .withValue(Data.MIMETYPE, "yourCustomMimeType")
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using some help from the internet, I construct a generic function that extracts specific
I m populating data for different entities into set of lists using generic lists
I have a web-site that generates some simple tabular data as html tables, many
I'd like to use SQLiteCursor class to fetch data (not using Cursor class). This
Sorry if this is generic in nature, but I have a question that maybe
I am using generic code (from the iOS Fireworks demo) in a slightly changed
About five years ago I started using Generic lookup Tables for applications I was
I made in my web a menu using generic_view - simple 'django.views.generic.list_detail.object_list' in urls.py
I am using a generic error page using ASP.NET's <customErrors> directive. <customErrors mode=On defaultRedirect=500.html
I'm trying to streamline my existing repos by using a generic repo I can

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.