Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8925553
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T07:43:46+00:00 2026-06-15T07:43:46+00:00

How would you beam a contact using your own app (and using Android Beam)

  • 0

How would you beam a contact using your own app (and using Android Beam) to another device and have it saved in their contact list (i.e. the default contacts app). The contact on the sending device will be provided by the ContactsContract provider.

Preferably I don’t want to have the other device running my app. The built-in contacts app (Android’s default app) can beam and receive contacts. So it should be possible to beam a contact using a custom app to the built-in contacts app.

The answers to this question suggest that it’s possible and that you can use the VCARD format.

Currently, my app will search for a contact by phone number, then display it in a new activity (which is the built-in contacts app). See below.

Uri uri = Uri.fromParts("tel", number.getText().toString(), "");
Log.d("ContactPicker", uri.toString());
startActivity(new Intent(ContactsContract.Intents.SHOW_OR_CREATE_CONTACT, uri));

// Example log message for the number (123)-123-1234 is "tel:(123)%20123-1234"

I’d prefer to do it this way, but don’t think it’s possible because I can’t return the contact that was found (or the contact that was created if no existing one was found). And I need that information if I want to beam that specific contact.

I’ll probably need to query all contacts, find the contact I’m looking for and save its ID.

Note: I’m using API 14


Edit

I made a proof of concept app that does this: https://github.com/dideler/HiFive

The app might be buggy. It’s not maintained, but pull requests are welcome.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T07:43:47+00:00Added an answer on June 15, 2026 at 7:43 am

    Yes, vCard is the way to go. It is the format that the built-in Contacts/People app will pick up. It is also the format that the app uses to store its own data, and I believe.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to implement Android Beam in an app that will not be distributed
I have been developing an Android application which sends NDEF messages via Android Beam
I am trying to modify the default I-beam cursor image. I'm using [[[NSCursor IBeamCursor]
Would be possible to extend this kind of layout so that I can have
Would appreciate some assistance i have a txt file witht he following contents: 1234|dog|apartment|two
Another thread had this quote Erlang VM BEAM and HiPE is written mostly in
I would like to develop an application to Samsung Galaxy Beam which has a
Would my 'lite' version be removed if I have a 'pro' version on my
would like to put fieldSets side-by-side on my Edit page because I have so
Would you guyz be so kind to help me with such question: I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.