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 7070175
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T05:32:05+00:00 2026-05-28T05:32:05+00:00

I am developing an android app in which i want to send (name,email, cell

  • 0

I am developing an android app in which i want to send (name,email, cell # , address, company, name , picture) from one android phone to another . The problem is that how to send this data + picture . Please provide me some code .

  • 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-05-28T05:32:06+00:00Added an answer on May 28, 2026 at 5:32 am

    see this link Bluetooth sharing , it shows how to share files between devices

    I assume that you have experience of developing Bluetooth application in Android. Android Bluetooth API is not supporting OBEX directly, means I can not push any file directly to any device. Android Bluetooth API provide basic functionalities like discovery, connection and data transfer using streams (InputStream and OutputStream).

    Transferring file using Bluetooth need lot of coding. We need to manage device discovery, connection, IO etc.

    Now I found very simple way to send file using Bluetooth. Android has build-in Bluetooth application which allow us to send file across the devices. Build-in Bluetooth Application use SharedPerference to manage queue for Incoming and Outgoing files.

    I find the way to use same technique. Android Bluetooth application use ContentProvider to manage communication between storage and user interface. so I found the way that we can use it’s functionality

    Here is the code, Following 6 line allow you to send file using bluetooth, you required only two things 1. URI of file which you want to send 2. DeviceAddress.

    ContentValues values = new ContentValues();
    values.put(BluetoothShare.URI, "content://" + uritoSend);
    values.put(BluetoothShare.DESTINATION, deviceAddress);
    values.put(BluetoothShare.DIRECTION, BluetoothShare.DIRECTION_OUTBOUND);
    Long ts = System.currentTimeMillis();
    values.put(BluetoothShare.TIMESTAMP, ts);
    

    Description of above code.

    1. Create object of ContentValue
    2. put URI of file which you want to send
    3. put DeviceAdddress, destination device address
    4. put Direction, set outbound means you want to send the file.
    5. time stamp which will display at Notification bar
    6. put time stamp.

    Note: Above code is useful only if we can have URI of file which we want to send. It is perfectly work for Images because we can get URI of images available in Gallery but If we want to send file from SDCard then it difficult because we can not get URI of file available in SDCard.

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

Sidebar

Related Questions

I'm currently developing an Android app, which loads events from a server using JSON
I am developing an android app which sends an email to the different people
I am developing an android app which fetches/uploads data from/to the web service every
I am developing an android app in which I have 3 spinners populated from
I am developing an android app in which I want to find the latitude
I am developing an android app (only Widget) which displays some images from a
I'm developing an Android app that fetches a web page from a website which
I am developing an Android app which needs to poll a specific webpage in
I'm developing a funny quotes app for android. I have over 1000 quotes which
I am developing an android app which requires search functionality. My app contains action

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.