re: Using Virtual Phone in conjunction with PhoneInfo sample app

2005-05-27 Thread Nathan Black
Developers at our company have spent hours and hours working with this tool but have yet to find any useful documentation, or to even get it working with non Cobalt simultators. Hopefully our lead developer got to ask about it at the DevCon. -- For information on using the PalmSource Developer

re: File System Library API?

2005-05-23 Thread Nathan Black
Ah, that's just what I was looking for. Thanks again Ben! -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

re: File System Library API?

2005-05-20 Thread Nathan Black
No, I understand the Virtual File System Manager. That is not what I'm refering too. I'm talking about implementing a new type of file system, a library of type 'libf', that sits UNDER VFS. The point of VFS is to unify the different type of libraries. And again that code is just using the VFS

File System Library API?

2005-05-19 Thread Nathan Black
I am looking to design a custom File System Library (really, a file system library that will sit above VFAT and pass it cyphertext to facilitate encryption). I see it is implemented by creating a shared library, with a type of 'libr'. In the Expansion section of the Palm OS Companion

re: Weird code problem, possibly linking problem?

2005-05-19 Thread Nathan Black
Are you trying to run this code while responding to some launch event or other condition where you don't have globals? You can't jump across segments while responding to alot of launch codes when you aren't the foreground task - your A5 won't be setup (I belive that's the register for

re: Launch Card App

2005-05-19 Thread Nathan Black
Yes, you want to use SysUIAppSwitch - SysAppLaunch does a sublaunch, and isn't a full launch as it doesn't initialize globals, etc. SysUIAppSwitch loads it completly and sets it as the foreground application. -- For information on using the PalmSource Developer Forums, or to unsubscribe,

RE: User defined Events

2004-07-16 Thread Nathan Black
Are you sure? Cause 0x6000-0x7FFF is a small range, the OS has other numbers to use for it's custom or internal events. Why would the Palm OS Devs intentionally use something that could conflict with user apps without documenting it? If it is documented where? -Original Message- From:

RE: Change font of list item

2004-07-16 Thread Nathan Black
All the questions you have asked have been in the Palm OS Companion. Please read that stuff before posting questions here. You're code that you put below is not using custom drawing; You need to register a callback list draw fuction using LstSetDrawFunction. IN there you will use the Window and

RE: Structure of pointers in a database?

2004-07-16 Thread Nathan Black
Um, why do you want to store those? Windows like WinCreateOffscreenWindow() are destroyed when you exit your program, they are OS constructions, they can't be saved away... would need to be created dynamically each time. If you're talking about the contents of the window, well that's another

RE: Palm OS Developer Classes Coming in August

2004-07-11 Thread Nathan Black
For me, I first learned the Palm OS from a online tutorial and using the SDK Ref documents and the GNU tools. I then bought CodeWarrior after I started selling my first software. The shareware market for Palm OS is really big, and a considerable portion compared to the PC Market. I wonder how

RE: Palm OS Developer Classes Coming in August

2004-07-11 Thread Nathan Black
] [mailto:[EMAIL PROTECTED] Behalf Of Steve Sent: Sunday, July 11, 2004 3:28 PM To: Palm Developer Forum Subject: Re: Palm OS Developer Classes Coming in August Nathan Black wrote: For me, I first learned the Palm OS from a online tutorial and using the SDK Ref documents and the GNU tools. I then bought

RE: Receive function in BtLib?

2004-07-10 Thread Nathan Black
It's not possible. You need to use the callback function. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Wendel Sent: Thursday, July 08, 2004 8:23 AM To: Palm Developer Forum Subject: Receive function in BtLib? Hi, Exists some receive function in

RE: BitmapV3 convertion problem

2004-07-08 Thread Nathan Black
Try taking out the BmpGetBits call, that's only like if the bits are stored somewhere else like the storage heap for the bitmap. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Chris Apers Sent: Wednesday, July 07, 2004 8:44 AM To: Palm Developer Forum

RE: what is the hexadecimal code for right arrow symbol

2004-06-29 Thread Nathan Black
You mean like ASCII hex codes? He's talking about the bits used when you call KeyCurrentState(); You can get the Five-way SDK from PalmOne's plugged in program, http://pluggedin.palmone.com/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of vanitha s Sent:

RE: Weird Black Bar on my form

2004-06-29 Thread Nathan Black
some of my users are complaning tahta balck bar appears in the scren going fromt he top to the bottom of the screen sometime during my app everthing my app writes on the screen after the bar appears ti drawns over the bar ok.. but the other parts of the bar are there... hehe whoa... it

RE: Timer and Callback?

2004-06-29 Thread Nathan Black
That is only useful if you want a timer with only 1 second resolution, which i think i most cases is not acceptable. The Palm OS was originally totally event driven. The way to do this is do any processing you need to when you're not processing events. First off modify your event loop in

RE: 3D graphics?

2004-06-29 Thread Nathan Black
I'm building one from scratch. There really isn't anything out there as far as I know for free, there are commercial packages. I saw some java 3D thingie for PDAs/Cellphone, but java and 3D graphics on embedded devices, lol that's pretty pointless. Oh, I shoould mention the TapWave. It's a Palm

RE: A quick question about VFS

2004-06-28 Thread Nathan Black
Half of (a). VFS doesn't deal with RAM (except the very nice function of loading a PRC/PDB into RAM), but you can use the File Streaming APIs on databases. The File Streaming APIs are just siting on top of the database structure (I believe since they were added later). -Original Message-

RE: Usb...Urgent Please

2004-06-28 Thread Nathan Black
it helps if you actually ask a question -Original Message- From: [EMAIL PROTECTED] [mailto:bounce-palm- [EMAIL PROTECTED] Behalf Of Ritu Chawla Sent: Monday, June 28, 2004 11:13 PM To: Palm Developer Forum Subject: Usb...Urgent Please We are using wakeup handler function for recieving

RE: ScreenShot

2004-06-26 Thread Nathan Black
is there a way to take screenshot from a Palm device. Yeah, there's a Screenshot app I use, I dunno it's name search for screenshot on http://www.handango.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

RE: BItmap bits

2004-06-25 Thread Nathan Black
Yes, you basically answered your own question. Use BmpGetBits. I'm developing an ARM game where I create my own bitmaps, based on an awesome project example at the PalmSource KB. Search for BitmapRsrc project (maybe BitmapRsrcDR1) It's a great resource. -Original Message- From: [EMAIL

RE: Can i associate Field Id with control and Get it.

2004-06-25 Thread Nathan Black
No you can't. You have to progmatically do this yourself. Basically you have to call FldScrollText when you get a ctlRepeatEvent from one of those buttons. There should be examples of code for this. I'm trying to think of something simpler than MemoPad or one of the standard for applications.

RE: Can i associate Field Id with control and Get it.

2004-06-25 Thread Nathan Black
] Behalf Of Nathan Black Sent: Friday, June 25, 2004 3:05 PM To: Palm Developer Forum Subject: RE: Can i associate Field Id with control and Get it. No you can't. You have to progmatically do this yourself. Basically you have to call FldScrollText when you get a ctlRepeatEvent from one of those

RE: Displaying an alert

2004-06-25 Thread Nathan Black
This is very confusing. Can you pls give me an example? FrmCustomAlert takes 3 string parameters. It will search the message body of your alert for ^1, ^2, ^3 and replace them with your strings. For example MathAlert, Info Alert, Message body: ^1 + ^2 = ^3 FrmCustomAlert(MathAlert, 2, 2, 4);

RE: checking if DB is in ROM

2004-06-25 Thread Nathan Black
This may be a really dumb question, but how do I check if a DB is in ROM? Convert the database's LocalID to a locked pointer with MemLocalIDToLockedPtr(), get the pointer's heap ID with MemPtrHeapID(), get the heap flags for the heap ID with MemHeapFlags(). If the memHeapFlagReadOnly bit is

RE: checking if DB is in ROM

2004-06-25 Thread Nathan Black
Ooops! nevermind about my last post, i didn't read right. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

RE: Playing MP3s

2004-06-23 Thread Nathan Black
I thought it wouldn't be to hard either, and I tried it a while back, just working with some GPL code WOW especially not knowing PNOs ARM development. It is REALLY much bigger than you think. We ended up just interfacing with PocketTunes. And to add on that, the API will work just fine in the

RE: 5-Way Navigator Question

2004-06-23 Thread Nathan Black
When I hold down one of the navigator buttons, I hear a clicking sound with a frequency of about 5 Hz. don't hear this on my T or T|3. What model is it? I really don't think so, since I'm polling them at a much higher rate and I am getting a good responce back. Nathan -- For

RE: Playing MP3s - mpg321?

2004-06-23 Thread Nathan Black
That's a WHOLE different ballgame when you're talking about Palm OS and ARM... memory constraints, dynamic loading of the code, segmenting, 4-byte struct alignment They don't port over easy at all. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Peter

RE: 5-Way Navigator Question

2004-06-23 Thread Nathan Black
at a much higher resolution. -Original Message- From: Thomas McCarthy [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 23, 2004 11:19 PM To: Nathan Black Subject: RE: 5-Way Navigator Question Any program that is running will make the clicking sound when any of the 4 navigation buttons

RE: Bluetooth Serial Comm

2004-06-22 Thread Nathan Black
I was involved in a project recently that did Bluetooth Development. For Windows, there's little to no help at all. The latest Windows SDK only supports SDP, and not L2CAP or RFCOMM. For Linux, the BlueZ project is very nice, and they have lots of sample code and modules. However my friend had to

RE: How can i dynamically add a single item in the List?

2004-06-22 Thread Nathan Black
In any list I have that has dynamic data, I just maintain the list myself, and use a custom draw list, ie I have my own draw function and pass it to LstSetCustomDrawFunction() and then you just draw from your array or linked list or whatever you have. Otherwise you have to use that function, so

RE: How i change attributes for one list

2004-06-22 Thread Nathan Black
CtlSetEnabled(myListP, false); Nathan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Roberto Pedrozo Mendes Sent: Tuesday, June 22, 2004 12:57 PM To: Palm Developer Forum Subject: How i change attributes for one list Hi I need to change the attribute

RE: event for table

2004-06-22 Thread Nathan Black
If i have two tables in my form how i can to know what i clicked inside of tblselectEvent From the Palm OS Reference: For this event, the data field contains the following structure: struct tblSelect { UInt16 tableID; struct TableType *pTable;

DIA APIs and Tungsten T|3, poor case design.

2004-06-22 Thread Nathan Black
I'm trying to disable the orientation flip button on the status bar on my T|3. It seems due to a poor case design, that every time I push the ToDo button or even on the case somewhat, it triggers the orientation flip button... somehow the case is touching the screen, below the button, but the

RE: How do I programatically launch another application from within my application?

2004-06-21 Thread Nathan Black
This is a snipet of code I wrote that launched an app for a file based on the extention. s is a string with the extention. error = ExgGetDefaultApplication(creatorID, exgRegExtensionID, s); if (error == errNone) { MemSet(dmSearch,

RE: Palm OS displays BMPs stored in a PDB

2004-06-21 Thread Nathan Black
Why don't you use DmGetResource? that's the easier and official way. h = DmGetResrouce(bitmapRsc, myID); bmp = MemHandleLock(h); WinPaintBitmap(bmp, r.topLeft.x, r.topLeft.y); The reason your way isn't working is probably due to the fact that PACE puts some shadow

RE: Creating a PDB file on the PC

2004-06-19 Thread Nathan Black
Bah I spent like 4 hours today figuring out how to do this correctly, was having problems with mine, with placeholder bytes and whatnot... turned out to be endian issues actually :P And I thought, naw, no one on this list has a good resource I already looked. hehe anyway i needed it to integrate

RE: about EvtGetEvent

2004-06-19 Thread Nathan Black
Remeber that the basic event loop code is something like this: if (! SysHandleEvent(event)) if (! MenuHandleEvent(0, event, error)) if (! AppHandleEvent(event)) FrmDispatchEvent(event);

RE: about EvtGetEvent

2004-06-19 Thread Nathan Black
I'm sorry I don't let you know what I mean. Sorry your English is hard to understand I believe that you don't have to tell the OS anything. You can just call EvtGetEvent, and do what you want with it. So if you get a keyDownEvent, and you're processing it, then you check it later, and you're

re: Command Prompt On palm?

2004-06-18 Thread Nathan Black
Please see the section entitled Standard IO Applications in the Palm OS Companion (Palm OS Compation.pdf in the documentation folder) -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

re: hiding graffiti indicator

2004-06-18 Thread Nathan Black
yeah, don't add the state indicator to your forms :P No really, i'm confused, cause you have to manualy put this in there. Just don't do it. Fields are often auto-capitalized, you can turn this off, it's an attribute of the field. -- For information on using the Palm Developer Forums, or to

RE: hiding graffiti indicator

2004-06-18 Thread Nathan Black
Yup, it's like a warning in your compiler (well it's the resrouce compiler like Ben said) so you can ignore it. Though is it just annoying you? not much of a reason to remove it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Lorraine Chin Sent: Friday,

RE: Dynamically creating controls

2004-06-18 Thread Nathan Black
2. Sometimes, if you create enough controls, you can get the form to trash the heap. This seems to be a limit on the number of controls, or maybe just the number of lists. In an application I made before, I was adding a bunch of fields to a forum, and was oddly crashing... I eventually added