Yealink Forums
Developing Android apps for T58 - Printable Version

+- Yealink Forums (http://forum.yealink.com/forum)
+-- Forum: IP Phone Series (/forumdisplay.php?fid=4)
+--- Forum: General topics (/forumdisplay.php?fid=15)
+--- Thread: Developing Android apps for T58 (/showthread.php?tid=41726)



Developing Android apps for T58 - MissionlabsMark - 04-18-2018 08:50 AM

Hello,

I'm looking into integrating an app into the T58. To do this could I have some information.

1. How can I detect phone actions within my app?
Examples:
is there a receiver I can register to know when the handset has been picked up.
Are there receivers for the hardware buttons like the volume, mute etc.
Is there an intent I can use to initiate a call? (For example I have a contact in my app and clicking it I can make a call).
Can I use my own dialler? So, when the handset is picked up I can launch my own dialler and not the yealink one.

Thanks,

Mark


RE: Developing Android apps for T58 - Samuel_Yealink - 04-19-2018 09:42 AM

Hi Mark,

On T58, we have 2 kinds of interfaces for your purpose.

1. Action URI/Action URL.
Please kindly refer our admin guide on Page 622 about Action URL/Action URI:
http://download.support.yealink.com/download?path=upload%2Fattachment%2F2017-11-3%2F3%2Fdfd4e4b7-084f-4d9f-967b-84ced9a22e9f%2FYealink_SIP-T2_Series_T19%28P%29%20E2_T4_Series_T5_Series_IP_Phones_Administrator_Guide_V82_​22.pdf

2. T58 is Android based, and we can provide the SDK tool for you to debug the app.
If you wish to go this way to debug your app with SDK tool, please give me the MAC address of your T58, and then I will send your necessary tooling.

Kind Regards
Samuel Wang


RE: Developing Android apps for T58 - MissionlabsMark - 04-21-2018 04:52 PM

(04-19-2018 09:42 AM)Samuel_Yealink Wrote:  Hi Mark,

On T58, we have 2 kinds of interfaces for your purpose.

1. Action URI/Action URL.
Please kindly refer our admin guide on Page 622 about Action URL/Action URI:
http://download.support.yealink.com/download?path=upload%2Fattachment%2F2017-11-3%2F3%2Fdfd4e4b7-084f-4d9f-967b-84ced9a22e9f%2FYealink_SIP-T2_Series_T19%28P%29%20E2_T4_Series_T5_Series_IP_Phones_Administrator_Guide_V82_​22.pdf

2. T58 is Android based, and we can provide the SDK tool for you to debug the app.
If you wish to go this way to debug your app with SDK tool, please give me the MAC address of your T58, and then I will send your necessary tooling.

Kind Regards
Samuel Wang

Hello, sent you a PM about this.

Thanks,

MArk


RE: Developing Android apps for T58 - MissionlabsMark - 04-24-2018 07:39 AM

(04-21-2018 04:52 PM)MissionlabsMark Wrote:  
(04-19-2018 09:42 AM)Samuel_Yealink Wrote:  Hi Mark,

On T58, we have 2 kinds of interfaces for your purpose.

1. Action URI/Action URL.
Please kindly refer our admin guide on Page 622 about Action URL/Action URI:
http://download.support.yealink.com/download?path=upload%2Fattachment%2F2017-11-3%2F3%2Fdfd4e4b7-084f-4d9f-967b-84ced9a22e9f%2FYealink_SIP-T2_Series_T19%28P%29%20E2_T4_Series_T5_Series_IP_Phones_Administrator_Guide_V82_​22.pdf

2. T58 is Android based, and we can provide the SDK tool for you to debug the app.
If you wish to go this way to debug your app with SDK tool, please give me the MAC address of your T58, and then I will send your necessary tooling.

Kind Regards
Samuel Wang

Hello, sent you a PM about this.

Thanks,

MArk


Hello,

could I have a response to my PM please,

Thanks,
Mark


RE: Developing Android apps for T58 - MissionlabsMark - 04-27-2018 09:48 AM

Hello,

Could you please respond.

Thanks,

Mark


RE: Developing Android apps for T58 - Samuel_Yealink - 04-28-2018 09:07 AM

(04-27-2018 09:48 AM)MissionlabsMark Wrote:  Hello,

Could you please respond.

Thanks,

Mark

Hi Mark,

Sorry for replying late, but next time please submit your request in the Yealink Ticket system (ticket.yealink.com)if you request a quick support, usually you will get a response in 24 hrs.

Regarding this issue, if you wanna do it by the Action URI/Action URL, please refer to the admin guide in below link,

http://sfyms.yealink.com/?ShareToken=A7BFDA42762F36EDD49625740FACED61F3E961B8

And if you wanna the SDK debugging, all the necessary materials are in the same link, please follow it according the SDK manual.

SDK Manual

Kind Regards
Samuel Wang

To be more specific,

1. Firstly, for debugging purpose, you need to install the firmware of 58.80.0.201

2. After the firmware upgrade, please provision below parameters to your T58.

   i. There is the mac.cfg file in the FTP link, put it on your provison server and get the URL of it.

      e.g. http://192.168.0.1/mac.cfg

   ii. Save below text in the Notepad, and save it as a .cfg file, e.g. adb.cfg

#!version:1.0.0.1

adb_permission.url = http://192.168.0.1/mac.cfg


Put this adb.cfg file on your provision server as well, and provision it to your T58 via Auto Provision on the web GUI>Settings>Auto Provision

Now you can start debugging on this phone, the ADB tooling is also in the FTP link.


RE: Developing Android apps for T58 - MissionlabsMark - 04-30-2018 07:42 AM

(04-28-2018 09:07 AM)Samuel_Yealink Wrote:  
(04-27-2018 09:48 AM)MissionlabsMark Wrote:  Hello,

Could you please respond.

Thanks,

Mark

Hi Mark,

Sorry for replying late, but next time please submit your request in the Yealink Ticket system (ticket.yealink.com)if you request a quick support, usually you will get a response in 24 hrs.

Regarding this issue, if you wanna do it by the Action URI/Action URL, please refer to the admin guide in below link,

http://sfyms.yealink.com/?ShareToken=A7BFDA42762F36EDD49625740FACED61F3E961B8

And if you wanna the SDK debugging, all the necessary materials are in the same link, please follow it according the SDK manual.

SDK Manual

Kind Regards
Samuel Wang

To be more specific,

1. Firstly, for debugging purpose, you need to install the firmware of 58.80.0.201

2. After the firmware upgrade, please provision below parameters to your T58.

   i. There is the mac.cfg file in the FTP link, put it on your provison server and get the URL of it.

      e.g. http://192.168.0.1/mac.cfg

   ii. Save below text in the Notepad, and save it as a .cfg file, e.g. adb.cfg

#!version:1.0.0.1

adb_permission.url = http://192.168.0.1/mac.cfg


Put this adb.cfg file on your provision server as well, and provision it to your T58 via Auto Provision on the web GUI>Settings>Auto Provision

Now you can start debugging on this phone, the ADB tooling is also in the FTP link.

Thanks for this, but the link to the SDK manual gives a "404" error.


RE: Developing Android apps for T58 - Samuel_Yealink - 05-02-2018 01:40 AM

(04-30-2018 07:42 AM)MissionlabsMark Wrote:  
(04-28-2018 09:07 AM)Samuel_Yealink Wrote:  
(04-27-2018 09:48 AM)MissionlabsMark Wrote:  Hello,

Could you please respond.

Thanks,

Mark

Hi Mark,

Sorry for replying late, but next time please submit your request in the Yealink Ticket system (ticket.yealink.com)if you request a quick support, usually you will get a response in 24 hrs.

Regarding this issue, if you wanna do it by the Action URI/Action URL, please refer to the admin guide in below link,

http://sfyms.yealink.com/?ShareToken=A7BFDA42762F36EDD49625740FACED61F3E961B8

And if you wanna the SDK debugging, all the necessary materials are in the same link, please follow it according the SDK manual.

SDK Manual

Kind Regards
Samuel Wang

To be more specific,

1. Firstly, for debugging purpose, you need to install the firmware of 58.80.0.201

2. After the firmware upgrade, please provision below parameters to your T58.

   i. There is the mac.cfg file in the FTP link, put it on your provison server and get the URL of it.

      e.g. http://192.168.0.1/mac.cfg

   ii. Save below text in the Notepad, and save it as a .cfg file, e.g. adb.cfg

#!version:1.0.0.1

adb_permission.url = http://192.168.0.1/mac.cfg


Put this adb.cfg file on your provision server as well, and provision it to your T58 via Auto Provision on the web GUI>Settings>Auto Provision

Now you can start debugging on this phone, the ADB tooling is also in the FTP link.

Thanks for this, but the link to the SDK manual gives a "404" error.

The SDK instructions is available on the official website, under the user documents.

http://support.yealink.com/documentFront/forwardToDocumentDetailPage?documentId=157

KR
Samuel Wang


RE: Developing Android apps for T58 - benaam433 - 09-15-2019 11:45 AM

Thanks for this thread. It really helped me. So I've tried various things. Today I've modified an android application which was Lovoo Mod APK, by using T58.


RE: Developing Android apps for T58 - justingoldberg - 09-26-2019 01:28 PM

(04-24-2018 07:39 AM)MissionlabsMark Wrote:  
(04-21-2018 04:52 PM)MissionlabsMark Wrote:  
(04-19-2018 09:42 AM)Samuel_Yealink Wrote:  Hi Mark,

On T58, we have 2 kinds of interfaces for your purpose.

1. Action URI/Action URL.
Please kindly refer our admin guide on Page 622 about Action URL/Action URI:
http://download.support.yealink.com/download?path=upload%2Fattachment%2F2017-11-3%2F3%2Fdfd4e4b7-084f-4d9f-967b-84ced9a22e9f%2FYealink_SIP-T2_Series_T19%28P%29%20E2_T4_Series_T5_Series_IP_Phones_Administrator_Guide_V82_​22.pdf

2. T58 is Android based, and we can provide the SDK tool for you to debug the app.
If you wish to go this way to debug your app with SDK tool, please give me the MAC address of your T58, and then I will send your necessary tooling.

Kind Regards
Samuel Wang

Hello, sent you a PM about this.

Thanks,

MArk


Hello,

could I have a response to my PM please,

Thanks,
Mark

Why does the app always go into the background? An option to stay in the foreground would be good.