1. #1
    Unregistered

    How to do a socket programming in Android app to Java application?

    I have a app created in Android and I want to add it as a java application through socket programming, is that possible? How to do it? Can you give me the details.

  2. #2
    asvg asvg is on a distinguished road
    Join Date
    May 2012
    Posts
    83

    Re: How to do a socket programming in Android app to Java application?

    hi friend,
    surely you can do .Just check this link and do the socket programming in android.It will be useful to you
    http://www.happygeek.in/socket-programming-in-android
    images.jpg

  3. #3
    arunkmarcse arunkmarcse is on a distinguished road
    Join Date
    Jul 2012
    Location
    Chennai
    Posts
    65

    Re: How to do a socket programming in Android app to Java application?

    hi,

    Yes, you can create a java application through socket programming.
    here are some examples of socket programming in android, hope they help.

    http://www.anddev.org/viewtopic.php?t=280
    http://www.anddev.org/general-f3/socket-programming-t325.html#wrap

    Cheers,
    Arun

  4. #4
    doga_ka_kya_hoga doga_ka_kya_hoga is on a distinguished road
    Join Date
    Apr 2012
    Posts
    603

    Re: How to do a socket programming in Android app to Java application?

    Hello Friend,

    The basic concepts of Socket programming remains the same whether you are creating the application in Java framework or Android Framework which is basically Linux.In order to do the socket progaramming you'll need to follow this methodology

    1)Create a socket

    2)Bind a address to socket using Bind command

    3)Start listening to incoming connections using Listen.

    4)After that send a acknowledgemnt

    5)Use FTP to establish the session and for transferring data.

    Refer to the following links for getting into the details of socket programming


    Hope It Helps!

    Thanks and visit again

+ Reply to Thread

Similar Threads

  1. Replies: 15
    Last Post: 24-07-2013, 02:37 PM
  2. Which programming language supports android?
    By Unregistered in forum Android Discussions
    Replies: 16
    Last Post: 07-12-2012, 05:31 PM
  3. How to remove runtime error during programming?
    By Unregistered in forum Android Discussions
    Replies: 5
    Last Post: 31-10-2012, 05:12 PM
  4. Is it possible to play java games in android device?
    By Unregistered in forum Android Discussions
    Replies: 16
    Last Post: 29-06-2012, 01:32 PM
  5. Replies: 6
    Last Post: 13-06-2012, 08:46 AM