Re: Telephony API: retrieve SIM ID or IMEI?

2003-08-19 Thread Eric Williams
Chris, The Palm Telephony Library has an API named TelSendCommandString(). This API allows you to programmatically specify any AT command so you should be able to fetch info such as IMSI or IMEI. This is assuming the connected phone supports AT commands (most do). According to ETSI 7.07, th

Q: get phone number of the sim card

2003-08-19 Thread Patrick S.
Hello there! Is there any way to get the phone number of the device, if i have a palm with a phone? I've read the TelephonyAPI, but haven't found the right functions. Maybe there is a way to get the number, if I'm connected? Anyone has any experiences on this field? Thanks Patrick S. -- For

TblSetLoadDataProcedure problems

2003-08-19 Thread Christian Lindemeier
Hello I try to implement a custom data load procedure for column in a table with 7 rows of textTableItem. But the emulator gives me an error message for every row in the column 'non-word-aligned-handle', so i eliminated every row in the code to find the problem, but it won't work. My call look

how to keep a check on evaluation period of an application

2003-08-19 Thread mukesh kaushal
hey.. i have an application and i want to set a trial period for the same on the palm. how do i do this..and it should take care of the trial period also when the device is reset(soft reset). This is Urgent.. mukesh -- For information on using the Palm Developer Forums, or to unsubscribe, ple

Re: TblSetLoadDataProcedure problems

2003-08-19 Thread Christian Lindemeier
Sorry I've made a typing error, the call is: TblSetLoadDataProcedure (table, attribColumn, drawAttrib); But unfortunately only the mail was wrong :(, the problem stays. Christian Lindemeier NOT FOUND schrieb am 19.08.03 11:00:33: > Hello > > I try to implement a custom data load procedure

Re: Non-relocatable chunk leaked

2003-08-19 Thread Viren
> Thanks a lot. the problem has been solved!! Good to hear that. But did you realise how Ben was able to tell where exactly lies the problem ? :-) If you understand that, you would be able to solve the leaks wihtout any difficulties in furutre. Its related to "name mangling" concept in C++. C++

Re: new and delete in Palm

2003-08-19 Thread Viren
Thanks Dave and Ben for the answers and sorry for the rather late reply. Ben, I also read an article of yours "Inside the Palm OS :..." where you have described in details the StartUp routine in PalmOS in details. A good thing to know for all the aplm adevelopers. Thanks again. -Viren --- In

Fw: Re: How know the name fields of PDB file

2003-08-19 Thread Viren
Thanks Doug for that clarification. -Viren --- In [EMAIL PROTECTED], Douglas Handy <[EMAIL PROTECTED]> wrote: > Viren, > > >Correct. But Doug, how would I know what all info is it dumping in > >the AppInfoBlock or SortInfoBlock ? > > You don't have to know what or why they put something in t

Infrared beaming and Serial Controller in Palm

2003-08-19 Thread Virendra
Hey All, Infrared beaming in Palm === It is said that earlier palm devices did not have a separate IR port. In such devices, the IrDA stack uses serial port for IR communication. My question is - Does the PalmOS use the Serial Controller itself for IR communication in the

Regd VFSDirEntryEnumerate

2003-08-19 Thread TVS Deepak
Hi all, I have a strange problem regarding function VFSDirEntryEnumerate. I have an directory entry in my MMC Card by name "Music" ('M' Capital) Now when I call VFSDirEntryEnumerate, the error code that I get is "vfsErrFileGeneric" Now if I change the name of the directory to "music

64K problem. Please do help.

2003-08-19 Thread Eugene
Hello, We have very serious problem. . The size of our application is near 190 K. It consists of 70 modal forms. We work with multi-segment model. The application works in POSE, but after soft reset it gets error 'fawsem (1.0) just read from memory location 0x8003b4be, causing a bus err

Re: how to keep a check on evaluation period of an application

2003-08-19 Thread Viren
Sorry, this is not the exact reply for your queries... Thought the following stuff would help What kinda shareware you wanna provide ? Aaron has written one article on Palm Security in which, I vaguely remember, he has discussed something on ESD and various evaluation techniques. Search

