Re: 5-Way Navigator handling

2005-09-01 Thread Robert Moynihan
Jim McGowen wrote: Well after much toil I'm back where I started, only even more confused than I was. What I want to do is handle 5-way navigation key down events. I don't need one-handed navigaion or focus rings ect... I simply want to handle scrolling and selecting in a custom list

Re: 5-Way Navigator handling

2005-09-01 Thread Robert Moynihan
== chrVerticalTabulation) return keyU; if (key== chrFormFeed)return keyD; to handle the generic up/down on non-5-way devices. Bob Robert Moynihan [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Jim McGowen wrote: Well after much toil I'm back where I started

Re: 5-Way Navigator handling

2005-09-01 Thread Robert Moynihan
Jim McGowen wrote: Just tried it again and it DOES work... must have copied something wrong the first time, sorry bout that! Yeah, I thought that it had to work. Still seeing multiple key down events though. On that note, the Tungsten C always uses the first half of your if statement,

Linker can't find MemGluePtrNew().

2005-08-30 Thread Robert Moynihan
Hi folks. I'm having a little trouble with this glue function. I inlcude the MemGlue.h file in my project, and link libPalmOSGlue.a. The compiler is happy, finding the headers and such, but the linker says it cannot find that function, although I have already been successful in accessing

Re: Linker can't find MemGluePtrNew().

2005-08-30 Thread Robert Moynihan
Ben Combee wrote: You really should update to the Palm OS 68K API SDK (Fall 2004)... that was the one I put together last fall when I was at PalmSource, and it included a fresh build of the Palm OS Glue libraries with all the latest functions. You can get it from the PalmSource developer

Re: Palm program dies on Tungsten T3

2005-08-30 Thread Robert Moynihan
Mark Chauvin wrote: No, I haven't. I was going to find load the T3 ROM debug image into Emulator see what happens. Doesn't Emulator catch more errors than Simulator does? Is it worth it to do both? The emulators only work for OS less than 5.0. When you want to test out an OS5 app you

Re: user name of the handled

2005-08-25 Thread Robert Moynihan
Danaé Castro Terán wrote: Hello: Please help me... I need the name of the handheld user in the user data store to synchronize with. Try this: { char*nameP=NULL; nameP = MemPtrNew(dlkUserNameBufSize); if (nameP){ DlkGetSyncInfo(NULL, NULL, NULL, nameP, NULL, NULL);

Re: ASCII DIFFERENCES?

2005-08-24 Thread Robert Moynihan
[EMAIL PROTECTED] wrote: Hi, Anyone else notice the ASCII representation differences between WINDOWS and PALM? Example.. £163 (on my desktop) £-93 (on the palm) ß223 (on desktop) ß -33 (on palm) You are confusing 'signed' and 'unsigned' data types. In terms of

Re: How to copy data to PC?

2005-08-10 Thread Robert Moynihan
Klemen Dovrtel wrote: Is it possible to open the database with excel? No. An Excel database has a specific format, which is definitely not the same as a Palm database. The Palm database has a special header, which is useless to Excel, and each record in the Palm database has a stucture

Re: simulator and rotation?

2005-08-09 Thread Robert Moynihan
Jeffrey Siegel wrote: you should get T5 simulator from palm pluggedin site http://pluggedin.palmone.com/regac/pluggedin/index.jsp , not generic OS 5.4 simulator. Am I the only one who can't seem to log onto the pluggedin pages at palmone.com or palm.com? When I enter my email address

Re: Free ptr / ptr is handle, after app?

2005-08-05 Thread Robert Moynihan
I don't think it is just a memory leak. A memory leak usually fails silently on the h/w device, and only become obvious on the desktop sim/emulator (at least until you have leaked enough times that you cause a crash). Certainly there IS a leak that needs to be cleaned up, if the emulator is

Re: testing if the device is Handspring

2005-08-04 Thread Robert Moynihan
Scott Erickson wrote: Is there a simple way to test if the device running an app is Handspring? Like so?... Boolean IsHS(void){ UInt32value; if (!FtrGet (hsFtrCreator, hsFtrIDVersion, value)) return true; return false; } ...and for the next question, perhaps...

Re: sending an SMS to/from a treo 600 simulator

2005-08-02 Thread Robert Moynihan
Scott Erickson wrote: I take it my post never made it to the forum. Hopefully this one does. No. I've got your post of 2hrs ago in my inbox. I just checked my mail now, so it could have been queued for a while by the server and just dumped out recently. Is there a way, like a loopback

Re: A user that has a full mail box!

2005-08-02 Thread Robert Moynihan
David Fedor wrote: At 03:54 AM 7/31/2005, Chris Tutty wrote: From: Luc Le Blanc [EMAIL PROTECTED] Regarding the full mailbox problem, shouldn't these messages be sent to the news mailer, not the poster? After all, to the mailer is the message origin (spreading the post), not to poster.

Re: preload a field on a popup form Code Posted with a problem

2005-08-02 Thread Robert Moynihan
druid wrote: I am still trying to get this to completly work so I can figure out how to preload a field on a popup form from the main form. Based on the code posted in a different message, here is my project. I have indicated where the program chokes Error says it is off screen, then crash's

Re: preload a field on a popup form

2005-08-01 Thread Robert Moynihan
druid wrote: My complier does not like this VoidPtr GetFrmObjectPointer(UInt16 frmID, UInt16 objectID); its ok with this You could try this instead then... void *GetFrm. But why not just avoid the issue altogether, and rewrite it so that it is in-line. As I said before, I don't

Re: preload a field on a popup form

2005-07-31 Thread Robert Moynihan
Hi druid, You don't really say what you are doing with SetFieldText(), so at the bottom is a general-purpose function that I use regularly. It accepts the text for 2 fields as input parameters, plus an explanation label, 2 title labels for the fields, and text buttons (2nd button is

Re: preload a field on a popup form

2005-07-31 Thread Robert Moynihan
druid wrote: im having trouble seeing where the field is preloaded before the form is poped open If you are referring to my post, then you'll see this statement near the bottom of the routine that I provided: action=FrmDoDialog(formNew); The form isn't actually visible until the

Re: preload a field on a popup form

2005-07-31 Thread Robert Moynihan
druid wrote: This is how I normaly get an object pointer fldP = FrmGetObjectPtr(frm, FrmGetObjectIndex(frm, fieldID)); I see reference to a routine called GetFrmObjectPointer as it not in the api i guess its a custom routine to do that same anyone have a copy of that Right. I tried

Re: Possibilities to not allow to Delete a Database?

2005-07-30 Thread Robert Moynihan
Prabakar MP wrote: Hi, Can anyone tell me., What are all the possibilities in coding, 1. To not allow anyone to Delete my Database On Device. [ That means no body can delete the Database manually or using any tool On Device. ] Deleting a database is an easy task, so I think that you

Re: simple Please wait box

2005-07-28 Thread Robert Moynihan
Logan Shaw wrote: Scott Erickson wrote: Im looking to just pop up a box over the form that says please wait, or connection to server, or something like that. Its for a task that will take 3-6 seconds if there is a good connection to the internet. Or the netsocket functions will timeout

Re: A user that has a full mail box!

2005-07-28 Thread Robert Moynihan
Scott Erickson wrote: This has been going on for a few weeks now. There is a user that has every post sent to his inbox. First this isnt a good idea since there is over 100 posts a day. His inbox has reached its quota and everytime I send a post i get a message back saying his inbox is

Re: im stumped could use some ideas

2005-07-20 Thread Robert Moynihan
Have you tried looking at the resultant database with something OTHER than par? I'm thinking that you might want to use FileZ to inspect the records on the device itself, or the sim/emulator. I'm not sure what the syntax of the par command line is, but would the 68 in the command line be

Re: in this code how do I get around a 255 limitation for PlateName

2005-07-12 Thread Robert Moynihan
corresponding length variable. Bob Robert Moynihan [EMAIL PROTECTED] wrote .. [EMAIL PROTECTED] wrote: Logan Shaw [EMAIL PROTECTED] wrote .. druid wrote: Yea, but that brings up another question If the structure of a record is actualy a series on teminated strings

Build project after editing resources

2005-07-11 Thread Robert Rhode
Some developers have reported that Palm OS Developer Suite won't rebuild their PRC after they edit resources in the standalone Palm OS Resource Editor. The following KB article describes how you can make PODS rebuild your project after using an external editor.

Re: in this code how do I get around a 255 limitation for PlateName

2005-07-11 Thread Robert Moynihan
[EMAIL PROTECTED] wrote: Logan Shaw [EMAIL PROTECTED] wrote .. druid wrote: Yea, but that brings up another question If the structure of a record is actualy a series on teminated strings, when you retrieve records, how do you know the length of any field in that record You

Re: Database - Writing data to a record

2005-07-03 Thread Robert Moynihan
Klemen Dovrtel wrote: I would like to create a record and then write some data in it. I don't get an error during compiling, but during program execution. error: just wrote to a memory location 0x which is storage heap. In oreder to protect integrity of the user's data, such direct access

Re: Re-arranging functions in a code segment

2005-06-30 Thread Robert Moynihan
Dr. Vesselin Bontchev wrote: Hello folks, The code of my application is signifficantly less than 64 Kb - it is only about 45 Kb. Nevertheless, long time ago I started getting text segment full errors from the linker of PODS (ld). Obviously, this happened because the distance between some

Re: How Do I set a list's visible items number?

2005-06-28 Thread Robert Moynihan
Udi Kobi wrote: Hi, I need to change the visible items number of a list, how do I do that? The closest function I found is LstGetVisibleItems... Regards, -Udi You mean for a popup list? Try LstSetHeight(). Bob. -- For information on using the PalmSource Developer Forums, or to

Re: Why does soft reset fix/prevent fatal alerts?

2005-06-28 Thread Robert Moynihan
Steve Ely wrote: Bob, Thanks for the insight. I did manage to get a customer to fax me a set of barcodes that will reproduce the problem, so that is a big step in the right direction. Yes, that will be a big help for you. The fatal alert message is: DataMgr.c, Line:7025,

Re: Problem with uppercasing input

2005-06-27 Thread Robert Moynihan
Thomas Ward wrote: Hi, I have a field whose contents need to be all capital letters. A long time ago, I wrote this code to do it: case keyDownEvent: if (FrmGetFocus(frm) == FrmGetObjectIndex(frm, capsfield)) event-data.keyDown.chr = upper_char(event-data.keyDown.chr); break; I then

Re: How can I clear the events

2005-06-27 Thread Robert Moynihan
Alexandre Umino (Spin) wrote: Hi list How can I do to clear the events? In my application, I need that the events will be erased. The user can click any button, but only one event is create. Any idea? Thank's Alexandre -- For information on using the PalmSource Developer Forums, or to

Re: Problem with uppercasing input

2005-06-27 Thread Robert Moynihan
Dr. Vesselin Bontchev wrote: In Palm OS 5.x, direct manipulation of the event queue no longer seems to work - as those who keep recommending exiting an application by stuffing an AppStop event directly into the event queue will discover to their chagrin. Manipulating the OS5 event queue

Re: Replacing left over application in memory

2005-06-25 Thread Robert Moynihan
Steve Chaplin wrote: The Palm does not seem to copy applications from the SD card if they already reside in memory. Is there a way to force the application to be copied from the SD card every time? You could delete it from RAM first. Bob. -- For information on using the PalmSource

Re: retrieving data from database gives address error. how to solve?

2005-06-25 Thread Robert Moynihan
One thing that I see is that you don't check for a valid recordH before locking it. That would not cause the error that you are seeing, but it's good practice to validate the handle before locking it or you will get a crash if that record is not found. I think the solution to your current

Re: Replacing left over application in memory

2005-06-25 Thread Robert Moynihan
Steve Chaplin wrote: Deleting it would be fine but how can the program delete itself when it must be copied to RAM before it can run. My main concern is any upgrades to customers that have installs on storage other than RAM will not work. When running the program the customer will execute

Re: How to use SysQSort

2005-06-24 Thread Robert Moynihan
Edgar T. López wrote: You're right. Thanks. Now, I'm using the DateTemplateToAscii function to give a format to the date, because I need only two digits to the day, month and year with zeros. DateTemplateToAscii(^4s_^3z_^0z,curDateTime.month,curDateTime.day,curDateTime.year,sToday,20);

Re: AppEventLoop() execution time ??

2005-06-24 Thread Robert Moynihan
The finest resolution you are going to get it 10ms. Before your loop put in a call to TimGetTicks() and store that value. Then increment a counter in your loop so that you know how many times it cycled. Upon exiting the loop, (or perhaps after a set # of cycles,... 100?...1000?) get

Re: How to use SysQSort

2005-06-24 Thread Robert Moynihan
Edgar T. López wrote: Hi Bob, Remember that these strings are the PDB's names that were created for my application. So I need to work with strings, that´s why I ask you if you know there is a function seems to the DateTemplateToAscii function, but for the format Time. how you said, I need to

Re: Old SDKs

2005-06-24 Thread Robert Moynihan
Layne Lund wrote: It is important to choose the oldest OS your application will run on, and do so based on the capabilities in the OS you will require. But I don't see the need for any new application to support an OS older than 4.1 My friend has an idea for an application that will

Re: Need help with Custom Alert Forms

2005-06-23 Thread Robert Moynihan
Niles Lund wrote: Good Day! I'm new to Palm programming, and have been having trouble getting user defined strings displayed in a custom alert form using the command FrmCustomAlert(AlertID, Custom text string, NULL, NULL); The form pops up, but only displays the text that was originally

Re: undefined identifier 'btLibRef' in BtLibGetGeneralPreference

2005-06-23 Thread Robert Moynihan
Hi Jennifer, No, 'btLibRef' is not predefined, and it will be a reference number that is returned to your app when your app asks for it. You do it something like this... error = SysLibFind (libName, libRef); if (error) error = SysLibLoad ('libr', libCrId, libRef); First you

Re: Old SDKs

2005-06-23 Thread Robert Moynihan
Layne Lund wrote: Oh, is there anything special I need to do when I compile my programs to ensure that my programs will run on older devices? I use prc-tools. Is there a -target command-line switch or something similar to make sure the PRC file is in the correct format? Or more to the point,

Re: Why does soft reset fix/prevent fatal alerts?

2005-06-23 Thread Robert Moynihan
Steve Ely wrote: I have an application for taking inventory that runs on Symbol SPT's. I have had some customer reports of a fatal alert with in the first few scans after hotsync. I have not been able to duplicate the scenario my self but working with a customer who was having the problem it

Re: Has anyone tried palmSource $195 Incident Support?

2005-06-23 Thread Robert Moynihan
Steve Ely wrote: I am considering trying the Incident support for the soft reset/fatal alerts issue I posted here a day or 2 ago and have gotten no replies. I just responded to this,.. not that it will do all that much good. Before I shell out $195 bucks, I'd like to know what to expect.

Re: Disable a simple button with code...

2005-06-22 Thread Robert Moynihan
Andre Augusto wrote: Hello everybody! Can anyone tell me what is the function to disable a normal button in real-time ? Thanks a lot! The best way, IMO, is with FrmHideObject(). The button will disappear and will thus not respond to any stylus input. Or are you talking about hardware

RE: PODS 1.2.1.02 and Resource Editor 6.3.0.1

2005-06-20 Thread Robert Rhode
Some follow-up discussion. Ton van Overbeek: In the Eclipse Manage Configuration dialogs this update never showed up in the Technical Preview category, Sorry, I can't reproduce that. It showed up as a Tech Preview for me when I selected Search for new features to install. I believe you

PODS 1.2.1.02 and Resource Editor 6.3.0.1

2005-06-17 Thread Robert Rhode
Hi everyone, We at PalmSource have been following the recent discussions regarding the PODS 1.2.1.02 update. We're aware of a couple of significant bugs, and want to communicate to you our position on it before the flames get too hot. We regret that the update got out the door with any bugs.

Re: List with checkboxes

2005-06-16 Thread Robert Moynihan
Pete Dempsey wrote: Juergen, To Do sample uses a table, I'm looking for an example where a List has checkbox items. Then you must use a custom draw function and just draw checkboxes (or whatever you want) next to your list item text. As far as the system is concerned you just have a

Re: Fatal Alert on my Palm !!

2005-06-16 Thread Robert Moynihan
Udi Kobi wrote: Hello, After a short trial to debug on my palm, I got a Fatal Alert, with a Reset button, that resets the device. However, after the reset is peformed the Fatal alert still appear. In other words the device is stuck on this alert (is says also Fatal exception) Need advice,

Re: How can i edit this list?

2005-06-16 Thread Robert Moynihan
Scott Erickson wrote: I have a list that is made up of applications that are found to be infected with a virus. I display them on a form and give the user the option to earse one, all or ignore all. Once they select to delete one of them, i want to edit the text in the list from

Re: How to use SysQSort

2005-06-16 Thread Robert Moynihan
Edgar T. Lpez wrote: Hi evebody, I'm trying to order my PDBs by name, and I want to use the SysQSort, but I dont understand very well how Comparison function works. Does anybody have a example? I want to know how to connect these two functions. Thanks. Kind Regards Edgar T. Lpez Edgar, I

Re: How to use SysQSort

2005-06-16 Thread Robert Moynihan
Edgar T. Lpez wrote: Dear Bob, Thank you for your help, I already found your source code, however I do not understand how to use it with my code yet. I have a function called FindDatabases and after execute this one, I get an array with the names, ID and CardNo, for example: typedef struct

Re: HELP! Problem assigning application to button

2005-06-16 Thread Robert Moynihan
Chris Burak wrote: Does anyone know what is required for a standard 68K application written in the Palm OS Developer Suite to appear in the lists of applications when customizing buttons in Prefs? Is there a resource setting or entry that makes the application appear in the lists? It is

Re: Fatal Alert??? is this palm pilot ruined?

2005-06-14 Thread Robert Moynihan
Faust, Tim wrote: Have you tried a no-notify reset? Not sure about your device, but it is usauly done by holding the up button on the 5-way thingy while hitting reset. Yes, the no-notification reset is the right first step. I find that you might have to try SEVERAL times to get it to work

Re: How to know the Active Form?

2005-06-09 Thread Robert Moynihan
Andre Augusto wrote: Hello! I was using FrmGetActiveForm already, but it was giving me an error Be careful then, because if FrmGetActiveForm() isn't working then it sounds like the form that you EXPECT to be loaded hasn't actually loaded yet, or can't load. You may be calling that command

Re: White screen with Treo 650?

2005-06-07 Thread Robert Moynihan
Paul Jensen wrote: I distribute a couple of freeware PalmOS apps (mainly as a hobby), and I have received a couple of reports from users with Treo 650s. They claim when they run the apps they get a white screen (or in one case that they can see buttons, but not a drawn image). I have not

Re: Getting substrings

2005-06-07 Thread Robert Moynihan
Pete Dempsey wrote: I know that there is probably a very simple solution to this, so hopefully someone can help. I want to be able to extract substrings out of a string using a function like the MFC CString function Mid( int nFirst, int nCount ) Any working examples would be greatly

Re: Getting substrings

2005-06-07 Thread Robert Moynihan
Pete Dempsey wrote: Bob, that works to some extent but it doesn't seem to terminate the string. That's right. StrNCopy ONLY copies the requested number of characters. Just add another line, as below, and you should be good. sourceStr[nCount]=0; Bob -- For information on using the

Re: Getting substrings

2005-06-07 Thread Robert Moynihan
Robert Moynihan wrote: Pete Dempsey wrote: Bob, that works to some extent but it doesn't seem to terminate the string. That's right. StrNCopy ONLY copies the requested number of characters. Just add another line, as below, and you should be good. sourceStr[nCount]=0; Bob Oops... I

Re: stopping an app from starting up

2005-06-06 Thread Robert Moynihan
Dr. Vesselin Bontchev wrote: At this point I have it set up to save the name of the virus to a database, then call SysReset(). on a reset i check that database, and if there is a record there, i pull out the name of the app, and delete it there. That's not good. First, you shouldn't be

Re: stopping an app from starting up

2005-06-06 Thread Robert Moynihan
Robert Moynihan wrote: Dr. Vesselin Bontchev wrote: At this point I have it set up to save the name of the virus to a database, then call SysReset(). on a reset i check that database, and if there is a record there, i pull out the name of the app, and delete it there. That's not good

Re: World Clock?

2005-05-30 Thread Robert Moynihan
Dr. Vesselin Bontchev wrote: Aha, I see. But I still don't see how one can specify which application is to be run when the middle button of the 5-way control is pressed while the device is off... The Launch tab allows any of the other buttons to be programmed (Datebook, Address, ToDo,

Re: World Clock?

2005-05-27 Thread Robert Moynihan
Dr. Vesselin Bontchev wrote: Now, I must be totally honest in saying that I am reluctant to release too many details, because this code is part of a shareware app of mine; I call it PopLaunch. Or, it WILL BE a shareware app when I finally get around to releasing it officially. Right now it is

Re: How to make a NOT-EVEN length struct?

2005-05-27 Thread Robert Moynihan
Chris Tutty wrote: I've seen this technique of a using a struct to describe the fixed elements and appending strings to the end of it fairly often in Palm OS apps - I'm sure at least one of the sample apps does things this way so it's not only not impossible, it's fairly standard for Palm OS.

Re: World Clock?

2005-05-26 Thread Robert Moynihan
John Newell wrote: You've got to handle the correct notifications and launch codes, right? Wrong. I have been looking at this myself and asking the same questions. I can find no notification nor launch code when this button is pressed. Nor is there anything in the KeyCurrentState.

Re: removing a application

2005-05-26 Thread Robert Moynihan
Scott Erickson wrote: Is there a way to remove an entire applicaton programaticly if I know the cardNo, dbIDP and database name. I have tried to use the DmRemoveResource() but that only deletes the resource, not the entire application. mDeleteDatabase(cardNo, dbID). If you feed the cardNo

Re: World Clock?

2005-05-26 Thread Robert Moynihan
Dr. Vesselin Bontchev wrote: Vesselin referred to bypassing the default popup clock when you press the 5-way ctr on a sleeping device. This can certainly be done, because I do precisly that on my own T3 with my own app. Ah, I wasn't referring to having an application that I am writing to

Re: World Clock?

2005-05-26 Thread Robert Moynihan
John Newell wrote: IIRC, I just detect the wakeup, and figure out which button caused the power to come on (don't remember if I just look for a character code or look at the keyCurrentState bitfield). I can tell you that keyCurrentState does NOT tell you if the T3 select button is

Re: World Clock?

2005-05-26 Thread Robert Moynihan
Regis St-Gelais wrote: Try PopLaunch in google. The first link comming out is: http://www.angelfire.com/rant/et/howwork.htm I'm not shure you will want to keep that name. Hmm you may be right. Best not to create any suggestion of affiliation with such, no matter how tenuous. Bob.

Re: Voice memo on T-C ?

2005-05-25 Thread Robert Moynihan
Regis St-Gelais wrote: The specs of the Tungsten C talk about voice memo but there does not seams to have a microphone, a microphone jack or a voice memo button on it. Hardware feature section of PalmOne SDK 5.pdf says that the T-C has the Sound and voice recording library. Can an owner of

Re: Built-in menu commands

2005-05-25 Thread Robert Moynihan
Gary Shelton wrote: Hello all, Anyone know where I can find a list of built-in menu commands and their ID's, such as the Cut, copy, paste commands? Thanks, Gary Hi Gary, this is what I use. I included osresources.h, so that's probably where they are defined. Bob. menuitem Undo

Re: How to prevent the device from going to sleep?

2005-05-25 Thread Robert Moynihan
Dr. Vesselin Bontchev wrote: BTW, what does SysSetAutoOffTime return? Is it the value of the auto-off timeout, as set by the system preferences Yes. - or is it the time that remains till the next auto-off? No. But this would be nice to know sometimes. I once tried to find a way to get

Re: World Clock?

2005-05-25 Thread Robert Moynihan
Dr. Vesselin Bontchev wrote: Is it possible to reprogram the middle button of the 5-way control, so that pressing it while the device is off launches a different application (e.g., a different clock) I don't have a TE, but it most certainly can be done on my T3, so it's likely similar. -

Re: How to sort several databases?

2005-05-24 Thread Robert Moynihan
Edgar T. Lpez wrote: Hi Logan, When you say Use SysQSort, you tried to say to me that I need to create the Quick Sort function or already exists the function of QuickSort to use. SysQSort will sort a block of memory based on the sorting function that you provide. There is no generic

Re: LifeDrive Mobile Manager

2005-05-19 Thread Robert Moynihan
Dr. Vesselin Bontchev wrote: Well, Chris, still chuckling? Well, Roger, still amused? Eight days later, and here it is: http://www.palmone.com/us/products/mobilemanagers/lifedrive/specs.epl :-) Regards, Vesselin I don't recall precisely, but I had the feeling that they were not saying that the

Re: Near data segment is bigger than 64k

2005-05-19 Thread Robert Moynihan
Salvador Buendia wrote: I'm getting this error in my project but I think I don't understand exactly what it means. My project has 4 segments: Segment 1: Code 29K Data 4K Segment 2: Code 58K Data 13K Segment 3: Code 53K Data 21K Segment 4: Code 3K Data 62K I thought that the error mean I was using

Re: Enable my program after soft reset

2005-05-17 Thread Robert Moynihan
Tenchi-Man wrote: Hi John, Thanks for you reply. My code is below: switch (cmd) { case sysAppLaunchCmdNormalLaunch: if ((error = AppStart()) == 0) { AppEventLoop(); AppStop(); } else FrmAlert (Alert); break; case sysAppLaunchCmdSystemReset: //Enable after soft reset

Re: How to find another applications Creator ID ??

2005-05-16 Thread Robert Moynihan
Roger Wallerius wrote: Hi, sorry for not stating clearly that I already know the commercial application that I want switch On/Off. I have it installed on the Palm. I used FileZ and found a crID, so hope I can use it. Yes, you should go ahead and use that crID. That, along with the database

Re: Clear Screen

2005-05-14 Thread Robert Moynihan
[EMAIL PROTECTED] wrote: Hi All, I have written an application that draws bitmaps on the screen - How do I clear them? All I want to do is clear a portion of the screen. WinEraseRectangle()? Bob. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see

Re: How to find another applications Creator ID ??

2005-05-14 Thread Robert Moynihan
Roger Wallerius wrote: Hi, the reason for doing this is that the application I want to launch is a GPS application that tracks positions in a log. But it also drains the battery, so therefore I want to have my own application to switch on and of the GPS application. My point was that you must

Re: Screen size

2005-05-13 Thread Robert Moynihan
Andy Bell wrote: Hi All, How do I get the screen size of the device? Thanks in advance Andy I do this (feed it TRUE for width, FALSE for height): UInt8 ScreenSize(Boolean width){ CoorddrawAreaHeightCoords, drawAreaWidthCoords; WinGetDisplayExtent( drawAreaWidthCoords,

Re: How to find another applications Creator ID ??

2005-05-13 Thread Robert Moynihan
But, my question would be: why would you try to launch something about which you didn't know the crID? I don't understand that. What DO you know about this app that you want to launch? You could certainly look at all 'appl' type databases and assess their database names. I would think that,

Re: VFSSupport()

2005-05-12 Thread Robert Moynihan
Orasanu Iuliana wrote: So.. FtrGet returns an error message if there isn't any vfs currently mounted... I know that and I am using this so I would not try to open a vfs if this isn't mounted... Not in my experience. Which feature are you trying to find? I've used something like err =

RE: Task on time

2005-05-12 Thread Robert Moynihan
Set an alarm, maybe? Bob. -- Robert Moynihan Sent from my Treo -Original Message- From: Andy Bell Date: 05.5.12 11:11 am To: Palm Developer Forum Subj: Task on time Hi All, I would like to fire an event say every second and I am debating on the best way forward. My intial

Re: How to suppress installed applications?

2005-05-10 Thread Robert Moynihan
Alok Kumar wrote: Hi Bob, I have facing a problem is uninstaliing the running app on treo 600. I have an app which is running and from menu when i tries to delete that app, it reset the phonerather i want to hvae have a clean delete...or with some proper message ...is there any to handle the

Re: problem with alarms

2005-05-10 Thread Robert Moynihan
Scott Erickson wrote: Hi, Heres the deal. Im using an alarm to let the user set a auto update setting. For example, they can set it to update the virus def file every 1 hour. Right now I have it set to around 1min. when i activate the alarm, it works fine ONLY if the app is already

Re: problem with alarms

2005-05-10 Thread Robert Moynihan
Scott Erickson wrote: Bob, I was using the appFileCreator variable that is up top of the file with a #define. I took out those calls and replaced it with the accutal value of my creatorID. and it still did the same thing. That probably shouldn't matter. Likely, it just replaces the creatorID

Re: Supporting Treo's 5-way navigation - how?

2005-05-10 Thread Robert Moynihan
Dr. Vesselin Bontchev wrote: Question: can this tap the 'i' be done with the 5-way control? (I couldn't figure out how to do it with the simulator - and I don't have a real device that supports this kind of interface.) Or is it something the user must tap on the screen, in order to achieve it?

Re: Zire 31 OS

2005-05-10 Thread Robert Moynihan
Oscar De Len wrote: Hi pals I am a little bit confused. I have purchased my first Palm device, a Zire 31. I expected it to have OS version 5, but the Applications version is 4.5.2P Is this Applications version the same as the OS version? Can the OS version be shown somewhere in the device? Regards

Re: Supporting Treo's 5-way navigation - how?

2005-05-09 Thread Robert Moynihan
Dr. Vesselin Bontchev wrote: The Treo6xx developer docs cover this stuff. Which docs and where are they? On the Treo SDK? No. I am currently looking at a doc on my PC called Treo600DeveloperGuide.pdf. You'll probably find that at the PalmOne developer site without too much searching.

Re: Supporting Treo's 5-way navigation - how?

2005-05-09 Thread Robert Moynihan
my last response took a while getting through, so I responded directly to the good Dr. For the list, here are the contents of my note. Dr. Vesselin Bontchev wrote: Sigh, this crap definitely doesn't work... :-( It does, but it is flaky... First, it takes something like 2 minutes to boot

Re: How to suppress installed applications?

2005-05-09 Thread Robert Moynihan
[EMAIL PROTECTED] wrote: Hello, I have a Palm 3 with PalmOS 3.30. Maybe I've missed something but I can't find how to remove applications I installed for testing (using prc tools and then using hotsync to put my .prc application on the palm). May you help me if possible, telling me in which user

Re: multi-language support

2005-05-09 Thread Robert Moynihan
Tony Janke wrote: I am writing an application that will be sold worldwide. What is the level of difficulty to have the GUI/interface translated into different languages? It depends on how you want to handle the various languages. Are you going to create one version with all languages

Re: Feasible ideia? Multiple Forms...

2005-05-06 Thread Robert Moynihan
Andre Augusto wrote: Hello everybody! I need to know if this ideia is feasible... I have 4 forms. One with a table, associated to a database that exist in my PDA. When I click in an entry, one of 3 forms appears. Those forms are related with info in the database, readed to various fields. The

Re: Feasible ideia? Multiple Forms...

2005-05-06 Thread Robert Moynihan
, FrmGetObjectIndex(form, CheckboxID_noRepeat))); } else FrmGotoForm(prefs.lastForm); break; snip default: } return handled; } Bob. Robert Moynihan wrote: You can certainly use the same form handler for multiple forms, or multiple handlers for one form. You just have to tell

Re: Num lock issues

2005-05-06 Thread Robert Moynihan
[EMAIL PROTECTED] wrote: I am project that involves a lot of numeric input. On devices that have a built in keyboard where certain letter keys are also used as number keys (i.e. the Treo 650, Tungsten C, and the Tungsten W) I'd like to have the num lock be automatically set. I've used the

Re: Power on button identification

2005-05-05 Thread Robert Moynihan
John Newell wrote: During the system startup (specifically during the Late WakeUp notification event) does anyone know how to find out which button caused the PDA to wake up? Thank you. Perhaps you could use KeyCurrentState() to poll the keys immediately after you get the wakeup notification.

Re: Type Problems

2005-05-05 Thread Robert Moynihan
Daniel Medina wrote: Hi, I'm working with CodeWarrior and have a problem with type CharPtr when I compile, Error: undefined identifier CharPtr, Where is CharPtr's library? Another one too, Error: undefined identifier CharPtr, Where is VoidHand's library? I think you can get rid of these

Re: Getting Screen Shots from a 650

2005-05-05 Thread Robert Moynihan
Scott Erickson wrote: Hi, How can I take a screen shot of my app while it is running on the device? Im using a treo 650, I could take them from the simulator with normal Windows screen shots, but the skin isnt the same and they dont look very good. This is for formal documention that will

<    1   2   3   4   5   6   7   8   9   10   >