Click here to Skip to main content
11,806,026 members (62,227 online)
Rate this: bad
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 15:02pm
Sergey Alexandrovich Kryukov at 2-Jun-13 21:09pm
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 at 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
Sergey Alexandrovich Kryukov at 3-Jun-13 9:29am
Come on, you cannot "host" anything on localhost by definition:

Member 9971256 at 3-Jun-13 16:20pm
i'm still working on my simulator on the lab ,,,
what's your suggestion please
Sergey Alexandrovich Kryukov at 3-Jun-13 16:25pm
Suggestion? Read the documentation I referenced, try it out, accept my answer formally, keep working. What part is unclear?
Member 9971256 at 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
0 Richard Deeming 225
1 OriginalGriff 215
2 Sergey Alexandrovich Kryukov 170
3 Abhinav S 120
4 ppolymorphe 115
0 OriginalGriff 3,330
1 Maciej Los 1,990
2 KrunalRohit 1,907
3 CPallini 1,905
4 Richard MacCutchan 1,227

Advertise | Privacy | Mobile
Web03 | 2.8.151002.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