Skip to content
Snippets Groups Projects
Select Git revision
  • 2adfa6faecdcdfdbb18f20a879d52a4a13b0c7eb
  • develop default
  • tips
  • image-directories
  • admin
  • current-student
  • piwik-test
  • navigation
  • movetounlcms
  • master
  • alert
  • depts
  • titles
  • prospective
  • visitor
15 results

php.debug.dwt.php

Blame
  • dialing.py 398 B
    from kivy.utils import platform
    
    from jnius import autoclass
    
    
    def dial(phone_number):
        if platform != 'android':
            raise NotImplementedError('Dialing is only supported on Android')
        # noinspection PyPep8Naming
        Dialer = autoclass('edu.unl.cse.soft161.Dialer')
        success = Dialer.dial(phone_number)
        if not success:
            raise NotImplementedError('Unable to find phone app')