ExgMgr fails

2003-12-08 Thread Ricardo Marques
Hi. I developed an app which is suposed to send a database, from the pda (palm m515), to a PC after the user as selected the file and device. I construct the url _btobex://xx:xx:xx:xx:xx:xx/foo.pdb and do the following : /*** *

Re: (newbie) question about Palm's databases

2003-10-13 Thread Ricardo Marques
I wasn't thinking of creating a conduit. Just want to knwo how does the palm reacts if it receives trough the Exchange Manager (wether from a beam or from a send) a .PDB file... "jose luis garcia" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Hola. > Lo que actualiza las bd del p

(newbie) question about Palm's databases

2003-10-13 Thread Ricardo Marques
thing? 2) the databases record info about update on its headers. Is it possible to create on a PC an app that would be able to parse the .pdb file in order to read its headers so it could compare to other PDB files on the PC? Thx for the attention. Ricardo Marques -- For information on using the

(newbie) selecting specific records

2003-10-08 Thread Ricardo Marques
, a VCalendar), how do I know and get the desired records? Any help would be greatly appreciated. Thx for the attention Ricardo Marques -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

(newbie) sending a txt file with Exg Mgr via Bluetooth

2003-10-08 Thread Ricardo Marques
Hi. I'm developing an app that will send to a Bluetooth device a txt file with a set of information inserted by the user on a field. What I do is this : after selecting the desired remote BT device, the user is able to write something on a field. I retrieve the string written on the field to anoth

Re: (newbie) need help with SMS and the ExgMgr!!!

2003-10-08 Thread Ricardo Marques
Actually its PORTUGUESE. And since someone answered to me in portuguese I saw no problem in answering back in Portuguese. And the reason why you didn't understand the answer was because it wasn't spanish ;) So here goes the answer but in english : bartolomeu" <[EMAIL PROTECTED]> wrote in message ne

Re: (newbie) need help with SMS and the ExgMgr!!!

2003-10-07 Thread Ricardo Marques
I assume your post as an answer for the fact of the previous ones not being in english I appologize, but is not as if I'm getting more help because of that and the question is in english -- **

Re: (newbie) need help with SMS and the ExgMgr!!!

2003-10-07 Thread Ricardo Marques
É uma hipótese a considerar. Terei que ver Obrigado pela atenção. Ricardo "bartolomeu" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Oi, > > Bom ... eu tenho estado a fazer umas experiências com o Bluetooth Serial > Driver e... Funciona. > Assim suponho que os dispositivos móveis

(newbie) need help with SMS and the ExgMgr!!!

2003-10-07 Thread Ricardo Marques
as? Any help would be great. Thx for the attention Ricardo Marques -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

(newbie) sending a .TXT file

2003-10-06 Thread Ricardo Marques
); StrCat(sendName,"/"); StrCat(sendName,(Char *)gBdAddrStr); StrCat(sendName,"/"); StrCat (sendName,"BtSMS"); StrCat (sendName,".txt"); //sendName[sendNameLength]='\0'; } Don't mind the SMS tags. The devices connect with each ot

(newbie) how does sms works?

2003-09-29 Thread Ricardo Marques
BT connection? I'm using ExgMgr to send .pdb files via Bluetooth. Is it possible to use it in order to send a SMS? Thx for the attention Ricardo Marques -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

SMS extension?

2003-09-26 Thread Ricardo Marques
Hi. What is the extension of a SMS message? thx for the attention Ricardo -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

BT and SMS

2003-09-25 Thread Ricardo Marques
Hi Is it possible to send SMS trough a Bluetooth connection? You see I'm developing an app and at the moment I'm sending the PDa databases using the exchange manager. Since SMS can be used also with the ExgMgr I would like to know if it is possible to send SMS trough the ExgMgr but using BT Thx for

(newbie! need help please)selecting particular records from PDA's databases

2003-09-24 Thread Ricardo Marques
ing? And how do I send a particular file? Is it with records as I think? Any help you might be able to provide, would be great. Thx for the attention anyway. Ricardo Marques -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

