Click here to Skip to main content
15,892,697 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

Is it possible to use vb.net to make a server in a android remote?
Thanks!!
Posted
Comments
Sandeep Mewara 19-Jan-13 15:18pm    
make a server in a android remote
Not clear. Please rephrase/elaborate.

1 solution

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: http://networkinglibrary.codeplex.com/ (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.

Ed

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 .
 
Share this answer
 
v4

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900