Click here to Skip to main content
       

Mobile

 
GeneralRe: Which tablet platform is most secure? PinmvpRichard MacCutchan11-Feb-13 6:06 
GeneralRe: Which tablet platform is most secure? Pinmemberoleg6311-Feb-13 6:09 
GeneralRe: Which tablet platform is most secure? PinmvpRichard MacCutchan11-Feb-13 6:12 
GeneralRe: Which tablet platform is most secure? PinmvpRichard MacCutchan11-Feb-13 6:13 
GeneralRe: Which tablet platform is most secure? Pinmemberoleg6311-Feb-13 6:49 
GeneralRe: Which tablet platform is most secure? PinmvpRichard MacCutchan11-Feb-13 6:59 
GeneralRe: Which tablet platform is most secure? Pinmemberoleg6311-Feb-13 7:01 
Questionc# mobile tcp connection to printer Pinmemberkubi0813-Feb-13 23:56 
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
 
private static NetworkStream stream;
private static TcpClient client;
if (client == null)
{
    client = new TcpClient();
    int port = int.Parse(strPort);
    client.Connect(server, port);
}
stream = client.GetStream();
StreamWriter writer = new StreamWriter(stream, Encoding.GetEncoding("Windows-1251"));
writer.AutoFlush = false;
writer.Write(Encoding.GetEncoding("Windows-1251").GetBytes(message).Length);
writer.Write(message);
writer.Flush();

AnswerRe: c# mobile tcp connection to printer Pinmemberkubi0814-Feb-13 2:00 
QuestionGraphic library for WM6 Pinmembereduardods29-Jan-13 6:55 
QuestionIs Mono for Android worth the cost? PinmemberMarc Merritt28-Jan-13 6:16 
AnswerRe: Is Mono for Android worth the cost? PinmemberAlbert Holguin5-Feb-13 15:39 
GeneralRe: Is Mono for Android worth the cost? PinmemberMarc Merritt6-Feb-13 4:00 
GeneralRe: Is Mono for Android worth the cost? PinmemberAlbert Holguin6-Feb-13 5:47 
Questionmonodroid Pinmembernika200826-Jan-13 8:07 
AnswerRe: monodroid Pinmembernika200826-Jan-13 11:45 
Questionmonodroid Pinmembernika200826-Jan-13 2:44 
QuestionBackup SMS on Android PinmemberSwinkaran25-Jan-13 15:28 
QuestionMobile Pingroupjackson kumar17-Jan-13 20:57 
AnswerRe: Mobile PinprotectorPete O'Hanlon17-Jan-13 22:19 
AnswerRe: Mobile PinmvpRichard MacCutchan18-Jan-13 0:22 
AnswerRe: Mobile PinmemberSwinkaran25-Jan-13 15:26 
QuestionAbout mobile web debugger Pinmembertidelgl13-Jan-13 20:20 
QuestionAlameda Locksmith PinmemberAntoneRichmond8-Jan-13 22:54 
QuestionProblem in serializing a class when calling wsdl of webservice using ksoap2 - ANDROID Pinmemberjinshadb6-Jan-13 20:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.141223.1 | Last Updated 24 Dec 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid