Closed Bug 823492 Opened 12 years ago Closed 11 years ago

Contacts sent using bluetooth to the phone don't get picked up by the contacts app

Categories

(Firefox OS Graveyard :: Gaia::Contacts, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: smaug, Unassigned)

References

Details

At least I haven't figured out how to import my existing contacts to the phone using bluetooth. It is very basic functionality in phones.
Sending contacts to others via bluetooth or SMS is a pretty common practice, AFAIK this usually uses VCard (.vcf) formats. It would be really great to have this, but I'm not sure if it's reasonable to nominate this for any current milestones.
Bug 838121 is about yet another case for VCard/.vcf support. AFAIK, there's no chance to get this into v1 any more, but the good news is that the case in the other bug can fully be done in an app, and the case here can mostly be done in an app - the missing link is handing over an incoming contact to the app (sending can be done with the Bluetooth API, reading/writing contacts with the Contacts API). The incoming case can apparently be worked around by just periodically checking the storage area where bluetooth puts incoming files, and acting upon it when some .vcf file is there. That won't be as smooth as it can be, but it would be something. To make things smoothly, we'd need the Bluetooth part detect a vcf file and trigger a WebActivity to handle it. Ideally, the contact app would also offer to share contacts and trigger a WebActivity for that so it can be shared via Bluetooth, text message, etc. as other phones do.
With current Bluetooth file-transfer implementation, we should be able to receive any formats of file from another device. In other words, Gecko Bluetooth won't reject incoming file transferring requests actively. It will let users decide if they would like to accept it or not. Based on the above description, we know the problem of importing a VCard is that System app, the app responsible for receiving files via Bluetooth, needs to trigger a WebActivity to notify Contact app when the user clicks the notification item on system tray. (:kairo is right.) +cc Ian Liu, the owner of Gaia::BluetoothFileTransfer, to join our discussion.
Summary: Contacts send using bluetooth to the phone don't get picked up by the contacts app → Contacts sent using bluetooth to the phone don't get picked up by the contacts app
Blocks: 840084
Depends on: 887663
Hi Fernando, Thanks for your support sharing VCard via bluetooth. I want your confirmation for the issue here. Since the user story bug 887663 is landed, does it set to meet the issue here? If yes, I think we are able to close the issue here.
Flags: needinfo?(fernando.campo)
Wow, thanks for raising this, I completely forgot about the dependencies of the bug 887663 when landing it. Indeed, we can close this one, 887663 fixes the issue, and now Contacts app gets open when we try to open a vcard received from bluetooth. Thanks again.
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(fernando.campo)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.