<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    Blogger Scott

    android常用數據庫字段描述

    1.短信數據庫
    String strUriInbox = "content://sms";
    Uri uriSms = Uri.parse(strUriInbox);
    Cursor c_groups = managedQuery( uriSms , new String[] { "date","person" }, select, null, "date DESC");

    strColumnName=_id                strColumnValue=48                  //短消息序號 
    strColumnName=thread_id          strColumnValue=16                  //對話的序號(conversation)
    strColumnName=address            strColumnValue=+8613411884805      //發件人地址,手機號
    strColumnName=person              strColumnValue=null                //發件人,返回一個數字就是聯系人列表里的序號,陌生人為null
    strColumnName=date                strColumnValue=1256539465022        //日期  long型,想得到具體日期自己轉換吧!
    strColumnName=protocol            strColumnValue=0                    //協議
    strColumnName=read                strColumnValue=1                    //是否閱讀
    strColumnName=status              strColumnValue=-1                  //狀態
    strColumnName=type                strColumnValue=1                    //類型 1是接收到的,2是發出的
    strColumnName=reply_path_present  strColumnValue=0                    //
    strColumnName=subject            strColumnValue=null                //主題
    strColumnName=body                strColumnValue=您好                                                      //短消息內容
    strColumnName=service_center      strColumnValue=+8613800755500      //短信服務中心號碼編號,可以得知該短信是從哪里發過來的見下表

    2.聯系人數據庫

    strColumnName = _sync_id  strColumnValue=null
    strColumnName = primary_organization  strColumnValue=null
    strColumnName = notes  strColumnValue=null
    strColumnName = primary_phone  strColumnValue=1
    strColumnName = status  strColumnValue=null
    strColumnName = im_handle  strColumnValue=null
    strColumnName = _sync_local_id  strColumnValue=null
    strColumnName = im_account  strColumnValue=null
    strColumnName = _sync_time  strColumnValue=null
    strColumnName = im_protocol  strColumnValue=null
    strColumnName = mode  strColumnValue=null
    strColumnName = label  strColumnValue=null
    strColumnName = times_contacted  strColumnValue=0
    strColumnName = name  strColumnValue=é??è?3
    strColumnName = send_to_voicemail  strColumnValue=null
    strColumnName = primary_email  strColumnValue=null
    strColumnName = custom_ringtone  strColumnValue=null
    strColumnName = sort_string  strColumnValue=í?¤í2?í??ío3à?
    strColumnName = _sync_version  strColumnValue=null
    strColumnName = last_time_contacted  strColumnValue=null
    strColumnName = _sync_account  strColumnValue=null
    strColumnName = display_name  strColumnValue=é??è?3
    strColumnName = number_key  strColumnValue=77681111831
    strColumnName = number  strColumnValue=13811118677
    strColumnName = phonetic_name  strColumnValue=null
    strColumnName = _id  strColumnValue=1
    strColumnName = type  strColumnValue=2
    strColumnName = _sync_dirty  strColumnValue=1
    strColumnName = starred  strColumnValue=0
    4.其他數據庫
    //Available Uri string
    content://contacts/people    //本地聯系人列表信息
    content://contacts/phones    //本地聯系人列表信息
    content://call_log/calls/    //本地通話記錄       

    content://mms            彩信
    content://mms-sms/threadID
    content://mms-sms/conversations
    content://mms-sms/messages/byphone
    content://mms-sms/undelivered
    content://mms-sms/draft


    String strUriInbox        = "content://sms/inbox";        //SMS_INBOX:1
    String strUriFailed      = "content://sms/failed";      //SMS_FAILED:2
    String strUriQueued      = "content://sms/queued";      //SMS_QUEUED:3
    String strUriSent        = "content://sms/sent";        //SMS_SENT:4
    String strUriDraft        = "content://sms/draft";        //SMS_DRAFT:5
    String strUriOutbox      = "content://sms/outbox";      //SMS_OUTBOX:6
    String strUriUndelivered  = "content://sms/undelivered";  //SMS_UNDELIVERED
    String strUriAll          = "content://sms/all";          //SMS_ALL
    String strUriConversations= "content://sms/conversations";//you can delete one conversation by thread_id
    String strUriAll          = "content://sms"              //you can delete one message by _id

    posted on 2010-02-17 20:03 江天部落格 閱讀(2167) 評論(1)  編輯  收藏 所屬分類: Android

    Feedback

    # re: android常用數據庫字段描述 2010-08-02 15:14 雷神

    請看原文
    http://blog.csdn.net/kome2000/archive/2009/11/11/4797541.aspx

    轉貼需注明出處啊!  回復  更多評論   

    主站蜘蛛池模板: 在线日韩av永久免费观看| 中国国语毛片免费观看视频| 4虎1515hh永久免费| 亚洲国产精品不卡在线电影| 91免费国产视频| 国产偷v国产偷v亚洲高清| 两性色午夜免费视频| 亚洲人成网77777色在线播放| 一日本道a高清免费播放 | 国产区在线免费观看| 伊人婷婷综合缴情亚洲五月| 国产精品1024在线永久免费| 亚洲国产美女精品久久久久∴| 光棍天堂免费手机观看在线观看| 亚洲AV无码国产精品色午友在线| 久草免费福利资源站| 91亚洲国产成人久久精品网址 | baoyu116.永久免费视频| 久久久亚洲精品视频| 国产一卡二卡四卡免费| 亚洲国产精品日韩av不卡在线| 四虎永久在线精品免费影视| 精品国产呦系列在线观看免费 | 亚洲精品国产情侣av在线| 国产男女爽爽爽爽爽免费视频| 亚洲无人区码一二三码区别图片| 免费一级特黄特色大片在线| 九九99热免费最新版| 亚洲精品在线免费观看视频| 国产免费看插插插视频| 久久免费观看视频| 亚洲一区在线视频| 亚洲国产精品成人久久蜜臀| 美丽姑娘免费观看在线观看中文版| 亚洲午夜电影一区二区三区| 亚洲国产成人VA在线观看| 久久aa毛片免费播放嗯啊| 亚洲欧好州第一的日产suv| 亚洲伊人色欲综合网| 一二三四免费观看在线视频中文版| 黄色网址在线免费观看|