简体   繁体   中英

Connecting one android device with another android device through bluetooth to access phonebook, play music and manage calls

I want to make an app which will connect from one android device to another through bluetooth. I want to access my phonebook, play music and manage calls. I have searched for it alot but not getting much information about it. Also, I have searched for PBAP but didn't got much help in android.

I have also searched for IVI(In- Vehicle Infotainment) but not getting reference code for it.

Is there any other way to implement it?? or If you have any reference so do answer.

I do not know if Android has PBAP API at all but you can always implement it. You need the following services:

  1. PBAP to work with PhoneBook.
  2. AVRCP to work with Player.
  3. HFP to work with calls.

PBAP is OBEX based profile, so you need the OBEX specification first. The you can download PBAP spec . AVRCP is L2CAP service. AFAIR Android has HFP API.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM