sound storage and playback in my first app

2006-08-03 Thread mksmith
I'm writing an application (in 68k) that I'd like to be compatible with at least the Treo 650 (Garnet) and if possible Palm OS 4.x and above. In this app I'm storing a list of sound files (30-90 seconds in length) that each have data associated with them and I want to be able to playback those

call subapp frm mainapp

2006-08-03 Thread Durgesh Trivedi
i m trying to call todo as application.but it is giving error message cannot record data base . im not understanding ehy my code is like this static void search(void) { Err err; DmOpenRef dbP; LocalID dbID; UInt32 resultP; UInt16 cardNo = 0;

Re: IrIAS_Query problem in expanded mode (a4a5jt) - Solved

2006-08-03 Thread Michal Seliga
i found problem, so just in case anyone will look for it... in ThunkPalmOS.c in IrIAS_Query function author uses this thunk variable. but this variable is local, so as soon as application leaves this function and enters another ona this thunk may get overwritten and then of course instead of

Re: Determining DIA presence

2006-08-03 Thread Luc Le Blanc
Douglas Handy wrote: Ton, As an alternative, he could check for high density. Z22 is the only OS5 device which is *not* hi density as far as I know. I believe the Treo 600 falls in that camp as well, though it does not have DIA support either so for purposes of this test it may not matter.

RE: sound storage and playback in my first app

2006-08-03 Thread Carmine Castiglia
Others will have to address most of your questions, but be aware that Treo-specific simulators can be downloaded at http://pluggedin.palm.com/ Sign in (create a free membership if you haven't already) and then click the develop link on the left edge of the screen. -Original Message-

palm customized table?

2006-08-03 Thread jarlymail
Hi, I want to make a list with my preferred text color, backgound color and highlight color. In each row of the list, I want to display an image icon and some text. Is there anyway to customize the Palm standard Table or List to do this? Do I have to create my own list with Gadget? Thanks --

Re: palm customized table?

2006-08-03 Thread Michal Seliga
just write your own custom draw function for ordinary list and you should have all you need [EMAIL PROTECTED] wrote: Hi, I want to make a list with my preferred text color, backgound color and highlight color. In each row of the list, I want to display an image icon and some text. Is

Re: palm customized table?

2006-08-03 Thread jarlymail
Hi, thanks for your reply. Which draw function do I need to override? Could you give me a simple example? or, give me some weblinks that I can find examples from. thanks -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see

how to customize table/list styles

2006-08-03 Thread jarlymail
I want to change the background color, text color and highlight color of Palm table or list. I also want to highlight the selected row with a image instead of a single color rectangle. I am using POL::CTable, POL::CList, POL::CGrid and etc. Is there any way to do what I want with these

Disply the text with different color and activating the event for it

2006-08-03 Thread Kishor Bhushan
Hi I have written a project to diaplay the text contents of the PDB file. Now i want to insert same special word in between the text, i want to give them in different color and also i want to activate the event for that special word text, so that when i click on the word it has to take to

List internal event loop and navigation

2006-08-03 Thread Remi Ricard
Hi, I'm trying to duplicate the 5-way navigation for old devices. The problem I have is: When a list popup I can't use the up and down key to highlight different items since the list runs its own internal event lopp. So it is possible to interfere with the loop and grab or send event to the

Re: palm customized table?

2006-08-03 Thread Michal Seliga
there is only one. for table its set with TblSetCustomDrawProcedure and for list with LstSetDrawFunction. details are in palmos documentation (user interface/lists and user interface/tables) and example of custom draw function...one from my project i am just working on so i have it near static

Re: palm customized table?

2006-08-03 Thread jarlymail
Thanks for you example. I tried this. But, WinEraseRectangle() draws a rectangle which overlaps on the highlight rectangle. I can not see which line is highlighted. How do you deal with this? -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see

Re: palm customized table?

2006-08-03 Thread jarlymail
by the way, I also want to change the highlight color. Or, draw an image istead of a single color rectangle. Is it possible? -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Determining DIA presence

2006-08-03 Thread Ton van Overbeek
On 2006-08-03, Luc Le Blanc [EMAIL PROTECTED] wrote: Douglas Handy wrote: Ton, As an alternative, he could check for high density. Z22 is the only OS5 device which is *not* hi density as far as I know. I believe the Treo 600 falls in that camp as well, though it does not have DIA

re: Negative Numbers in Numeric Fields - a Solution

2006-08-03 Thread Laurie Davis
I thought that this was a great solution, but I now find an unfortunate side effect. When users use the popup keyboard to enter numbers into a numeric field, they cannot enter the minus sign. Since the field is set to numeric, the Palm OS blocks the minus sign, and in this case I do not have

Re: palm customized table?

2006-08-03 Thread Michal Seliga
[EMAIL PROTECTED] wrote: by the way, I also want to change the highlight color. Or, draw an image istead of a single color rectangle. Is it possible? you can draw anything you want inside, just make sure you draw only to rectangle you will get -- For information on using the PalmSource

Re: palm customized table?

2006-08-03 Thread Michal Seliga
i don't understand what you mean. list will invert rectangle if it is selected so you don't have to care about it [EMAIL PROTECTED] wrote: Thanks for you example. I tried this. But, WinEraseRectangle() draws a rectangle which overlaps on the highlight rectangle. I can not see which line is

Re: Negative Numbers in Numeric Fields - a Solution

2006-08-03 Thread Luc Le Blanc
Laurie Davis wrote: I thought that this was a great solution, but I now find an unfortunate side effect. When users use the popup keyboard to enter numbers into a numeric field, they cannot enter the minus sign. Since the field is set to numeric, the Palm OS blocks the minus sign, and in this

Re: Determining DIA presence

2006-08-03 Thread Luc Le Blanc
Ton van Overbeek wrote: On 2006-08-03, Luc Le Blanc [EMAIL PROTECTED] wrote: Douglas Handy wrote: Ton, As an alternative, he could check for high density. Z22 is the only OS5 device which is *not* hi density as far as I know. I believe the Treo 600 falls in that camp as well, though it does

Re: Determining DIA presence

2006-08-03 Thread Douglas Handy
Luc, ...and WinGetDisplayExtent() cannot reliably used to determine DIA presence once and for all since it depends on the current DIA and slider status :( You need to use WinScreenGetAttribute(), not WinGetDisplayExtent(). Doug -- For information on using the PalmSource Developer Forums, or

Re: palm customized table?

2006-08-03 Thread jarlymail
I mean I want to draw the list or table with colors I like. I don't want to use the standard colors. I want to make it more beautiful. Implementing my own list with gadget is quite complicated. So, I want to know if I can customize the style of List or Table, or CList, CGrid, Ctable in POL.

Small fonts using PalmOS Developer Suite

2006-08-03 Thread udayasri
Hi Please help anybody regarding creating custom font using Palm OS Developer Suite. advance thanks -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Small fonts using PalmOS Developer Suite

2006-08-03 Thread Douglas Handy
udayasri, Please help anybody regarding creating custom font using Palm OS Developer Suite. Search the knowledge base at PalmSource for tiny font -- there is an example font available for download. It requires a high density device to display it naturally, but it works fine on them. Doug --

Re: Palm Zire 72 Camera....Again!!

2006-08-03 Thread Eric Lyons
Daniel Brocco [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Documentation is terrible... can't undestand anything... Abysmal documentation from palmOne. Or Palm, Inc. Or whatever they're calling themselves these days... I already saw in old posts that it's just byte swap the

Re: Determining DIA presence

2006-08-03 Thread Ton van Overbeek
On 2006-08-03, Douglas Handy [EMAIL PROTECTED] wrote: Luc, ...and WinGetDisplayExtent() cannot reliably used to determine DIA presence once and for all since it depends on the current DIA and slider status :( You need to use WinScreenGetAttribute(), not WinGetDisplayExtent(). Doug I had a

Re: Determining DIA presence

2006-08-03 Thread Douglas Handy
Ton, I had a feeling there was a better function than WinGetDisplayExtent() and WinScreenGetAttribute() is it. I hadn't remembered the name of it offhand either, which is why I didn't mention the API name in my original suggestion. I didn't bother to look it back up until I saw your reply and

Re: Determining DIA presence

2006-08-03 Thread Luc Le Blanc
Ton van Overbeek wrote: On 2006-08-03, Douglas Handy [EMAIL PROTECTED] wrote: Luc, ...and WinGetDisplayExtent() cannot reliably used to determine DIA presence once and for all since it depends on the current DIA and slider status :( You need to use WinScreenGetAttribute(), not

Re: Determining DIA presence

2006-08-03 Thread Douglas Handy
Luc, Actually, on a T3 with a closed slider, WinScreenGetAttribute returns a height of 320. But isn't that accurate at that point in time? By the same token, can a landscape-capable device be detected? I do: if ( SysGlueTrapExists( pinSysGetOrientation ) ) but this returns false on a T3 :(

RE: sound storage and playback in my first app

2006-08-03 Thread Michael
Thanks for the treo simulator link - I'm using it now. Most of my questions have been answered by doing more research but I still can't find an answer to the mp3 playback question. I've searched all the dev-forum posts (and some other forums) for sound mp3 MPG3 playback etc. and found nothing

Re: Determining DIA presence

2006-08-03 Thread Luc Le Blanc
Douglas Handy wrote: Luc, Actually, on a T3 with a closed slider, WinScreenGetAttribute returns a height of 320. But isn't that accurate at that point in time? Indeed, but it means, like I wrote earlier, that you cannot perform this test once and for all upon starting up your program.

Re: Determining DIA presence

2006-08-03 Thread Douglas Handy
Luc, I don't know, this is what I observed on the T3 Simulator. Does it need those PRCs too? Yes. The problem is that the T3's ROM image was produced before the final public API specs were available. The the built-in apps use a different proprietary method which was only shared with those

Re: Flash OS

2006-08-03 Thread Roger Stringer
At 04:17 AM 8/3/2006, you wrote: Subject: Flash OS From: zozombi [EMAIL PROTECTED] Date: Wed, 2 Aug 2006 13:09:10 - X-Message-Number: 4 Hi, sorry for little off-topic. My TX is in stuck. Everything what I can do, is get to the debug mode. Is it possible to re-flash OS in this mode? Or how to

RE: sound storage and playback in my first app

2006-08-03 Thread Michael
Found a good post on the mp3 playing front: http://news.palmos.com/read/messages?id=171131#171131 -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Function to stop Palm for 3 seconds?

2006-08-03 Thread Tenchi
Hiya, Do you know is there any function to force Palm to wait 3 seconds before processing the next line of code? Thanks so much -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Function to stop Palm for 3 seconds?

2006-08-03 Thread Douglas Handy
Do you know is there any function to force Palm to wait 3 seconds before processing the next line of code? SysTaskDelay( SysTicksPerSecond() * 3 ); -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

RE: sound storage and playback in my first app

2006-08-03 Thread Durgesh Trivedi
i read some where that 68k app use mp4 format and ther are some tools avail that can convert the mp3 to mp4 format so may be that can help you. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Using sysAppLaunch

2006-08-03 Thread Durgesh Trivedi
I want to switch frm my application to todo application but using function sysAppLaunch givng run time error that the data base can't be launch.Even i open the database by DmOpenDatabaseByTypeCreator and it open the todo database. please help me thanks -- For information on using the