SlideShare a Scribd company logo
Start working on Android Linphone
Let's start to customize....
Call button(CallButton.java)
lTo start outbound calling on a specifiec address, use:-
LinphoneManager.getInstance().newOutgoingCall(AddressType address);
Or
LinphoneManager.getInstance().newOutgoingCall(String to, String
displayName);
Address/to can be user_name or user_name@sip.linphone.org beacuse
interpretUrl(String to) converts string to LinphonAddress(SIP Address).
InterpretUrl is a method of LinphoneCore class.
lTo terminate call, use:-
lLinphoneManager.getInstance().terminateCall();
Call button(CallButton.java)
lWhen we pressed on call button:-
If address is empty: take last user name from call log and show on dialer
screen if call log is not empty.
If address is wrong: terminate call and show wrong address as toast message.
Else: start calling(If no incoming call on pending state).
LinphonePreferences.java
lThis file has all details of registered user. For example:-
User name, id, password, domain, proxy, transport, expire, display name, etc.
lSet user details or delete details methods are available and
easily recognized by name.
lTo create object of this class, use:-
lLinphonePreferences mPrefs = LinphonePreferences.instance();
lTo get default user index, use:-
lint n=mPrefs.getDefaultAccountIndex();
lAll methods are example of getter and setter.

More Related Content

PDF
What's new in c# 6
PPTX
Operators
PPTX
Programming basics
PDF
DOCX
Basic of c programming www.eakanchha.com
DOC
De so 1
PDF
First c program
PPTX
Seminar 2 coding_principles
What's new in c# 6
Operators
Programming basics
Basic of c programming www.eakanchha.com
De so 1
First c program
Seminar 2 coding_principles

Similar to Android Linphone by www.coders-hub.com (17)

PPTX
Android Lab Test : Managing the telephone calls (english)
PPTX
Outgoing Call Flow ~ Android ( < Nougat).
PDF
Firewall Best Practices for VoIP on pfSense - pfSense Hangout October 2017
PDF
#1 How to develop a VoIP softphone in C# by using Ozeki VoIP SIP SDK - Part 1
PDF
Yeastar MyPBX-Basic configuration
PPT
Tadhack madrid June 2014: Joris Swinnen and WebRTC Nederland "Invite my colle...
PPT
Free Pbx Ot
PPT
Asterisk World2008
PPT
Lindheimer Philippe
DOCX
Create two Java classes Phone.java and PhoneGUI.java. Phone.java wi.docx
PDF
Automatic Android Telecaller App Using REST API
PPTX
Telephony API
PPTX
Caller ID Android Application
PPT
VoIP - Cisco CME &amp; IP Communicator
PDF
TADS Developer Summit Apidaze Philippe Sultan
PDF
Demystify lync enterprise voice phone numbers and extension
PDF
Contextual Voice/Communications as an App or App Feature (on Android)
Android Lab Test : Managing the telephone calls (english)
Outgoing Call Flow ~ Android ( < Nougat).
Firewall Best Practices for VoIP on pfSense - pfSense Hangout October 2017
#1 How to develop a VoIP softphone in C# by using Ozeki VoIP SIP SDK - Part 1
Yeastar MyPBX-Basic configuration
Tadhack madrid June 2014: Joris Swinnen and WebRTC Nederland "Invite my colle...
Free Pbx Ot
Asterisk World2008
Lindheimer Philippe
Create two Java classes Phone.java and PhoneGUI.java. Phone.java wi.docx
Automatic Android Telecaller App Using REST API
Telephony API
Caller ID Android Application
VoIP - Cisco CME &amp; IP Communicator
TADS Developer Summit Apidaze Philippe Sultan
Demystify lync enterprise voice phone numbers and extension
Contextual Voice/Communications as an App or App Feature (on Android)
Ad

Recently uploaded (6)

PDF
Lesson 13- HEREDITY _ pedSAWEREGFVCXZDSASEWFigree.pdf
DOC
证书学历UoA毕业证,澳大利亚中汇学院毕业证国外大学毕业证
PPTX
ASMS Telecommunication company Profile
DOC
Camb毕业证学历认证,格罗斯泰斯特主教大学毕业证仿冒文凭毕业证
PDF
heheheueueyeyeyegehehehhehshMedia-Literacy.pdf
PDF
6-UseCfgfhgfhgfhgfhgfhfhhaseActivity.pdf
Lesson 13- HEREDITY _ pedSAWEREGFVCXZDSASEWFigree.pdf
证书学历UoA毕业证,澳大利亚中汇学院毕业证国外大学毕业证
ASMS Telecommunication company Profile
Camb毕业证学历认证,格罗斯泰斯特主教大学毕业证仿冒文凭毕业证
heheheueueyeyeyegehehehhehshMedia-Literacy.pdf
6-UseCfgfhgfhgfhgfhgfhfhhaseActivity.pdf
Ad

Android Linphone by www.coders-hub.com

  • 1. Start working on Android Linphone Let's start to customize....
  • 2. Call button(CallButton.java) lTo start outbound calling on a specifiec address, use:- LinphoneManager.getInstance().newOutgoingCall(AddressType address); Or LinphoneManager.getInstance().newOutgoingCall(String to, String displayName); Address/to can be user_name or user_name@sip.linphone.org beacuse interpretUrl(String to) converts string to LinphonAddress(SIP Address). InterpretUrl is a method of LinphoneCore class. lTo terminate call, use:- lLinphoneManager.getInstance().terminateCall();
  • 3. Call button(CallButton.java) lWhen we pressed on call button:- If address is empty: take last user name from call log and show on dialer screen if call log is not empty. If address is wrong: terminate call and show wrong address as toast message. Else: start calling(If no incoming call on pending state).
  • 4. LinphonePreferences.java lThis file has all details of registered user. For example:- User name, id, password, domain, proxy, transport, expire, display name, etc. lSet user details or delete details methods are available and easily recognized by name. lTo create object of this class, use:- lLinphonePreferences mPrefs = LinphonePreferences.instance(); lTo get default user index, use:- lint n=mPrefs.getDefaultAccountIndex(); lAll methods are example of getter and setter.