Re: sending data bytes from a PALM PDA to a server using a WIFI modem/card

2003-08-14 Thread blaman
the post belongs to the communication forum, but i´ll give you my code, i was trapped by the same problem for 3 days :o| By the way, the timeout occures when the header isn´t formatted properly, i had the same problem. so here you are: void SendHTTPLogin () { NetSocketAddrINType mySockAddr;

newbie question: how to read a string from a MemHandle?

2003-08-14 Thread blaman
hi everbody, i am new to palm and its memoryhandles. I receive a string and have to store it in a MemHandle, because i resize it in a loop while receiving the data. However, i´ve got no idea how to read the data from the handle, neither a normal (char*) cast, nor a sprintf works. I´m sure it is

Re: (Newbie) Help with forms, fields and lists

2003-08-14 Thread blaman
Hi Ricardo, i am not sure what you mean when speaking of characteristics, but you can set the resources attributes in the .prc file. e.g: FIELD ID ID_LOGIN_LOGINFIELD AT (60 20 90 12) USABLE EDITABLE UNDERLINED FONT 0 MAXCHARS 255 defines the field as usable, editable, underlined, a

Re: newbie question: how to read a string from a MemHandle?

2003-08-14 Thread blaman
at first thanx for your reply. However, when i try to access strP my programm crashes telling me it read memory from the memory manager data structures. Any idea what i did wrong? i locked the handle to write it, unlocked it, locked it again by strP = (Char *)MemHandleLock(h); accessed strP and

Re: HTTP GET and POST using PALM NetLIB

2003-08-01 Thread blaman
mh, im sending a http post request by this code: NetSocketAddrINType mySockAddr; Char cpSendBuf[500]; NetSocketRef mySockFd; Err err; UInt16 AppNetRefnum; Int32 AppNetTimeout; UInt16 myHowMany; char textP[2000]; char Buf[255]; UInt16* sizeP; char Request[255]; Char

how to send a http request via netlib?

2003-07-31 Thread blaman
hi, i gave up sending my http request via inetlib and tried to send it via the lower level functions provided by net.lib. However, I still dont get along with it. It would be really nice if someone could paste an examplecode to send an xml document (or simply a POST http request with its

Re: how to send a http request via netlib?

2003-07-31 Thread blaman
I have to say that i didn´t manage to use the http tester, thanx anyway. However, i a´m also using the Tungsten W, probably i could have a look at your code? When i tried to use inet.lib my arguments weren´t passed, when i tried to use net.lib i get a timeout while waiting for data... i getting

Re: HTTPS/HTTP support in OS5

2003-07-30 Thread blaman
well... you can use the inet.lib which provides the apis or use the lower level lib net.lib. when using inet.lib you can do it like: err = SysLibFind(INet.lib, libRefNum); //check if its is already installed if (err == sysErrLibNotFound) { //it is not, we have to do it ourself err =

why does INetLibSockHTTPReqSend not send my request arguments?

2003-07-30 Thread blaman
hi everbody, i still don´t get along with sending a http request via INetLibSockHTTPReqSend. I found out that my request reaches the server without any arguments. Are´nt the http arguments submitted as the 3rd argument of INetLibSockHTTPReqSend? I´ll paste the source i used below and hope you can

why does this INetLibSockHTTPReqSend fail?

2003-07-29 Thread blaman
Hi everbody, i´m programming for palm OS 4.x and use the inet.lib to send a http request. I´m using xml, but i only get the xml errormessage The request could not be processed. Yes, that means that the http request is successful itself, but it seems that my Request argument (3rd in

Re: Help with installing application

2003-07-29 Thread blaman
hi thomas, have you tried to take out all your source by comment brackets except reacting to sysAppLaunchCmdNormalLaunch? i would guess your application is launched by another launchcode. You could also debug your application to see if your programm caused the crash itself. Dont know if this helps

Re: how to stop receivingmails from group

2003-07-28 Thread blaman
i dont know what you are talking about when you speak of a yahooid but to avoid receiving mails directly write a mail to: [EMAIL PROTECTED] containing only: set emulator-forum nomail hope that was what you needed. Ahmad Mansour [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] dear

how to send a http request without the inet.lib?

2003-07-23 Thread blaman
hi everybody, im programming an application for a tungsten W, running palmOS 4.x and need to send a http request. i looked up the inet.lib functions, but then i recognized that inet.lib appears not to be installed. err = FtrGet(inetLibFtrCreator, inetFtrNumVersion, value); returns an error.

where/how to store data for later use

2003-07-22 Thread blaman
hi everybody, i´m programming an application for palm OS 4.x and like to store data (a 160 char long string) when my application is closed for later use. What would you describe to be the easiest method to do this? i cant write records because my database is a Resource database. Can i write to the

Re: where/how to store data for later use

2003-07-22 Thread blaman
wow. thats what i call fast and accurate help. thanx :) -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

how to deliver information to attention manager?

2003-07-21 Thread blaman
hello everybody, i´d like to use the attention manager and need to show a string containing various information. How do i do this? When receiving sysAppLaunchCmdAttention global variables are not accessable. maybe anyone of you can help me, thanx in advance -- For information on using the

launchcode to receive mails automatically

2003-07-18 Thread blaman
hi everybody, i´d like to launch the mailapp (VersaMail, the new version of MultiMail, which means it will probably have the same flags) on the Tungsten W (Palm OS 4.x), collecting the mails automatically (same behaviour like pushing the Get Mail button). To switch to the application via Err

Re: Using the Attention Manager

2003-07-17 Thread blaman
Thanks for taking the time to look at my issue. I have neither snoozed nor further insistent attentions when receiving the launchcode containing the kAttnCommandDrawDetail command. I am wondering why i receive it before it switches to the reminderlist without receiving kAttnCommandDrawList

Re: Using the Attention Manager

2003-07-17 Thread blaman
Ah. i found out the strange behaviour occurs when i access the launchcode provided AttnLaunchCodeArgsType. if i do not access the structure the reminderdialog is displayed correctly. however i need to access the structure to get the comandtype and x/y values to print the attentionmessages. Any

Using the Attention Manager

2003-07-16 Thread blaman
hi everybody, i´m using the attention manager when receiving an sms executing Error = AttnGetAttention (cardNoP, dbIDP, NULL, NULL, kAttnLevelInsistent, kAttnFlagsAllBits, 300, 3); to call the attention. The Launchcode containing LaunchCodeArgs-command = kAttnCommandDrawDetail is received

how to start the mailapp collecting the mails automatically?

2003-07-10 Thread blaman
Hi all, i´d like to write a program launching the VersaMail application on a Tungsten W (PALM OS 4.x) and make the application collect the mail. if you have any suggestion, everything will help because i got no idea how to do Thx begin 666 confused.gif