Click here to Skip to main content
11,927,190 members (49,385 online)
Rate this:
Please Sign up or sign in to vote.
if i have two application one acts as "Server Side" witch is java desktop application and the anther acts as "Client Side" mobile application ,,,, so how can i connect them ?
Posted 2-Jun-13 16:02pm
What's the problem? What did you try?

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

As you can use Java on both platforms, what's the problem? Start from here:[^].

Member 9971256 3-Jun-13 6:54am
yes exactly what i've done is similar to this link :[^]

but the difference that i made:
1- the name of the server is "local host" and the port is 2323
2- the client on the android studio simulator

but the connection doesn't work
Come on, you cannot "host" anything on localhost by definition:

Member 9971256 3-Jun-13 16:20pm
i'm still working on my simulator on the lab ,,,
what's your suggestion please
Suggestion? Read the documentation I referenced, try it out, accept my answer formally, keep working. What part is unclear?
Member 9971256 4-Jun-13 7:05am
ok thanks i'll do

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.151126.1 | Last Updated 3 Jun 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100