(Newbie) determining records extensions?

2003-09-23 Thread Ricardo Marques
hough the ExgMgr. However in my app I can select the database from the Address Book, the ToDo List or any other app, so I have to be able to get the extension at real time. Any ideas?? Help would be greatly appreciated (that's all I can give to you :P) Thx for the attention Ricardo Marques

(Newbie)Selecting a specific file from a .pdb

2003-09-21 Thread Ricardo Marques
Hi I would like to know if it is possible to select a file from any given database from an app in the PDA. I'm able to select a database and send it, using Exchange Manager, but I'd like to send a precise file instead of the whole database. thx for the attention. Ricardo Marques

Re: (newbie need help)My app doesn't return to the aplications screen (Home).

2003-09-19 Thread Ricardo Marques
You're absolutly right. That was it. What's most stupid is that previously I had used StrLen instead of sizeof for another string. The problem was basically my mind, My idea was to allocate memory for the string and then fill it and it seemed correct. After changing to StrLen no more problems. DUUU

(newbie)selecting files in Palm

2003-09-18 Thread Ricardo Marques
osterior sending? That is instead of sending myJPEGViewer.pdb being able to send myJPEG.jpg? Any help would be great. Thx for the attention. Ricardo Marques -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

(newbie) my app doesn't return to the launcher after calling ExgMgr

2003-09-18 Thread Ricardo Marques
Hi all. I'm developin an app where I find and select BT devices to which I later send files using Exchange Manager's APIs. However after calling ExgMgr my app is not able to return to the launcher, it gets stuck after calling FrmCloseAllForms() My guess is that I'm leaving something in memory to be

(newbie) ExgSocketType and Exchange Manager.

2003-09-18 Thread Ricardo Marques
Hi. After a connection via Exchange Manager has been finished is it necessary to free or clear anything concerning my ExgSocketType variable? I'm having some problems after calling exchange manager and they occur only after I call the code in which I do the actual sending via BT -- For informat

(newbie) SysDBListItemType fields

2003-09-18 Thread Ricardo Marques
Hi. In my app I'm getting the necessary info about all the availbale databases with the following code : SysCreateDataBaseList(sysFileTApplication,0,&wNumDBsFound,&haItems,true); if (haItems) paItems= (SysDBListItemType*)MemHandleLock(haItems); dBName = (Char *) MemPtrNew(sizeof(paItems[lis

FrmCloseAllForms gives memory error!??!?!

2003-09-17 Thread Ricardo Marques
Hi. I'm getting, when performing a FrmCloseAllForms in AppStop of my app, a Non-Word aligned handle. What might be the problem causing this? Thx for the attention Ricardo -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/foru

Re: (newbie need help)My app doesn't return to the aplications screen (Home).

2003-09-17 Thread Ricardo Marques
Nevermind I've seem to solve the problem i was having. At least the one concerned with the secondary forms.At some point I was allocating memory with MemPtrNew, but never called MemPtrFree. The problem seemms solved now Thx to all of you for the help. Ricardo -- For information on using the Pal

Re: (newbie need help)My app doesn't return to the aplications screen (Home).

2003-09-17 Thread Ricardo Marques
Nevermind I've seem to solve the problem i was having. At least the one concerned with the secondary forms.At some point I was allocating memory with MemPtrNew, but never called MemPtrFree. The problem seemms solved now About the code you're right, but I want to first get things going and only afte

Re: (newbie need help)My app doesn't return to the aplications screen (Home).

2003-09-17 Thread Ricardo Marques
After performing an Inquiry I draw on the rightmost triggers the devices addresses, and in the rest of the triggers I draw " ". I found out just now that if no devices are found and all the triggers are drawn with " ", I manage to return to the launcher whitout any problems. The problem only occurs

Re: (newbie need help)My app doesn't return to the aplications screen (Home).

2003-09-17 Thread Ricardo Marques
Well, my problem only occurs with one of my secondary forms, in which i select a device. I don't see what I'm doing wrong so here is the resource of that form and the function which writes it : //when going to the selection form... case frmOpenEvent: form = FrmGetActiveForm(); //MainFormI

Re: (newbie need help)My app doesn't return to the aplications screen (Home).

2003-09-16 Thread Ricardo Marques
eof("text") returns the size of a pointer to > char, not the length of the string. Take StrLen() instead. > > Am Montag, 15. September 2003 23:48 schrieb Ricardo Marques: > > I'll try that and see what I get, altough my problem seems to happen only > > after I

Re: (newbie need help)My app doesn't return to the aplications screen (Home).

2003-09-15 Thread Ricardo Marques
I'll try that and see what I get, altough my problem seems to happen only after I go to the form where I select my BT devices. This form is defined as follows in my resources file.I've a total of 20 selector triggers.(only put some so this wouldnt be very cumbersome, since they're all the same) F

Re: (newbie need help)My app doesn't return to the aplications screen (Home).

2003-09-15 Thread Ricardo Marques
Following your advice i added if (handled) UpdateScrollBar. But I found out now that every time I pass trough that point handled = false. Is this normal??? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: (newbie need help)My app doesn't return to the aplications screen (Home).

2003-09-15 Thread Ricardo Marques
My problem happens only after I go to the form where I select my BT devices. This form is defined as follows in my resources file.I've a total of 20 selector triggers. FORM ID MenuSelectDevForm AT (0 0 160 160) USABLE HELPID MenuSelectDevFormHelp BEGIN TITLE "Select Device" SELECTORTRIGGER "Dev

Re: (newbie need help)My app doesn't return to the aplications screen (Home).

2003-09-14 Thread Ricardo Marques
Hi Karl I'll try to set a flag for the Update ScrollBarr and see what it does. As for the MainFormDeInit, I'm not doing anything on it so... Thx for the help Ricardo -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: (newbie need help)My app doesn't return to the aplications screen (Home).

2003-09-12 Thread Ricardo Marques
> > Do you meam HOME = the launcher? > Yes. > From the secondary forms, can the app exit perfectly? > Nope > When you say "the app doesn't return the user to HOME", what do you get? the blank screen until > you reset the Palm? > yes, that's it > > If you put a main button (to go back to Main

Re: (newbie need help)My app doesn't return to the aplications screen (Home).

2003-09-12 Thread Ricardo Marques
If you have the patiente to read trough this i congratulate you, otherwise just ignore it and I'll try to reduce to a minimu acceptable. (I'm starting to think on redesigning the UI) static Boolean AppHandleEvent(EventPtr event) { UInt16 formId; FormPtr form; if (Close_BT){ CloseBT(); Clo

Re: (newbie need help)My app doesn't return to the aplications screen (Home).

2003-09-12 Thread Ricardo Marques
My code is just like the recipes available for switching forms. Even so my app gets stuck like I said previously "Dave Lippincott" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Does any of your form handlers intercept OS button message? It sounds like > you intercept messages a

(newbie need help )Beaming Files other than .pdb and OBEX?

2003-09-12 Thread Ricardo Marques
ot possible how do I then have access to that file? Someone as mentioned to me Palm Desktop. Any help would be grealy appreciated Ricardo Marques -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: (newbie need help)My app doesn't return to the aplications screen (Home).

2003-09-11 Thread Ricardo Marques
andler to > allow the messages to pass back to the OS. Check and see if a handler is > passing 'true' somewhere is should be passing 'false' and thus allow the OS > to handle the message. > As for memory leaks, use Pose. Debugging on the emulator will uncover a

(newbie need help)My app doesn't return to the aplications screen (Home).

2003-09-11 Thread Ricardo Marques
Just to provide more information... My ssecondary forms consist of lists in which i select a file in one and a device in another, and automaticaly exit to the main form. I do not have a done or exit button -- For information on using the Palm Developer Forums, or to unsubscribe, please see ht

(newbie need help)My app doesn't return to the aplications screen (Home).

2003-09-11 Thread Ricardo Marques
loseAllForms(); CloseBT(); return errNone; } CloseBT unregisters the BT management and closes the BT library. I'm afraid I'm leaving unclean forms by constantly using FrmGotoForm. Any help in solving this would be great. Thx for the attention. Ricardo Marques. -- For information on

Re: Problems with StrCopy and StrCat

2003-09-01 Thread Ricardo Marques
r buffer[SEND_NAME_SIZE]; > sendName = buffer; > > > -Original Message- > > From: Ricardo Marques [mailto:[EMAIL PROTECTED] > > Sent: Monday, September 01, 2003 12:29 PM > > To: Palm Developer Forum > > Subject: Problems with StrCopy and StrCat > > > >

Re: Problems with StrCopy and StrCat

2003-09-01 Thread Ricardo Marques
ups that's the problem thx "Hugo Takada" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Did you allocate memory for the sendName variable? > > Hugo > > > > -Mensaje original- > De: [EMAIL PROTECTED] > [mailto:[EMAIL PRO

Problems with StrCopy and StrCat

2003-09-01 Thread Ricardo Marques
Hi. I'm trying to copy a string to another and then concatenate it with another but seem to be getting some problems that I can't figure out why. I've defined Char *sendName and later I do StrCopy(sendName,"_btobex:"); StrCat(sendName,dBName); But the app gets stuck in StrCopy, and if I c

newbie question on exchange manager

2003-08-27 Thread Ricardo Marques
If I create my own rfcomm connection do I need to call ExgPut or can I instantly call ExgDBWrite and it uses my connection? If so once again I ask for examples. Any help would be greatly appreciated. Thx for the attention. -- For information on using the Palm Developer Forums, or to unsubscr

(Newbie) Howto send and receive files??

2003-08-14 Thread Ricardo Marques
Hi. I'm developing an app for BT on a Palm m515. This app will do something like a file transfer and I would like for it to have the ability to allow the user to choose a file to send. For example, the user would go to the menu and press "Send File", after which a form would appear asking which fil

Re: (Newbie) Howto send and receive files??

2003-08-14 Thread Ricardo Marques
thx a lot hope this will do the trick -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

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

2003-08-14 Thread Ricardo Marques
rtup of course, you can access the items by gett the current form: > > curForm = FrmGetActiveForm (); > field = FrmGetObjectPtr (curForm, FrmGetObjectIndex >(curForm, ID_LOGIN_LOGINFIELD)); > > So field is a pointer to your login field. Hope i could help you, good luck

How does PalmOS store files?

2003-08-11 Thread Ricardo Marques
Hi. I'm developing a BT app for a Palm m515. I would like to know where does the OS store a file receveid by BT, for example, and how can I find a selesct a file to be sent. Is it possible to define a storage location of my own? Thx for the attention -- For information on using the Palm Develop

(Newbie) Help with forms, fields and lists

2003-08-06 Thread Ricardo Marques
Hi. I'm developing a BT aplication based on the source code, available at Palmsource, of BtL2CAP from Peter Easton. In it he uses fields and lists in which information about the app status and devices available. I was hoping to use some of its features, however I'm working without an IDE (I'm using

Re: Debug Palm apps

2003-07-23 Thread Ricardo Marques
Isn't there a simpler way. I was now using SysFatalAlert because altought it appears a reset button it allows to continue trough the app, but I don't seem to understand what that resest does... "Dave Lippincott" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > use a custom alert dial

Debug Palm apps

2003-07-23 Thread Ricardo Marques
Hello I'm developing an aplication in a m515 using PRC and Cygwin. Since I don't have any IDE debugging the app is quite cumbersome. So I'd like to know if it is possible to display on the PDA's screen debug messages in a similar way as it is done with printf and C, without having to execute a rese

Re: Are background aplications possible in Palm?

2003-06-30 Thread Ricardo Marques
And how is that acomplished? "Alexander Muratov" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > "True" background process is not possible. But your application may be > registered to receive system notifications. > > Best regards, > Alex. > -- For information on using the Pal

Re: Newbie Need Help !! Creating a test file (Hello World)

2003-06-27 Thread Ricardo Marques
thx for the help -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Newbie Need Help !! Creating a test file (Hello World)

2003-06-24 Thread Ricardo Marques
> ps: the instructions are perfect - you just need to read them. > > --- > Aaron Ardiri[EMAIL PROTECTED] > CEO - CTO +46 70 656 1143 > Mobile Wizardry http://www.mobilewizardry.com/ > thx for the help i'll see

Re: Newbie Need Help !! Creating a test file (Hello World)

2003-06-24 Thread Ricardo Marques
"> lets keep in mind that the above page talks about very OLD versions > of the tools - stuff that you can not even download these days. I didn't mention it but I've downloade the recent versions of course, but if that code worked with the old, surely it must work with the new right? > > tell you

Newbie Need Help !! Creating a test file (Hello World)

2003-06-24 Thread Ricardo Marques
Hi all. I'm trying to execute an Hello World in POSE, but as I searched the net I found different versions. One at http://membres.lycos.fr/pbriol/palmos/gcc.html creates 3 files : a .rcp, a .h and a .c. But I've already found versions without the .rcp I'm using Cygwin with PRC, PalmOS sdk 5 for PRC

Re: Hello Wolrd doesn't work !!!

2003-05-30 Thread Ricardo Marques
> latest prc-tools is: > > http://prc-tools.sourceforge.net/ > > there are plenty of docs on that site - read them first please. > When I downloaded Cygwin I indicated for it to download PRC-tools from that site also, so I believe to have the latest... -- For information on using the Palm D

Hello Wolrd doesn't work !!!

2003-05-30 Thread Ricardo Marques
Hi. I'm a newbie in PalmOS programming and I'm trynig to learn how-to do it. I've started with the usual Hello World but can't seem to be able to use it. I've got the source code from http://mirrors.duckies.org/PalmDevelopment/PalmDevelopment-HOWTO-3.html I'm using Cygwin with the latest (i suppose

Palm SDK and PRC

2003-03-18 Thread Ricardo Marques
Do you know what do download and how to correctly configure it, in order for us to use PRC and other Palm tools together with any stack in Cygwin? Thx for your attention. Ricardo Marques -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

OS4 and OS 4.1

2002-12-26 Thread Ricardo Marques
Hi . I've benn posting many questions about OS 5 and so on, but I forgot one very important (at least to me). Does OS 4 or OS 4.1 support bluetooth? That is they allow for me to create an aplication for the BT module in the PDA? Thx Ricardo -- **

Re: Os5 or Os4

2002-12-24 Thread Ricardo Marques
er all that has > happened. > > - Original Message - > From: "Ricardo Marques" <[EMAIL PROTECTED]> > Newsgroups: palm-dev-forum > To: "Palm Developer Forum" <[EMAIL PROTECTED]> > Sent: Monday, December 23, 2

Os5 or Os4

2002-12-23 Thread Ricardo Marques
Hi. As I've stated before in this Forum I and another collegue are doing a final year project with BT which consists of comunicating between a PDA and a PC. Since the majority of Windows softare is available only trough payment we opted with Palm. Since Tungsten included OS5 and BT modu

bluetooth project

2002-11-30 Thread Ricardo Marques
#x27;ll be most thankfull. Goodbye for now. Ricardo Marques. -- ** "All of You that are Secretly Dead, Just Lifless Shells, Consumed and Bled Oblivious to Reason and You a

BT stacks

2002-10-13 Thread Ricardo Marques
Hi. I´m a student in the final year, and as a final project I have to 'create' comunication between a PDA and a PC trough Bluetooth. I´ve heard about BlueZ, Axis and C stacks, and I would like to know which is the most suitable. That is, which has more capabilities for development, mor