Giter VIP home page Giter VIP logo

android-dialer-call-lib's Introduction

CallWithDoxDialer for Android

CallWithDoxDialerLib

A µLibrary for making calls using Doximity Dialer.


GitHub release platforms

What is CallWithDoxDialer?

Doximity's Dialer app lets healthcare professionals make phone calls to patients while on the go -- without revealing personal phone numbers. Calls are routed through Doximity's HIPPA-secure platform and relayed to the patient who will see the doctor's office number in the Caller ID. Doximity Dialer is currently available to verified physicians, nurse practitioners, physician assistants and pharmacists in the United States.

CallWithDoxDialer is a mobile library for Android that lets 3rd-party apps easily initiate calls through the Doximity Dialer app.

Other Platforms

Sample App

A sample project which provides runnable code examples that demonstrate uses of the classes in this project is available in the /CallWithDoxDialerSample folder.

Dox Dialer installed Dox Dialer not installed

Download

Method 1: Add JitPack repository in your root project build.gradle:

allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}

Grab the latest version via Gradle, just add the dependency to your app's build.gradle file:

dependencies {  
    compile 'com.github.doximity:android-dialer-call-lib:v1.0'
}

Method 2: Download the library and import it as a module. in Settings.gradle

include ':YourApp', ':CallWithDoxDialerLib'

then add the dependency to your app's build.gradle file:

dependencies {  
    compile project(':CallWithDoxDialerLib')
}

Using CallWithDoxDialer

Core Functionality

To initiate a call using Doximity Dialer, simply call the DoxDialerCaller.dialPhoneNumber(Context context, String phoneNumber) method. If the Doximity Dialer app is not installed, this call will direct the user to Doximity Dialer on the Play Store.

Most reasonable phone number formats are accepted by the dialPhoneNumber method, e.g.:

  • using numbers only: 4151234567
  • formatted: (415)123-4567
  • with a leading international area code: +1(415)123-4567
   DoxDialerCaller.dialPhoneNumber(DialActivity.this, "4151234567");
   DoxDialerCaller.dialPhoneNumber(DialActivity.this, "+1(415)123-4567");

Icons

The library also includes a version of the Doximity Dialer icon appropriate for use inside Button or ImageView. It's available in the /DoxDialerIconDrawables folder.

Have a question?

If you need any help, please reach out! [email protected].

android-dialer-call-lib's People

Contributors

yinanoliver avatar majormoses avatar kayvannj avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.