populate table

2003-06-10 Thread Sherry Lane Razon
anyone knows how to populate tables? please do help. thanks! sherry -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

RE: default value error converting from GCC++ to CW9

2003-06-10 Thread Sadanandam O.
I guess CW9 does support default parameters. If that doesn't work for u , u can use function overloading. myClass::function1(MemPtr var, Boolean ok) { ok = false; //Your code follows } myClass::function1(MemPtr var) { } Regards Sadanand. -Original Message- From: Danny

Re: default value error converting from GCC++ to CW9

2003-06-10 Thread Sherry Lane Razon
i guess you have to declare the default value inside the function. myClass::function1(MemPtr var, Boolean ok) { ok = false; } ... or better yet make the "ok" variable global. hope that helps. Sherry At 10:08 PM 6/10/03 -0600, you wrote: HI, I'm in the process of converting a larg

Re: What are the Constants for Hardkeys?

2003-06-10 Thread Gary Morris
I didn't find them in the docs, but they are all in SDK5.0\Palm OS Support\Incs\Core\System in the Chars.h file. --GaryM Alexandre Barreto wrote: > I need the constans names for Hardkeys > like vcharHard1, vcharHard2, etc... > > i need the other ones like Calculator key and the turn off key --

default value error converting from GCC++ to CW9

2003-06-10 Thread Danny Wong
HI, I'm in the process of converting a large project from GCC C++ to CW9. I'm running into the compiler error about error with the default value eg: myClass::function1(MemPtr var, Boolean ok = false) the compile errors out. If I remove the default value of false it will compile. How do I fix t

Lists in OS 5

2003-06-10 Thread Paul Nevai
It seems to me that every release of OS 5.x handles 5-way navigators differently when using LstHandleEvent() and LstPopupList(). I could definitely see the difference on the Tungsten T and Tungsten W. I don't have a Tungsten C so I don't know about the 5-way navigator behavior in OS 4.x. Is there

Re: Why the reset after new HotSync UserID

2003-06-10 Thread Jeff Ishaq
At 12:10 PM 6/5/2003 -0700, John C. Christensen wrote: On a fleet of company owned Symbol units, we've decided to assign HotSync User Names and User IDs according to a company wide scheme. I've added provisions to my app to set these values on the handheld's. John, Grant Street Software has a SD c

Re: Database copy issue

2003-06-10 Thread Philip Sheard
> > The application I am doing now needs to copy an entire database file(e.g. > > temp.pdb) to another one. Is there any API like file management can copy > or > > rename a database's file name? > > you need to create a new database, iterate through the existing and > create/copy all resources into

Turn on the mobile phone on Tungsten-W

2003-06-10 Thread Jerome C.
Anyone has sample code on how to turn on the phone on the Tungsten-W ? When I call TelPowSetPhonePower(...) the phone does turn on, but then a message will pop telling me that the SIM card is not inserted... but the phone is up and running (I can receive SMS messages). What is it I'm not doing

Re: Netlib Redirect on Real Device

