I want to send code to the mobile label printer via mobile application. I have to do this with TCP connection. While tcp connection and printing is OK with the windows desktop application, It just does nothing with the mobile application. Once I click the connect button it connects to the printer and sends the text without problem but the printer does not respond!
Appreciate any suggestion
Here is the code
privatestatic NetworkStream stream;
privatestatic TcpClient client;
if (client == null)
client = new TcpClient();
int port = int.Parse(strPort);
stream = client.GetStream();
StreamWriter writer = new StreamWriter(stream, Encoding.GetEncoding("Windows-1251"));
writer.AutoFlush = false;
I'm venturing in to mobile development, finally, and am targeting Android first as I have a Galaxy S3. I've started with Eclipse but it is a bit clunky and am more comfortable with VS. My question is; since I want to eventually port my app to iOS, is the Xamarin suite of apps worth the cost in the end? I'm using the Mono for Android trial at the moment and a personal license costs $399. A bit steep but it is easier to develop in C# with the (hopefully) easier migration to iOS in the future. I'm using the VS 2012 templates that are installed when I installed the development kit. The documentation is a bit lacking but there are many samples and the community seems well established. So bottom line is would you recommend Java and the Eclipse route or C# with Mono?
If you're starting a new app... go with Java/Eclipse... You don't know whether Mono will keep getting supported in that platform (since it's not exactly a "native" language) so you might as well start out with what most of the other apps are already written in, Java.
Cross platform support for mobile is a pain any way to cut it, probably because most phone manufacturers have the luxury of picking both hardware and software and have no real incentive to support other people's software.
This beta version has expired. Please upgrade to a newer beta to help us test the latest code!
i go this error and i cant run monodroid appi on visual studio 2010 i have last version i download is from this link http://go-mono.com/monodroid-download/[^] i have version mono-android-9794.msi i try many other oldder version but still i cant run it can some one help me please thnx alot