Loading List Items Dynamically and Dilplaying it as a PopUpList

2002-04-02 Thread Jayakody, Dhanushka
Hi I have a popup trigger which should show a dynamically loaded list. I get lot of errors when trying to display the list. Note : List visible items are set by the code. So initially visible items are zero. How can i stop the list dispalying when form loads up. It should only show when

Re: Horizontal Scrollbar???

2002-04-02 Thread fabricio
I think it could be hard, but not impossible. I would try to turn the columns usable or unusable, as my HScroll goes left and right. For example, when my app comes at first time, I can see my first column. If user clicks at right arrow of the HScroll, I turn my first column unusable

Re: Basic C question

2002-04-02 Thread John Leung
Try replacing Char *encDate = 34857384573498573498; with Char encDate[] = 34857384573498573498; Also, have you try the following before? StrCopy(record.Date, 34857384573498573498); On 1 Apr 2002 at 19:02, Ed wrote: With the code below, I get the following error: just read from

I have installed all the stuff..

2002-04-02 Thread Henri Girard
But when I run make from the example 'multiapp sdk can't be found ? is there a special variable setting on w2k ? can someone give me a web site which is up to date and efficient ? Because there is a lot of good web sites about palm but out of date or working with IDE but not with prc ! regards

Re: Cradle event

2002-04-02 Thread Stringer
Subject: Re: Cradle event as a custom notification From: Dave Lippincott [EMAIL PROTECTED] Date: Mon, 1 Apr 2002 13:58:28 -0500 Run the Prefs app, select buttons from the drop down list then tap the button labeled 'Hotsync...' - Original Message - From: Jatin Sethi [EMAIL PROTECTED]

RE:How much it's take for XTNDConnect server

2002-04-02 Thread Stringer
Subject: How much it's take for XTNDConnect server From: Pham Nguyen Tung [EMAIL PROTECTED] Date: Fri, 8 Mar 2002 08:51:46 +0700 I try installing and using XTNDConnect server. I think that I need it for my work. Can you tell me how much it's take? Thank you very much. A lot of time and money,

Re: Cradle event as a custom notification

2002-04-02 Thread phil
Go to http://www.peekpocket.com/article.php?sid=162mode=order=0 I think you could find how to do it. Jatin Sethi [EMAIL PROTECTED] a écrit dans le message news: [EMAIL PROTECTED] Thanks Dave: I am aware of this. The problem in doing this is that the application would not get the event. It

Re: Cradle event as a custom notification

2002-04-02 Thread Dave Lippincott
You could always write a small stub program who's only job is to launch your app with a custom launch parameter. Then link the stub to the cradle button. Thanks Dave: I am aware of this. The problem in doing this is that the application would not get the event. It would be launched but

Re: Loading List Items Dynamically and Dilplaying it as a PopUpList

2002-04-02 Thread Oliver Steinmeier
Hi I have a popup trigger which should show a dynamically loaded list. I get lot of errors when trying to display the list. Of course, no one can help you with those without more details. How can i stop the list dispalying when form loads up. It should only show when poptrigger is

[repost] wireless: Detect radio strenght?

2002-04-02 Thread matro
hi there, this is a repost from handspring-forum, sorry for this but it seems not to be used so much. :-\ I'm interested on Treo developing and I'm currently working on a freeware app. what I need is in one word: *documentation* I'm studying the Handspring headers, I finally got some GSM

Palm PDB Database Help

2002-04-02 Thread Kade P. Cole
I am trying to write my first Palm application. I am having some trouble with reading values from a PDB file I created from a database. I have 7 Fields and they are all character strings in the database. Every time I try and read one I get a bad memory reference error. I am getting the memory

Re: internet connection HotSync

2002-04-02 Thread Oliver Steinmeier
Petr, 1) May I something simulate internet connection over Palm Emulator? Yes, you can tell the emulator to use your desktop's network connection. Select Settings-Properties and make sure the Redirect NetLib calls to host TCP/IP checkbox is checked. 2) How can I control data which come

RE: Palm PDB Database Help

