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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T15:11:33+00:00 2026-05-26T15:11:33+00:00

Phone Information: Droid Bionic Android 2.3.4 USB Debugging Enabled I am looking into writing

  • 0

Phone Information:
Droid Bionic
Android 2.3.4
USB Debugging Enabled

I am looking into writing an application for personal use, where I can send data from the client (on the phone) to the server application (on my computer), hopefully through USB. The only suggestions I have found for this using Android 2.3.4 is to use ADB and then to do something with TCP forwarding.

I have wrote a simple server and client application between computers using port 8001, but am having issues getting the client on my android to work with the server piece on my computer. I can create a socket for to talk to my computer (192.168.1.26, 8001), but can’t seem to get it to work because the java is different on the android device from the comptuer client I made. Does anybody know of a very simple tutorial or example I can look at for just connecting the client to a server piece? All of the previous examples I have looked at are all complicated.

As for the USB portion, I would hopefully like to be able to get my application to work without going through the network. I have seen things about using “ADB forward tcp:port tcp:port”, but am a bit confused on the whole thing. What do I set for the IP address and port number for the socket on the client, and do I leave the server on port 8001? What command do I use through ADB to do this if I wan’t to use port 8001?

Thank you

  • 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-26T15:11:34+00:00Added an answer on May 26, 2026 at 3:11 pm

    If you want to forward TCP port 8001 on your computer to port 8001 on the phone, you’d use this command:

    adb forward tcp:8001 tcp:8001

    You can change the ports on either the phone or the device, if needed. Documentation for that command is here: http://developer.android.com/guide/developing/tools/adb.html#forwardports

    As for why this shouldn’t work — there’s some information missing from your question. These are just standard TCP sockets. The Java version shouldn’t make any difference, so I don’t understand your problem. The client running on your computer could be written in any language (Ruby, C++, etc.).

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

Sidebar

Related Questions

I am using an Android phone in my application to read GPS information. The
I am developing an android application. I want to extract information (e.g secondary phone
My application is meant to speed up the retrieval of phone call information from
I am trying to query contact information based on a phone number on android
My Android app needs to retrieve information about a contact (namely, phone number and
I am trying to send information to a server from an android phone. When
Is there a way to information on the camera buit into the phone? Things
How can i get Palm mobile owner information like name/phone number/mailId ..... from code
I'm looking for how to access information on a website from a Windows Phone
We recently released an android application that pulls information from an external server. Last

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.