|
Hi, i've been looking arround the forum for an answer. well i'm using the kacommon dll from Alex Kwok and i have a little problem. There are some FTP that i won't access no matter what. the problem seems to be when listing the directory content. but i'm not really sure. Has anyone used this component and had a similar problem?
Some Specs for reference:
i dooing an aplicaction for a PockePc with WM6.0, connected via GPRS and it works fine with most FTP servers, but some simple wont acept connection, i think it has something to do with the file sistem on the server, but when i cloned a non-working-with-my-app FTP site, to a Previously-Working-with-my-app FTP Site it didnt work ether, the funny thing is that the non-working-with-my-app site was a clone of the previously-working-with-my-app FTP site. and now none of them works, no funny filenames, or strange symbols nether.
Please help if you can.
Thanks
Black.
|
|
|
|
|
hi, i want some code or tutorials specifying how to use bluetooth in mobile for serial communication.
i.e i dont want it use as obex, RFCOMM, L2cap only as com port cant it be if so how is to do..
|
|
|
|
|
Programing Bluetooth for serial communication is as any regular serial communication. The difference is the port you specify must be a bluetooth one.
If you want to use WinAPI, I suggest to check C++ articles on that topic. Recently I saw a very good article on codeproject, but can't locate it. now.
If you are using C#, I'm sure there are components for serial components that will do the job for you.
|
|
|
|
|
i want code in J2me or java
|
|
|
|
|
ya you can do refer to nokia fourms j2me it will be usefull
|
|
|
|
|
Please sent me a way to print text using bluetooth printer
ssss
|
|
|
|
|
Printing is not supported in Windows Mobile. However this doesn't mean it is impossible.
Here is general plan:
1. Make communication with the printer.
2. Send commands to the printer, so it can print whatever you desire.
First part is pretty much standard and easy. The communication trough bluetooth is usually done as communication trough serial port. Probably sounds a little bit scary, but my routine is around 10 lines of code (just plain API).
The second part is a little bit tricky. It is printer-dependent. Also you need to know at least one of the ways to command the printer.
The easiest way is to learn some of the printer languages- EPL, CPCL, ZPL, ... EPL would be probably the preferred, because it is supported by almost every printer. Personally I prefer CPCL - it is like writing a script.
Most printer support 'Line Mode' - you send them just the text and it prints like in DOS times. However, you should check the manual how to set it up.
P.S. One con about printing with Mobile is that it is quite printer-dependent. If your client have a different one, you will probably need to change the print routine.
|
|
|
|
|
Can U expalin it more easy way. I have no idea about printing
ssss
|
|
|
|
|
Can U expalin it more easy way. I have no idea about printing
There is no easy way
Anyway, the idea is simple:
You make a connection to the printer trough bluetooth serial communication.
With the connection you send commands to the printer (what to print). This can be done trough a printer language or in 'line mode' (like 'print' in C)
Quite simple
|
|
|
|
|
I don't mean easy way. I mean please explain it more deaply pal. Because I have no idea of Serial communication and printer languages
Dushan Perera
|
|
|
|
|
If this can help you, you must imagine the printing from a device using a bluetooth connected printer as to send an SMS through a bluetooth connected cellular.
If to send SMS through a bluetooth connected cellular, the device must send "AT Commands" and the text of SMS to the telephone, to print is necessary to send "ESCAPE Commands" and the text to print to the printer.
How already suggested you, the first step is to establish a bluetooth connection.
modified on Monday, September 29, 2008 3:05 PM
|
|
|
|
|
Hi akirilov,
I am very interested in your routine to establish a bluetooth connection.
In particular if it is in VB-Compact Framework (Windows Mobile 2003 SE compatible), and if it supports Widcomm (not Microsoft) bluetooth stack ....
modified on Tuesday, September 30, 2008 6:55 AM
|
|
|
|
|
Hi I'm working in this moment with an Symbol MC35 and I have to print by Irda in to a Printer Zebra Mz220, This printer support CPCL, and this is what I do, first open the serial port (in this case com3) and sending the code cpcl for writte in the printer.
How ever the comunications begins and the blue light blinks but, an error message show "IOException", please if any one have a clue about how to fix this I'll appreciate.
thanks
|
|
|
|
|
I'm trying to figure out how to include google maps in my application. so i when i get the cords i can render a google map. ideas on how to do this?
|
|
|
|
|
You get the langitude and latitude values, supply to google map API.
|
|
|
|
|
yeah I get that but how would one render it on the phones screen with out launching IE or some other view.
|
|
|
|
|
Hi, moos3,
I have been trying to do the same thing but without any advancement. If you could find any possible way to do that, please let me know.
Thanks in advance,
Renuka Prasad.
|
|
|
|
|
Hello,
how can i get for example Battery-Informations, Network-Informations, Volume-Informations and so on?
How can i dial a number from my Application and Send a SMS?
Thanks
|
|
|
|
|
import Microsoft.WindowsMobile.Status namespace u have all the method to get informatiom about phone
ssss
|
|
|
|
|
softwarejaeger wrote: How can i dial a number from my Application and Send a SMS?
for dial a number use following code
Dim s As New Microsoft.WindowsMobile.Telephony.Phone<br />
s.Talk("+919413684086\0")
and for send a sms using following code
Dim messageBody As String<br />
<br />
messageBody = Me.MessageText<br />
Dim SMSMessage1 As SmsMessage = New SmsMessage("+919413684086", messageBody)<br />
SMSMessage1.Send()
hope this helps
|
|
|
|
|
Hi all!
It's possible to use this code also for Windows mobile 2003 SE (not Phone Edition) applications?
If not, are there other alternatives to do the same work (send SMS)using a cell phone connected by bluetooth to the above device?
Thanks
Ignazio
|
|
|
|
|
Helllo,
How can i get the device id of a windows mobile 5
Best regards
Elie
dghdfghdfghdfghdgh
|
|
|
|
|
//import InteropServices namespace
using System.Runtime.InteropServices;
//Import DLL
[DllImport("coredll.dll")]
private extern static int GetDeviceUniqueID([In, Out] byte[] appdata,
int cbApplictionData,
int dwDeviceIDVersion,
[In, Out] byte[] deviceIDOuput,
out uint pcbDeviceIDOutput);
public string getDeviceUniqueID()
{
byte[] buffer = GetDeviceID("MyAppString");
StringBuilder sb = new StringBuilder();
for (int x = 0; x < buffer.Length; x++)
{
sb.Append(string.Format("{0:x2}", buffer[x]));
}
string strUniqueID = sb.ToString();
return strUniqueID;
}
ssss
|
|
|
|
|
|