2003-06-10 Thread Gary Gorsline
Any ideas on how to make this work - mochaPPP will work for serial, but not usb. > For all PalmOS 3.1 thru 4.X (or 3.5 to 4.X) [Yes, I'm ignoring os5] I need > to be able to create [at each customer site] a TCP connection between a > custom app on the Palm and a custom server app on the Windows co

Re: callback for image capture with Zire 71 camera

2003-06-10 Thread Ben Combee
The Camera Manager API, which is part of the SDK from the Palm PluggedIn program, is supposed to make it possible for 3rd party programs to control the Zire 71's camera. According to the "Camera Manager API Guide", image capture is initiated with a call to CamLibControl, where kCamLibCtrlCapture is

Re: getting field text and padding

2003-06-10 Thread Matt Andreko
oh, i missed that. i read it, but just didn't think about it enough. i will definately be reading more. i've only been playing with c++ for a short time, but i am starting to like it. it's just really hard compared to some other languages i've done. Thanks again. "ThuNguyet Nguyen" <[EMAIL P

callback for image capture with Zire 71 camera

2003-06-10 Thread Matthew Fleming
Palm-meisters, The Camera Manager API, which is part of the SDK from the Palm PluggedIn program, is supposed to make it possible for 3rd party programs to control the Zire 71's camera. According to the "Camera Manager API Guide", image capture is initiated with a call to CamLibControl, where kCamL

Re: getting field text and padding

2003-06-10 Thread ThuNguyet Nguyen
Hi there, As I said, the input string must be at least maxlen+1 (which is 16). You overwrite every string. Char a[15] = "123456789"; // should be Char a[16]; Char b[15] = "987654321"; // Char b[16]; Char c[15] = "741852963"; // Char c[16]; PadStringWithChar(a,15,' '); // maxlen

Re: getting field text and padding

2003-06-10 Thread Matt Andreko
that definately works, except for one thing that has struck me as quite odd. i always thought that all variables made in a function get destroyed after the function is done (pointers don't get destroyed, but dereferenced). For some reason, the function is keeping a connection to the variable someh

Http in INetLib

2003-06-10 Thread Larry
Hi, everyone, I am new to palm network programming and want to use Http in INetLib. On a smartphone, I was able to post and get data from a web server. But I still run into some problems and hope you guys could help : a) When I quit the application, I want to close all the socket and hangup the p

Re: getting field text and padding

2003-06-10 Thread ThuNguyet Nguyen
Hi there, To get the text in the field, search the archives for textfield or SetFieldText(), GetFieldText(), FreeFieldText()... These functions are in almost every Palm books that I read. After you get the string from your text field, you can pad it with this function (no compiling and testing

Re: Screen Blanking?

2003-06-10 Thread Daniel Seifert
Am Mon, 2003-06-09 um 23.15 schrieb Ron Nicholson: Hi, > Which PalmOS models support turning off the display to save refresh > and backlight power while still executing application code (foreground > or background task)? Where might this be documented, if anywhere? At least Sony's devices and P

getting field text and padding

2003-06-10 Thread Matt Andreko
First off, a warning: I'm not a very good programmer yet, just a beginner, so anything i ask that's stupid, just remember that please. i'm currently reading a few books, so i'm trying to find the answers on my own first, but asking here what i haven't found in books or at google. Ok, here's the

RE: bluetooth connection problem

2003-06-10 Thread Agus Silas
Hi all, I've also started a new project using Bluetooth device ( Socket bluetooth GPS receiver and Tungsten W with Palm BT SD card ), and tried the code found in the documentation the same as follow. Unfortunately I got an error code 0x3108 ( btPortID = 0 ) which is not referenced in the SrmExtOp

Re: Table or List or Gadget?

2003-06-10 Thread Dave Lippincott
B) List Custom draw each line. With a list you won't have to manage the scroll bar. A table or gadget will also work but IMHO require a little more work up front. - Original Message - From: "David Martin" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Tuesday, Ju

Re: charAttr_XA

2003-06-10 Thread Ken Krugler
Which chars have charAttr_XA? Any pointers please? #define charAttr_XA 0x0200 // extra alphabetic The simple answer is all of the characters for which TxtCharAttr returns a result with bit 0x0200 set. In other words, you shouldn't be relying any static set of characters having this attribut

Table or List or Gadget?

2003-06-10 Thread David Martin
Opinions wanted: Here is roughly what I want: Nth Fibonacci\__ N DecimalHexadecimal +-++--+ (up arrow) | 1 |1 |0001 | | 2 |1 |0001 | | 3 |2 |

New POL update

2003-06-10 Thread Maks Pyatkovskiy
I just released POL 4.04.01 update: a) This release contains a lot of internal fixes. It has been tested for a while. b) I redefined most constructors as explicit to reduce potential programming errors. c) Strings reading and writing in binary stream mode may be further customized. Strings may b

Re: bluetooth connection problem

2003-06-10 Thread Rodolphe Bréjaude
to detect all bt devices, set 0x00 to all the BT address in btParams.u.client.remoteDevAddr.address[x] - Original Message - From: "Raymond Ho" <[EMAIL PROTECTED]> Newsgroups: palm-dev-forum To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Friday, June 06, 2003 7:21 PM Subject: bluetoo

Re: writing files

2003-06-10 Thread Song Liu
It depends on what sort of programming language coded in server side. Because the server side should be responsible for processing on data stream and storing them in a file as well. "Sherry Lane Razon" <[EMAIL PROTECTED]> news:[EMAIL PROTECTED] > > > hi everyone! > > am doing an application t

Loading two arm native shared libraries

2003-06-10 Thread TVS Deepak
Hi everyone, I have a palm application which needs to load two arm native shared libraries. My application loads each shared library individually using syslibload. But when I am trying to load both the libraries in the shared library, the application is above to load only one library. It gives