Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-15104

Android: Add support for showContactsParams.selectedProperty

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: High
    • Resolution: Won't Fix
    • Affects Version/s: Release 3.1.2
    • Fix Version/s: None
    • Component/s: Android
    • Environment:

      SDK/CLI 3.1.2.GA
      Android 4.1.2 on Samsung Galaxy S2

    • Story Points:
      8
    • Sprint:
      2014 Sprint 25 SDK, 2015 Sprint 01 SDK, 2015 Sprint 02 SDK

      Description

      The showContactsParams.selectedProperty callback never gets called. Only the showContactsParams.selectedPerson does.

      Steps to reproduce:

      1. Run the following app:

            var w = Ti.UI.createWindow({backgroundColor:'white'});
            var b = Ti.UI.createButton({title:'Select'});
            b.addEventListener('click', function () {
              Ti.Contacts.showContacts({
                selectedProperty: function (e) {
                  Ti.API.debug('called');
                }
              });
            });
            w.add(b);
            w.open();
            

      2. In the console you won't see called
      3. Replace selectedProperty by selectedPerson and run again
      4. This time you will see called

        Attachments

          Activity

            People

            • Assignee:
              hpham Hieu Pham
              Reporter:
              fokkezb Fokke Zandbergen
            • Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Integration