Beispiel #1
0
        bool sendLink_Softkey(int keyId)
        {
            if (_buddyId == -1)
            {
                return(true);
            }
            // get buddy data form _buddyId
            CBuddyRecord buddy = CBuddyList.getInstance()[_buddyId];

            if (buddy != null)
            {
                // Invoke SIP stack wrapper function to send message
                CCallManager.CommonProxy.sendMessage(buddy.Number, _editBox.Caption);
            }
            _controller.previousPage();
            return(true);
        }
Beispiel #2
0
        public override void onEntry()
        {
            if (_buddyId != -1)
            {
                // get buddy data form _buddyId
                CBuddyRecord buddy = CBuddyList.getInstance()[_buddyId];
                if (buddy != null)
                {
                    _titleText.Caption = buddy.FirstName + ", " + buddy.LastName;

                    //_buddyName.Caption = buddy.Id;

                    _textBox.Caption = buddy.LastMessage;
                }
            }

            base.onEntry();
        }