Re: 64K problem. Please do help.

2003-08-19 Thread Viren
What version of Palm are you using ? How many segments have you created ? 190 / 64 = min 3. 4 would be safer. Where exactly is 16-bit reference occured? Try to get the two files that gave you that error in the same segment. If thats not possible, go for "islanding" technique. I have created a

Re: 64K problem. Please do help.

2003-08-19 Thread Anthony
Hi, I'm more than likely wrong, but it's probably something to do with the way you're handling launch codes (at least that was the problem I had) especially if you're doing stuff in your pilotmain(). I simply declared any variables needed, and then placed an if(cmd == sysAppLaunchCmdNormalLaun

Re: how to keep a check on evaluation period of an application

2003-08-19 Thread Dave Lippincott
Almost every post here is urgent, it goes without saying... Save the info in the application preferences. PrefAppGetPreferences, PrefAppSetPreferences It will survive a soft reset. - Original Message - From: "mukesh kaushal" <[EMAIL PROTECTED]> Newsgroups: palm-dev-forum To: "Palm Develo

Re: Serial Manager Query

2003-08-19 Thread Dave Lippincott
I routinely use SrmReceive to get a few characters from the serial buffer without being forced to receive the whole buffer. How about posting some code? - Original Message - From: "Marianne" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Tuesday, August 19, 2003

Bitmap Sizes on 5.x

2003-08-19 Thread rgraber
Dear Fellow Developers, The new bitmaps for the Launcher for the standard apps in the 5.0 OS devices are a 3D type image that appears to be high resolution. What are the sizes and resolutions of these bitmaps? Are they available somewhere? What sizes and resolutions are valid for the Launcher (

Re: Act as a USB memory stick?

2003-08-19 Thread John
In view of some of the responses I just want to clarify that the purpose of the whole idea is not to need any sort of desktop software at all (including HotSync), thus being able to go to any PC and download/upload files without any installation requirements on the PC's themselves (as the USB hard

Re: Bitmap PDB

2003-08-19 Thread ThuNguyet Nguyen
Hi Ken, >1. convert a windows bmp to a pdb > >2. read and display the pdb from a prc > I wrote a similar program before. I read the bitmap file format (MS site, search for BITMAPFILEHEADER or so), then I read about bitmap on the Palm in the Companion and SDKs. I also read about the format of t

Re: Act as a USB memory stick?

2003-08-19 Thread Dave Lippincott
Sony's drivers allows the Clie to act as a regular Memory stick reader. You do need to run an app on the Clie but not on the PC. - Original Message - From: "John" <[EMAIL PROTECTED]> Newsgroups: palm-dev-forum To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Tuesday, August 19, 2003

About the camera library

2003-08-19 Thread Eccles Kwong
Hi all, I am planning to write a program for zire 71. It's a funny camera tools. I have read for the document from plugged.palmos.com. It's help me a lot for knowng how the camera work ( thx the one who tell me the link before ) . Now I am looking for more information for the camera capture, can a

shared library

2003-08-19 Thread Chris Apers
Hi, Is there a good source for shared library programing ? does it work like windows DLL ? thanks Chris -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: shared library

2003-08-19 Thread Dave Lippincott
The SampleLib project included with the SDK is a good place to start. You could also look over mathlib (also included with the SDK). Search the PalmKnowledge Base for even more shared library info. - Original Message - From: "Chris Apers" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <

Re: develop localize font for palm

2003-08-19 Thread Ken Krugler
i have project to develop localization on palm os 5.0. the job is to enable my country font to display on palm os. What country/language? And if you want to create a fully localized device, it's a lot of work - not just enabling a font, but also handling text editing, word wrapping & selection, s

MultiSegmenting Questions

2003-08-19 Thread Régis Daniel de Oliveira
Hy all! I need to segment my application, but, there is some questions that i'd like to do about it: I Declared a h file that have the 2 segments that i will use in my app, like the code below: //This is the file sections.h #ifndef SECOES_H_INCLUDED #define SECOES_H_INCLUDED #define SECT1 __

Re: CW9 wizard : resources are created in .rcp instead of .rsrc format

2003-08-19 Thread Thomas Menguy
yes, make sense, I've switched to pilrc ... Thomas - Original Message - From: "Ben Combee" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Monday, August 18, 2003 20:32 Subject: Re: CW9 wizard : resources are created in .rcp instead of .rsrc format > At 12:45 PM

Application to connect palm using PPP

2003-08-19 Thread suman kumar addanki
Hi friends, I have to write an application to connect my Palm m505 to Internet. I dont want to use the dialer that comes with the Operating System. I want to write my own application. I dont have any idea of how to start with. While I was going thru palm os companion, I found connectionmanager

Strange positioning problem with popup form

2003-08-19 Thread Mark Nudelman
Form A, a 160x160 form, is on screen. A menu item calls FrmPopupForm to bring up form B, which is a 160x103 form positioned near the bottom of the screen (it is positioned at 0,56). Everything works fine, except if I tap on the unobscured part of form A while form B is up, it acts like form B has

Re: Strange positioning problem with popup form

2003-08-19 Thread Mark Nudelman
Sorry, a mistyped key sent the last email before I was done composing it. The code that brings up the form is MenuEraseStatus(0); FrmPopupForm(ID_FORM_MYPOPUP); return 1; --Mark - Original Message - From: "Mark Nudelman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tue

RE: shared library

2003-08-19 Thread Eric Cloninger
Chris, Look at one of the most widely used shared libraries out there--mathlib. The source and a tutorial are available at http://www.radiks.net/~rhuebner/mathlib.html -E > -Original Message- > From: Chris Apers [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 19, 2003 10:54 AM > To:

How to attach scroll bar to gadget?

2003-08-19 Thread Kerry Twibell
I have created a gadget that displays text in browser-like fashion. Would someone direct me to some documentation/code to attach a scroll bar to a gadget? I have too much text to fit in the window at once. TIA, Kerry = Kerry L. Twibell Computer Systems Engineer [EMAIL PROTECTED] ___

Re: Act as a USB memory stick?

2003-08-19 Thread John
OK, thanks for clarifying that Dave. I guess the USB drivers are specific for the Clie, so there is no way to tell whether the Palm palms will support a USB memory stick functionality. /John "Dave Lippincott" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Sony's drivers allows t

Are you getting all palm-dev-forum messages?

2003-08-19 Thread Eric Cloninger
Hello all, I had something very odd happen this afternoon. I realized that I am not getting all of the feed of palm-dev-forum delivered to my mail account or something is happening on my server that I'm not aware of. Has anyone else noticed their not getting all the forum emails? Here's the se

Re: how to keep a check on evaluation period of an application

2003-08-19 Thread nevaip
--- In [EMAIL PROTECTED], "Dave Lippincott" <[EMAIL PROTECTED]> wrote: > Almost every post here is urgent, it goes without saying... > Save the info in the application preferences. PrefAppGetPreferences, > PrefAppSetPreferences It will survive a soft reset. This is a very politically correct resp

Signature Capture

2003-08-19 Thread Jeff Biege
Howdy I need help in capturing a signature from a gadget converting it to a bitmap and saving it in a record along with other strings. I am new to programming and can't make heads or tails of the signature program for pre3.5. This must be for Palm OS 3.5 and greater. I read a lot of the other post

RE: Are you getting all palm-dev-forum messages?

2003-08-19 Thread Keith Rollin
Eric, I sometimes miss messages. However, I have no idea if the problem is on the sending or receiving ends. But, as part of the problem, the server ends up getting "unable to deliver" messages. After a number of those, the server would unsubscribe me. Fortunately, I work here, and was able

dmMaxRecordIndex

2003-08-19 Thread rguevara
Hi, i have four open databases and want write in the last position of one. I don't know if dmMaxRecordIndex work... -- Open WebMail Project (http://openwebmail.org) -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: dmMaxRecordIndex

2003-08-19 Thread José dos Santos Machado
rguevara escreveu: Hi, i have four open databases and want write in the last position of one. I don't know if dmMaxRecordIndex work... Very short answer: Yes, it works. I use it all the time. A little bit longer one: What's happening ? Are you having some trouble with it or just asked without an

Can I debug the program on the SD card?

2003-08-19 Thread ThuNguyet Nguyen
Hello all, I am writing a Palm program for the Tungstens and it works fine on the Internal memory but if I put it on the SD card and run it, I get the Fatal Alert saying "MemoryMgr.c, Line:3564, NULL handle". Tapping on the "Reset" button in the Alert doesn't work, I have to do hard reset. I u

Re: Can I debug the program on the SD card?

2003-08-19 Thread José dos Santos Machado
ThuNguyet Nguyen escreveu: handle". Tapping on the "Reset" button in the Alert doesn't work, I have to do hard reset. Well, I usually don't have much problems using the cards, but let's see: You have to do a *hard* reset ? Or reset the handheld by hand, using some kind of paper clip to do it ?

Re: Can I debug the program on the SD card?

2003-08-19 Thread Ben Combee
At 03:31 PM 8/19/2003, ThuNguyet Nguyen wrote: What does the OS do when we run a program from the SD card? After it copies your program off the card, your app gets a special sysAppLaunchCmdCardLaunch launch code which means "I'm running after being loaded from the card" launch code. You can use

Re: dmMaxRecordIndex

2003-08-19 Thread rguevara
Sorry, but i hurry and really don't want write with its, i only need the number of max record for label of popuptrigger, but in the bible and the page of palmsource not say nothing about what database its refered dmMax..., but now use DmNumRecordsInCategory(DBase, dmAllCategories) and work. Thanks

Serial problems

2003-08-19 Thread imsavant
I have a program I am trying to get to function on my TT2. The program functions perferctly under older models such as m515. In oder to function the palm needs to setup a serial connection at 1953bps. This is non-flexable. When ever the program makes the call to open the serial at 1953 I get

Re: shared library

2003-08-19 Thread Viren
> does it work like windows DLL ? I guess the basis for all shared libs is same - I mean the underlying threads are same...In Palm, a shared lib is a special collection of executable code resources...it is really a collection of pointers to functions...the pointers are arranged in an array ( a t

Re: shared library

2003-08-19 Thread Ben Combee
At 04:12 PM 8/19/2003, Viren wrote: )however, u can allocate "kinda" global-vars in in the negative part of a5. Please refer to literature/code URLs mentioned by Dave and Eric for further details. This is DANGEROUS. CodeWarrior uses the full 64K of possible global space, both 32K above and 32

Re: A link error!

2003-08-19 Thread Viren
> If this is an application that contains multiple resource segments, make > sure that you have the runtime library in the first segment. Or if u are using any beaming code/Exchange Mgr calls, keep the things in first segement. -Viren -- For information on using the Palm Developer Forums, or

Re: shared library

2003-08-19 Thread Viren
> This is DANGEROUS. CodeWarrior uses the full 64K of possible global space, > both 32K above and 32K below A5, so there's no room for negative-A5 globals. > > CW's code generation for shared libraries and other code resources will use > A4 as a global pointer and stores variable setup info

Re: Strange positioning problem with popup form

2003-08-19 Thread ThuNguyet Nguyen
Hi Mark, From: "Mark Nudelman" <[EMAIL PROTECTED]> > Form A, a 160x160 form, is on screen. A menu item calls FrmPopupForm to > bring up form B, which is a 160x103 form positioned near the bottom of the > screen (it is positioned at 0,56). Everything works fine, except if I tap > on the unobscur

Re: shared library

2003-08-19 Thread Ben Combee
Yikes!! :-) Out of curiosity, could anyone tell me what are the prices for CW9 ? And if I already have CW v4.0.1, how much would it cost for me to upgrade to v4.2.8 ? I guess 4.2.8 costs something like $396.00. Is it? (I am sorry but I dont wanna go to metrowerks site and keep searching...hey, its

Multi Segment Manual

2003-08-19 Thread Régis Daniel de Oliveira
Hy! Does anybody knows where can i find documentation about segmenting aplications for Palm Os? I'm using falch.net, and need to segment my app. Thanks! Régis Daniel de Oliveira -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/

Re: Strange positioning problem with popup form

2003-08-19 Thread Mark Nudelman
Ah, how foolish of me. The problem was that form B, the popup form, was not modal. I guess popping up a non-modal form allows the underlying form to stay semi-active, but not correctly. Anyway, making the form modal fixes the problem. Thanks very much for the clue. --Mark - Original Message

Re: Multi Segment Manual

2003-08-19 Thread Viren
> Does anybody knows where can i find documentation about segmenting > aplications for Palm Os? > I'm using falch.net, and need to segment my app. In the book entitled "Palm Programming Bible", the last chapter is dedicated to palm app segmentations. But thats specific to CW. However, concepts

Re: Multi Segment Manual

2003-08-19 Thread Ben Combee
You may also like to Google keywords like "palm+segmentation+tutorial/introduction" etc. Doesn't FN chaps provide doc on how to do that in their manual ? I had used FN way back in 2000 when it was free but found many problems with it and (wisely) shifted to CW. But I personally have always loved P

Re: Can I debug the program on the SD card?

2003-08-19 Thread ThuNguyet Nguyen
Hi Ben, From: Ben Combee (view other messages by this author) > At 03:31 PM 8/19/2003, ThuNguyet Nguyen wrote: > >What does the OS do when we run a program from the SD card? > After it copies your program off the card, your app gets a special > sysAppLaunchCmdCardLaunch launch code which means

Re: Multi Segment Manual

2003-08-19 Thread Viren
Ben, > Huh? The PRC format is well published by PalmSource since at least 2001, > and their tools group supports several vendors, not just Metrowerks. My information was based on the article publisehd at this URL... http://web.mit.edu/tytso/www/pilot/prc-format.html The author has clearly me

RE: Multi Segment Manual

2003-08-19 Thread Eric Cloninger
Viren, I'm confused by what motivates you to write about the Metrowerks and PalmSource relationship in this manner. I can assure you that Metrowerks enjoys no particular advantage nor does PalmSource withhold information about the formats from any vendor who wishes to support the platform. Palm

Executing code from a 'DATA' type database.

2003-08-19 Thread Brad Figler
This might sound a little weird, but is it possible to copy code from my PRC in to a database as a record and then execute the code stored in the record? I read something similar to this but using feature pointers instead. Thanks, Brad -- For information on using the Palm Developer Forums

Re: Can I debug the program on the SD card?

2003-08-19 Thread Ben Combee
I change the setting, then start to debug, on the PC, I get the message "Fail to launch the application" or st similar. Either or both changes of the setting makes my TT reset and stays in the Palm logo screen forever. If I try to do hard reset + up button, I can go back to the launch screen bu

Re: Executing code from a 'DATA' type database.

2003-08-19 Thread Ben Combee
At 05:41 PM 8/19/2003, Brad Figler wrote: This might sound a little weird, but is it possible to copy code from my PRC in to a database as a record and then execute the code stored in the record? I read something similar to this but using feature pointers instead. The CPU on the 68K doesn't ca

Re: Multi Segment Manual

2003-08-19 Thread Ben Combee
My information was based on the article publisehd at this URL... http://web.mit.edu/tytso/www/pilot/prc-format.html The author has clearly mentioned the following in that article The PalmPilot Developer Technical Brief explicitly warns that "If your application was not developed with the Metr

Re: Multi Segment Manual

2003-08-19 Thread Viren
Eric, > I'm confused by what motivates you to write about the Metrowerks and > PalmSource relationship in this manner. I can assure you that > Metrowerks enjoys no particular advantage nor does PalmSource withhold > information about the formats from any vendor who wishes to support the > platf

RE: Multi Segment Manual

2003-08-19 Thread Eric Cloninger
No offense taken, I just wanted to make sure no one thought any favoritism exists. In the time that document was written, most of the independent tools projects got their information by reverse-engineering the formats. Those documents pre-date the year 2000 in the header--I recall reading them in

Multi section for C++?

2003-08-19 Thread Khaki Wizard
Hi, Due to the 64K code limit, we have to use multi-section code for Palm program. PRC-tool provides sample code for multi-section code. But it is only about C. How to do that for C++? Can I use the "__attribute__ ((section ("bob")))" stuff for class? Or I have to flag every methods with it? Tha

Re: Multi section for C++?

2003-08-19 Thread Régis Daniel de Oliveira
Hy! Here is an example of how make multi segmented app using C++: http://www.falch.net/Articles/?art=151 http://www.falch.net/Articles?art=334 http://www.falch.net/Articles?art=171 I'm looking for an example of how to do this same thing on C, and you said that you get one. Ca

Re: Multi section for C++?

2003-08-19 Thread Khaki Wizard
Hi, Thanks for your reply. The mentioned C sample is in the PRC-tools sample code. You can download it from here: http://prdownloads.sourceforge.net/prc-tools/prc-tools-samples.zip?download Good luck. --- Régis Daniel de Oliveira <[EMAIL PROTECTED]> wrote: > Hy! > > Here is an example of ho

Re: How to attach scroll bar to gadget?

2003-08-19 Thread kcorey
On Tue, 2003-08-19 at 18:55, Kerry Twibell wrote: > I have created a gadget that displays text in > browser-like fashion. > Would someone direct me to some documentation/code to > attach a scroll > bar to a gadget? I have too much text to fit in the > window at once. Hi Kerry, You don't 'attach'

Re: Signature Capture

2003-08-19 Thread www.msale.net
I have source code.If you need,I can send it to you. It can capture signature data,and save it to GIF. It's pity that it can't support High-res,only for low-res. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

How to create a .PDB in Windows - looking for a utility (VB6) or the documentation - Newbie question of the day!

2003-08-19 Thread Fred Zappert
Hi, I am trying to create a very simple Palm database within a Windows application consisting of a two field - a scrambled userid and password. I'd prefer a sample VB6 application, utility or the documentation that describes the layout of the .PDB The idea is to create this database in windows fr

Re: How to create a .PDB in Windows - looking for a utility (VB6) or the documentation - Newbie question of the day!

2003-08-19 Thread Régis Daniel de Oliveira
Hy Fred. I developed an utility, in VB, that use PalmDb.dll to create a PDB. If you can, i can send the app and source code to you see how it works... Regards. Régis Daniel de Oliveira "Fred Zappert" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] > > Hi, > > I am trying to cre

Re: How to create a .PDB in Windows - looking for a utility (VB6) or the documentation - Newbie question of the day!

2003-08-19 Thread Fred Zappert
Regis, I would appreciate it very much if you could send me that code. Regards, Fred. - Original Message - From: "Régis Daniel de Oliveira" <[EMAIL PROTECTED]> Newsgroups: palm-dev-forum To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Tuesday, August 19, 2003 7:39 PM Subject: Re:

Re: How to create a .PDB in Windows - looking for a utility (VB6) or the documentation - Newbie question of the day!

2003-08-19 Thread Régis Daniel de Oliveira
Ok. I'll send it to your e-mail Good luck! Regis "Fred Zappert" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] > > Regis, > > I would appreciate it very much if you could send me that code. > > Regards, > > Fred. > > > - Original Message - > From: "Régis Daniel de Olive

Voice Memo running on T|T Simulator

2003-08-19 Thread J.M
Hi, I got the following error message while press the 'Record' Button to start recording in T|T simulator: I:\Doghousell\ARM\Core\Emul68K\SrcSlowEmu\Run68K.c, Line:2247, Null access read from I tried to compile the sample 'ExtendedSound' from the PalmSG SDK and ran it on The simulator,

Faking relational databases with PDBs

2003-08-19 Thread Jeff Ishaq
One of my clients has a healthcare application that makes use of PDBs to store patient lists and the like. The data requirements are conducive to a relational database, however the client is not ready for a third-party solution, and wishes to stay with an in-house database solution for now. In ot