I'm intent to making Android support Message Access Profile (on Sink side) that can get incoming message from iPhone via bluetooth, same with Smart Watch do
But i don't know how to implement it on Android.
I'm intent to making Android support Message Access Profile (on Sink side) that can get incoming message from iPhone via bluetooth, same with Smart Watch do
But i don't know how to implement it on Android.
MAP (Message Access Profile) uses the OBEX (Object Exchange) profile to talk over. So begin with understand (read the specification) and implement OBEX. A good thing to build is a OBEX package parser/builder. The are more profiles that using OBEX as a base, example OPP (Object Push Profile) and PBAP (Phonebook Book Access Profile).
When you hava a parser/builder you implement MAP on it. MAP (specification) have two parts MAS (Message Access service) and MNS (Message Notification service). Depending of what you want to do you may need to impelment both. As you say in the question that you want to recive notifications from the phone about new message and the get it, then you need both parts. If you only want to read message from the phone then you only need to implement the MAS part.