Home
Software
VoIP Server
WebPhone
Softphones
Customized Softphone
Windows softphone
Android Softphone
iPhone Softphone
Symbian Softphone
Others
SIP SDK
Java SIP SDK
Windows SIP SDK
Android SIP SDK
iOS SIP
Web SDK
All SIP SDK
VoIP Tunnel
WebRTC to SIP
VoIP Push Gateway
VoIP Tester
SIP Load Balancer
More
Solutions
All in one
Wholesale platform
Click to call
VoIP Billing
VoIP Push
WebRTC
Codec transcoding
VoIP call recording
NAT solution
Presence and IM
IVR
IP Centrex
Predictive dialer
SIP client engine
VoIP Encryption
Large scale VoIP
Services
VoIP Hosting
VoIP Services
JavaScript Phone
VoIP Development
Support
Contact
Documentations
Download
Company
About us
Contact
News
Wiki -VoIP Topics
Home
Search
Recent Changes
Show All Pages
Android SIP SDK Quick Start
AJVoIP
is a highly optimized SIP library for the Android platform. You will need to go trough the following steps to create your Android SIP client or to add VoIP capabilities into your existing Android app:
Download
the Android SIP library and have quick read through it's
documentation
You might load the
sample project
first and check its
MainActivity.java
file for a simple but working usage example.
Create a new project or configure your existing one (See the "Project configuration" in the documentation about the m
anifest/gradle config
).
Add the SIP library to your project (AJVoIP.aar if you are using Android Studio. Otherwise use the jar file)
Import the package:
import com.mizuvoip.jvoip.SipStack;
Create a SIP stack instance:
SipStack mysipclient = new SipStack();
then initialize it:
mysipclient.Init(context);
Set parameters such as your SIP server address, username, password:
mysipclient.SetParameter("serveraddress","voip.mizu-voip.com");
See the "Parameters" chapter in the documentation for the full list of the settings options.
Use the SIP API:
Make calls:
mysipclient.Call(-1, “testivr3”);
Send text message:
mysipclient.SendChat(-1, "john", "hi");
Use any other API (for example to send DTMF, set presence, call transfer, conference or other functions)
Check for notifications coming from the SIP stack. Adjust your state machine and GUI according the notifications received. See the "Notifications" chapter in the documentation for the details. (This might not be needed for very simple projects)
Contact us
if you run into any issue or with any question
All these are explained in more details in the
AJVoIP documentation
"Usage" chapter.
View Topic History
Home
|
Software
|
Solutions
|
Services
|
Support
|
Company
Privacy Statement
|
Terms Of Use
Copyright (©) 2023 Mizutech S.R.L.