Yealink Forums

Full Version: Developing Android apps for T58
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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

anonymous1712222627012

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/down...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
(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/down...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
(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/down...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
Hello,

Could you please respond.

Thanks,

Mark

anonymous1712222627012

(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=A7B...61F3E961B8

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.
(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=A7B...61F3E961B8

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.

anonymous1712222627012

(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=A7B...61F3E961B8

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...mentId=157

KR
Samuel Wang
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.
(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/down...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.
Reference URL's