示例#1
0
 def call_contact(self, emission, source, param, contact):
     print "call contact called"
     number = contact.number.value
     name = unicode(contact)
     #self.extra_child.edj.part_swallow_get('contacts-items').visible_set(0)
     #self.extra_child.edj.part_swallow_get('contacts-items').delete()
     caller_service = Service('Caller')
     my_call = caller_service.call(emission, number, name)
     my_call.start()
示例#2
0
 def call_contact(self, emission, source, param):
     number = emission.part_text_get('number-text')
     name = emission.part_text_get('name-text')
     caller_service = Service('Caller')
     my_call = caller_service.call(emission, number, name)
     my_call.start()
     try:
         emission.delete()
     except Exception,e:
         print e
示例#3
0
    def start_call(self, orig, orig_parent, emission, source, param):
        print "start call called"
        number = emission.part_text_get("num_field-text")

        caller_service = Service('Caller')
        yield caller_service.call(self.edje_obj, number)