2002-04-02 Thread Robert McKenzie
Kade: You have a basic C misconception here. A DB record should (can only) contain that actual strings themselves, NOT pointers to them. -bob mckenzie, palmsource pdx. -Original Message- From: Kade P. Cole [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 7:35 AM To: Palm

fonts

2002-04-02 Thread Lance Gregory
Is it possible to create a font resource and not have it connected to a certain project? Can I have an independant resource on the palm device that can be accessed from several different apps? If this is possible, how could it be accomplished? Lance Gregory -- For information on using the Palm

Re: Palm PDB Database Help

2002-04-02 Thread Kade P. Cole
I must not have explained it well. The Databse record in the PDB DOES contain the character strings. The struct that I am using to access the DB record is the one with the pointers in it. Kade On 4/2/02 9:51 AM, Robert McKenzie [EMAIL PROTECTED] wrote: Kade: You have a basic C

converting Access db to Palm

2002-04-02 Thread Edward Desanti
Can somebody please shed some light on the subject of converting an MSAccess db to Palm. What I'm trying to implement is hot syncing my palm to read a calendar db I made in Access on the web. Any ideas? Ed. -- For information on using the Palm Developer Forums, or to unsubscribe, please

Re: Palm PDB Database Help

2002-04-02 Thread Dave Lippincott
Your structure uses char pointers. You can't do that and load/unload the structure directly into the PDB. You're only saving the address of the Char* in the PDB file which will become invalid as soon as you release the memory they use. If you plan to load/unload the structure directly, try:

RE: Palm PDB Database Help

2002-04-02 Thread Robert McKenzie
Kade: Perhaps the following snippet will give you some ideas: // note that this function leaves the record locked // if and only if it returns 0 (no err) Err YourUnpack( DmOpenRef pDb,// IN database reference UInt16 index, // IN record index MLSDB * pRec) // IN/OUT pointer to

hi joe,same old errorsaddress error and bus error

2002-04-02 Thread siddharth saxena
hi , i tried aking changes you suggested. but it gives the same old errors . i.e.bus error and address error.sometime it gives errors likethe application just wrote to an unallocated chunk of memory my code is 39k. so i made a sample code with these functionalities which is only 11k. still the

Re: fonts

2002-04-02 Thread Joe
--- Lance Gregory [EMAIL PROTECTED] wrote: Is it possible to create a font resource and not have it connected to a certain project? Yes Can I have an independant resource on the palm device that can be accessed from several different apps? Yes If this is possible, how could it be

Re: hi joe,same old errorsaddress error and bus error

2002-04-02 Thread Joe
--- siddharth saxena [EMAIL PROTECTED] wrote: i tried aking changes you suggested. but it gives the same old errors . i.e.bus error and address error. ... case showbutton1: { char *buffer; ... while(! FileEOF(streamshow)) { count=FileRead(streamshow,buffer,sizeof(Char),1,NULL); You did

ROM Images 3.0 and 3.1

2002-04-02 Thread Nhuan Luong
Hello, I am quite new in Palm programming. I have tried to build a small application to be familiar with the platform. The application runs OK with Rom Images from 3.3 to 4.0. I tried to run it with Rom Image 3.0 or 3.1 and I have problem. I got a warning as the following: The application

RE: Palm PDB Database Help

2002-04-02 Thread Matt Hebley
This is what you are supposed to do, as long as you realise that the pointers in your struct point to memory in the database record. If you do a MemHandleUnlock in the //etc etc, then your struct will no longer point to valid memory. You can use StrLen on the pointers to find the length of

Can you run an app with the LCD turned off?

2002-04-02 Thread Scott Schoen
Does anybody know if there's a way to run an application with the LCD (display) turned off to conserve power? I've heard that the LCD drains a lot of power and the application I'm writing doesn't need any interaction from the screen and may be up and running for a long period of time. I

beaming

2002-04-02 Thread Rania Saymeh
Hello, I am wondering if there is a way to lock applications so that they can't be beamed, or unlocked by Beam Crack. I know there is a security bit in codewarriour that locks the application, but it seems that Beam crach will unlock it and it will be able to be beamed. is there any other

Re: beaming

2002-04-02 Thread Dave Carrigan
Rania Saymeh [EMAIL PROTECTED] writes: is there any other tricks?? No. You have to assume that if someone has full access to a device, they will be able to circumvent any kind of protection you can conceive. The copy prevention bit is pretty easy to circumvent, but even if PalmOS had a

Re: Getting the event number

2002-04-02 Thread Todd Cary
Joe - Thank you for your response. First, let me say that I am quite new to the Palm, so I do not have a great depth in knowledge about the inner workings. What I have created is a dynamic Popup List. That is, I get data from a DB and populate the list. +++ procedure

RE: Can you run an app with the LCD turned off?

2002-04-02 Thread Danny Epstein
Does anybody know if there's a way to run an application with the LCD (display) turned off to conserve power? A search of the archives for procedure alarm turned up this post by Jim Schram: http://www.escribe.com/computing/pcpqa/m12458.html I would add another option to Jim's list: lock

Re: beaming

2002-04-02 Thread Rania Saymeh
I always was under the impression that flash memory is part of RAM? please correct me. I tried to search for anything on flash memory on the palmOS website, no luck, any documents or manuals around I can read about this? about the locking of application. does that mean there is no way this can

Pbms with using Netlib on POSE

2002-04-02 Thread Dharini Iyengar
We are trying to develop an application where we would like 2 POSES running on two different machines to talk. These machines are on a network,and we have created sockets using Netlib. But seem to be getting errors with the Serial Manager like SlkReceivePacket. (The redirect netlib calls to

Leftovers from deleting applications

2002-04-02 Thread Bob Whiteman
If I set an alarm using AlmSetAlarm() and then the user deletes the application before the alarm is triggered, does the alarm manager handle this gracefully? If I create a feature using FtrPtrNew() and then the user deletes the application, does the feature manager clean up the feature

dynamic UI inconsistencies

2002-04-02 Thread Ellen Dash
Hi, I have been developing an application which dynamically constructs its UI based on passed in data. I have been developing with POSE 3.4 with the 3.5 color debug ROM and with the ROM from my Visor Neo. I dynamically create a popup trigger along with a list. This works fine on both ROMs

Re: beaming

2002-04-02 Thread Dave Lippincott
Its not perfect, but have your app check the beam bit on startup, set it if its been cleared. It won't prevent them from clearing the bit and immediately beaming it but it would make it more annoying. If the device has Flash ROM (not an expansion card) copy your app into Flash. It will survive

Re: Getting the event number

2002-04-02 Thread Oliver Steinmeier
Also, have you made your list popup save behind itself? This should redraw the hold in your form, and suppress the update event. However, a robust app does not rely on this. Do you really need to do this? Can you even? In Constructor, the Save Behind checkbox only exists for forms, not

Opening database as file.

2002-04-02 Thread Yahoo
Hi all Is it possible to open an existing palm database file?? I tried this code... fileHandle = FileOpen (0,addressdb.pdb,sysFileTFileStream,sysFileCAddress,fileModeReadOnly ,errp); and fileErrNotFound is returned. thanks rayesh _

Re: Cradle event

2002-04-02 Thread Jatin Sethi
I like Dave's second suggestion i.e. of a small application that monitors the cradle and launches the application with a custom launch code. Thanks, Jatin Sethi Stringer [EMAIL PROTECTED] wrote in message news:82403@palm-dev-forum... Subject: Re: Cradle event as a custom notification From:

Re: Getting the event number

2002-04-02 Thread Matt Hebley
At 11:56 AM 2/4/2002 -0800, you wrote: Also, have you made your list popup save behind itself? This should redraw the hold in your form, and suppress the update event. However, a robust app does not rely on this. Do you really need to do this? Can you even? In Constructor, the Save

RE: Leftovers from deleting applications

2002-04-02 Thread Danny Epstein
Good questions... If I set an alarm using AlmSetAlarm() and then the user deletes the application before the alarm is triggered, does the alarm manager handle this gracefully? The docs don't say; they probably should. When your app is deleted, the system automatically deletes any alarms that

Re: Basic C question

2002-04-02 Thread Ed
This works StrCopy(record.Date, 34857384573498573498); This fails = StrCopy(record.Date, encDate); It says that Application just read from memory location X which is the unused portion of the stack. The stack is the area of RAM used to contain function parameters and

Re: Basic C question

2002-04-02 Thread Jake Donham
Ed == Ed [EMAIL PROTECTED] scribbles: Ed This works StrCopy(record.Date, Ed 34857384573498573498); This fails = Ed StrCopy(record.Date, encDate); It says that Application just Ed read from memory location X which is the unused portion of the Ed

Re: Basic C question

2002-04-02 Thread Charu Venkatraman
Looks like you are passing the variable instead of its address for the second parameter. StrCopy expects a src and dst string address. Try passing (Char *)encDate. Regards, Charu -Original Message- From: Ed [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Date: Tuesday,

Re: Can you run an app with the LCD turned off?

2002-04-02 Thread Scott Schoen
Danny, Thanks for the great references. It seems the easiest and (unfortunately) sneakiest approach would be to call the (undocumented) sysTrapHwrDisplaySleep which before OS 3.5 was sysTrapHwrLCDSleep. This way I wouldn't have to change the overall way my application runs. I'm using alarms

RE: Opening database as file.

2002-04-02 Thread Danny Epstein
Is it possible to open an existing palm database file?? In Palm OS, we use different terminology. A database is not a file. In fact, it's sort of the other way around. A file stream is a kind of database. Both are completely different than VFS files which live on expansion cards. I tried this

Re: Basic C question

2002-04-02 Thread John Leung
I can see why Char *encDate = 34857384573498573498; might fail. Because you're assigning a pointer to some temp variable. It depends on when that temp variable decides to go out of scope, that pointer may no longer be valid. (Although I could be wrong. I'm not a C expert.) However, I'm

Re: Basic C question

2002-04-02 Thread Jake Donham
Jake == Jake Donham [EMAIL PROTECTED] asserts: Jake What is the real declaration of Record? Sounds like you are Jake writing off the end of the array, and hence the stack. Um, retract :). Jake -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: dynamic UI inconsistencies

2002-04-02 Thread Ellen Dash
Ooops... resolved the popup trigger problem. (Don't ask.) Still have the pixel problem though. Can anyone use WinDrawPixel in POSE? Ellen From: Ellen Dash [EMAIL PROTECTED] Reply-To: Palm Developer Forum [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Subject: dynamic UI

problem with windrawbitmap

2002-04-02 Thread Amit Agarwal
hi guys i am having trouble using this function. the program runs properly on the emulator but hangs on palm as soon as this function is executed. can anyone suggest what may be the problem? thanks, amit __ Do You Yahoo!? Yahoo! Tax Center -

Re: dynamic UI inconsistencies

2002-04-02 Thread Joe
--- Ellen Dash [EMAIL PROTECTED] wrote: Still have the pixel problem though. Can anyone use WinDrawPixel in POSE? I can, so I assume many others can, too. WinDrawPixel, which works only on 3.5 and later (3.5 New Feature Set), draws in the current draw window using the current foreground

Re: Basic C question

2002-04-02 Thread Chris Tutty
From: Ed [EMAIL PROTECTED] This works StrCopy(record.Date, 34857384573498573498); This fails = StrCopy(record.Date, encDate); It says that Application just read from memory location X which is the unused portion of the stack. The stack is the area of RAM Need to

ASCII Value

2002-04-02 Thread Ed
Is there a function that takes in an ASCII value and spits out the character? Sort of like the Chr$() function in VB... Maybe I missed it. Ed. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: ASCII Value

2002-04-02 Thread Oliver Steinmeier
Is there a function that takes in an ASCII value and spits out the character? Sort of like the Chr$() function in VB... Ed, Assuming we're talking about C here, check out the char datatype in any C programming book. If by spit out you mean printing on screen, check out, for example,

Re: ASCII Value

2002-04-02 Thread Joe
--- Ed [EMAIL PROTECTED] wrote: Is there a function that takes in an ASCII value and spits out the character? Sort of like the Chr$() function in VB... Maybe I missed it. In C there isn't much difference between an int and a char, so you can do something like this: int i = 80; char c =

RE: Gotcha's for custom launchers?

2002-04-02 Thread Danny Epstein
Are there any things that a replacement launcher app has to do that may not be obvious? These may be obvious, but I'll let you decide... Register for and handle incoming beamed databases. You'll need to register for extensions prc, pdb, pqa, and oprc, as well as MIME types application/x-pilot

Comparison Commentary?

2002-04-02 Thread pete_cesarz
Greetings, Before I get too involved with my development project(s) would anyone like to share their opinions or experiences when dealing with CodeWarrior versus the other 'free' choices for application tools? -Pete -- For information on using the Palm Developer Forums, or to unsubscribe,

menus and VFS mount notifications

2002-04-02 Thread James
I've written a simple application that views some files on mounted VFS volumes. It registers callbacks for the sysNotifyVolumeMounted and sysNotifyVolumeUnmounted notifications. When the memory card is inserted, it shows appropriate widgets; when the card is removed, it hides all of the widgets

saving Bitmaps to resources

2002-04-02 Thread James
What is the proper way of saving a Bitmap to a resource? I remember someone from PalmSource mentioning that one can't copy the Bitmap directly, because the bitmap header and the bitmap data may not be contiguous in memory. I've looked in the eScribe archives, but I guess my search-fu is

Syncing Address Book

2002-04-02 Thread Rakesh D. V
Hi, Can someone explain me how to configure the Syncing of Palm Address book with Desktop? I mean, how to specify which records from Address book to Sync? I dont want to completely sync the complete Address book. In other words, I want to apply filters while Syncing address book. Please help.

popUp List Problem - Please help!

2002-04-02 Thread Jayakody, Dhanushka
Hi, I have a dynamically generated list which is assigned to a popUp trigger . This is the way how i display the list . // The ListID is attached to the PopUpTrigger at Design time. case MyPopTrigger: InitMainForm(); // This func populated the list dynamically. frm =