ICEmobile
  1. ICEmobile
  2. MOBI-459

Issues with Android contact integration

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2 Beta
    • Component/s: Containers
    • Labels:
      None
    • Environment:
      ICEmobile Android Container

      Description


      1) The constants being used to retrieve contain info requires at least API 11, so should look for an "older" way to get contact info

      2) The phone field is returning the email address. More specifically...

      int emailCol = cur.getColumnIndex(ContactsContract.CommonDataKinds.Email.ADDRESS);
      int phoneCol = cur.getColumnIndex(ContactsContract.CommonDataKinds.Phone.NUMBER );

      return the same value "data1", which is the email address.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #32120 Mon Nov 12 14:58:56 MST 2012 steve.maryka mobi-459: Handle case where no contact is selected
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/client/android/integration/contacts/src/org/icemobile/client/android/ContactListInterface.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #31881 Wed Oct 31 16:46:04 MDT 2012 steve.maryka mobi-459: Target API back t0 8
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/client/android/integration/contacts/project.properties
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #31880 Wed Oct 31 16:39:15 MDT 2012 steve.maryka mobi-459: Changes to accessing contact data, and changed constants that require API-11.
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/client/android/container/assets/icefaces/native-interface.js
        Commit graph MODIFY /icemobile/trunk/icemobile/client/android/integration/contacts/src/org/icemobile/client/android/ContactListInterface.java

          People

          • Assignee:
            Steve Maryka
            Reporter:
            Steve Maryka
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: