Click here to Skip to main content
12,758,605 members (32,667 online)
Rate this:
Please Sign up or sign in to vote.
See more: VB Java VB.NET
Hi All,

Is it possible to use to make a server in a android remote?
Posted 19-Jan-13 8:00am
Sandeep Mewara 19-Jan-13 15:18pm
make a server in a android remote
Not clear. Please rephrase/elaborate.

1 solution

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

Solution 1

Answer: Anything is possible, you just need to work at it.

Real Answer P1: You can't use VB.Net - that's an entirely Microsoft technology!
Real Answer P2: Yes you can do a server/client. I've done it. Sadly, I can't post my Java code in an article because it's being used in a paid-for project so I can't open source it. Hmm...perhaps that should tell you something - it's a lot of work! I based my Java Networking Library on the back of my C# one: (also, see my CP articles). Perhaps my 2 articles and CodePlex project will be enough inspiration for you to do something yourself. Note: The Java code is Very similar to the C# code.


Edit: You could probably (with a lot of effort), write the VB.Net code, compile it to assembler, convert the Windows/Intel assembler code to Android/ARM assembler then, decompile to Java then bundle the Java into an apk but that would be a horrendous and messy process which is almost guaranteed to break down somewhere.

Edit 2: If you wanted to create a VB.Net Windows Server and connect the Android phone as a client, that is certainly possible and doable with my libraries (which are C#.Net but C#.Net and VB.Net can be used almost interchangeably) (plus you'd need to do a little bit of code to do Java to .Net int conversion i.e. big-endian to little-endian and visa-verse .

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.170217.1 | Last Updated 19 Jan 2013
Copyright © CodeProject, 1999-2017
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