Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Java VB.NET
Hi All,
 
Is it possible to use vb.net to make a server in a android remote?
Thanks!!
Posted 19-Jan-13 7:00am
Comments
Sandeep Mewara at 19-Jan-13 15:18pm
   
make a server in a android remote
Not clear. Please rephrase/elaborate.

1 solution

Rate this: bad
good
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: 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 .
  Permalink  
v4

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

  Print Answers RSS
0 OriginalGriff 434
1 Maciej Los 155
2 Richard MacCutchan 130
3 DamithSL 129
4 Kornfeld Eliyahu Peter 119


Advertise | Privacy | Mobile
Web02 | 2.8.140709.1 | Last Updated 19 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid