palm codec manager

2007-08-15 Thread Andrew Tamoney
Im trying to play mp3 files in my application and I am using a treo 700P.  I 
thought the treo 700P had support for this feature but whenever A call
  err = SysLibFind(kCodecMgrLibName, gMiniInfo.CodecMgrLibRefNum);
A get error 0x050A which is sysErrLibNotFound which makes me think that the 
700P doesn't support the library.

Does anyone have any experience with this and know which library I should use 
or how to fix this error.
-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: How to Use HTTPLib in Palm treo 650

2007-08-10 Thread Andrew Tamoney
Im currently having some trouble with it myself.  Look at the sample
project included with the SDK.  That is really the only documentation
besides the Palm Developers Guide which can be found at
https://dts.pdn.palm.com/cgi-bin/palmdev.cfg/php/enduser/std_adp.php?p_req_pass=1p_faqid=714
I have found that to be very brief and not that helpful.  I have had
the most success with looking at the sample project.
Let me know if you find anything else since I am looking for
additional documentation as well.

On 8/10/07, Jayaseelan [EMAIL PROTECTED] wrote:
 hi,

 Is anybody has knowledge about (HS_HTTPLibConst.h, HS_HTTPLib68k.h...) how to 
 use Httplib in palm. This lib was added in Palm 5.x , I want to know how to 
 program using these headers.

 It wil help me a lot right now.

 Reply soon(Expects favourable reply)

 Regards

 Jayaseelan.V
 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: How to Use HTTPLib in Palm treo 650

2007-08-10 Thread Andrew Tamoney
set up a mail filter and dump it all in the trash if they wont remove your email

On 8/10/07, Muriph, Michael [EMAIL PROTECTED] wrote:

   Can someone manually remove my e-mail from this list?

   [EMAIL PROTECTED]

   I followed the link below, but I cannot seem to unsubscribe

 -Original Message-
 From: %%email.bounce%% [mailto:%%email.bounce%%] On Behalf Of Andrew Tamoney
 Sent: Friday, August 10, 2007 9:46 AM
 To: Palm Developer Forum
 Subject: Re: How to Use HTTPLib in Palm treo 650

 Im currently having some trouble with it myself.  Look at the sample project
 included with the SDK.  That is really the only documentation besides the Palm
 Developers Guide which can be found at
 https://dts.pdn.palm.com/cgi-bin/palmdev.cfg/php/enduser/std_adp.php?p_req_pass=
 1p_faqid=714
 I have found that to be very brief and not that helpful.  I have had the most
 success with looking at the sample project.
 Let me know if you find anything else since I am looking for additional
 documentation as well.

 On 8/10/07, Jayaseelan [EMAIL PROTECTED] wrote:
  hi,
 
  Is anybody has knowledge about (HS_HTTPLibConst.h, HS_HTTPLib68k.h...) how 
  to
 use Httplib in palm. This lib was added in Palm 5.x , I want to know how to
 program using these headers.
 
  It wil help me a lot right now.
 
  Reply soon(Expects favourable reply)
 
  Regards
 
  Jayaseelan.V
  --
  For information on using the ACCESS Developer Forums, or to
  unsubscribe, please see
  http://www.access-company.com/developers/forums/
 

 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please
 see http://www.access-company.com/developers/forums/


 The information transmitted in this electronic communication is intended only 
 for the person or entity to whom it is addressed and may contain confidential 
 and/or privileged material. Any review, retransmission, dissemination or 
 other use of or taking of any action in reliance upon this information by 
 persons or entities other than the intended recipient is prohibited. If you 
 received this information in error, please contact the Compliance HelpLine at 
 800-856-1983 and properly dispose of this information.

 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Read a file from url and save it in device?

2007-08-09 Thread Andrew Tamoney
I believe there was a question about that on this mailing list in the
past couple of days.  Look through the previous questions.

On 8/9/07, Jayaseelan Vaiyapuri [EMAIL PROTECTED] wrote:


 hi Hynek,

 Thanks for ur reply. And i have another doubt. Is it possible to download
 .gz file in palm.
 If possible means how to save the data into file and how to get the
 decompressed data from it.

 Expects Reply soon


 Regards

 Jayaseelan.V --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: How to set Category

2007-08-06 Thread Andrew Tamoney
Put something like
LAUNCHERCATEGORY Main or LAUNCHERCATEGORY Games
into your RCP file

On 8/6/07, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 Can I program in a default category for a Palm OS app, like Games so that 
 if that category exists it automatically ends up there instead of unfiled, 
 but doesn't cause a problem if the category doesn't exist?
 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: changing color in a text field

2007-08-02 Thread Andrew Tamoney
I think he means HTML.  I have gotten the HTML library to do colors.
H1 style=background-color: #d26900; color: #ff worked great
for me on one of my webpages and i am sure that similar calls will
work for you.




On 8/2/07, Dmitry Grinberg [EMAIL PROTECTED] wrote:
 I assure you that HTTP library cannot Render anything. It only deals
 with getting data from point A to point B.

 On 8/2/07, Michal Seliga [EMAIL PROTECTED] wrote:
  maybe you could use http library to render text? maybe it knows colors 
  too...
  but i write it without even trying to see if what i write is true..its only 
  a hint
 
  --
  For information on using the ACCESS Developer Forums, or to unsubscribe, 
  please see http://www.access-company.com/developers/forums/
 


 --
 Best Regards, Dmitry Grinberg
 Software Engineer, http://PalmPowerups.com
 (847) 226 9295
 AIM: DmitryGrinberg
 MSN: [EMAIL PROTECTED]
 ICQ: 165589894
 Y! IM: dmitrygr2003

 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: FrmSetEventHandler

2007-07-26 Thread Andrew Tamoney
helpful to know but I already solved it.  My handleEvent was non-static
unlike the other calls

On 7/26/07, luis maldonado [EMAIL PROTECTED] wrote:

 Because your function is not an independent functions but rather a public
 functions withing a class and CW is having trouble with it. you need to
 include the app event loop and the apphandleevent into your class and then
 you should be able to use the callback event handler from within your
 class


 hope this helps



 From: Andrew Tamoney [EMAIL PROTECTED]
 Reply-To: Palm Developer Forum palm-dev-forum@news.palmos.com
 To: Palm Developer Forum palm-dev-forum@news.palmos.com
 Subject: FrmSetEventHandler
 Date: Wed, 25 Jul 2007 15:39:08 -
 
 So im having a little bit of trouble with the FrmSetEventHandler(FormType
 *formP, FormEventHandlerType  *handler).  I am trying to add a new form
 to
 some code and I want to give it a event handler.  Looking through the
 code
 I see this function used in two ways.
   FrmSetEventHandler(frmP, (FormEventHandlerType *)
 (QForm::EventDispatcher));
 
 and
 
 extern Boolean MainFormHandleEvent(EventPtr eventP);
 FrmSetEventHandler(frmP, MainFormHandleEvent);
 
 I have tried to add my own form handler with
FrmSetEventHandler(frmP, (FormEventHandlerType *)
 (QForm::HandleEvent));
 
 and
 
 extern Boolean QForm::HandleEvent(EventPtr eventP);
 FrmSetEventHandler(frmP, QForm::HandleEvent);
 
 in both cases I get:
 Error : illegal explicit conversion from 'void' to
 'unsigned char (*)(struct EventType *)'
 QForm.cpp line 280FrmSetEventHandler(frmP, (FormEventHandlerType
 *)
 (QForm::HandleEvent));
 Why are the other calls working and why can I not get mine to compile
 
 
 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/

 _
 Need a brain boost? Recharge with a stimulating game. Play now!
 http://club.live.com/home.aspx?icid=club_hotmailtextlink1


 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

FrmSetEventHandler

2007-07-25 Thread Andrew Tamoney
So im having a little bit of trouble with the FrmSetEventHandler(FormType 
*formP, FormEventHandlerType  *handler).  I am trying to add a new form to some 
code and I want to give it a event handler.  Looking through the code I see 
this function used in two ways.
 FrmSetEventHandler(frmP, (FormEventHandlerType *) (QForm::EventDispatcher));

and 

extern Boolean MainFormHandleEvent(EventPtr eventP);
FrmSetEventHandler(frmP, MainFormHandleEvent);

I have tried to add my own form handler with 
FrmSetEventHandler(frmP, (FormEventHandlerType *) 
(QForm::HandleEvent));
 
and 

extern Boolean QForm::HandleEvent(EventPtr eventP);
FrmSetEventHandler(frmP, QForm::HandleEvent);

in both cases I get:
Error : illegal explicit conversion from 'void' to
'unsigned char (*)(struct EventType *)'
QForm.cpp line 280FrmSetEventHandler(frmP, (FormEventHandlerType *) 
(QForm::HandleEvent));
Why are the other calls working and why can I not get mine to compile


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Scrolling Fields

2007-07-17 Thread Andrew Tamoney
I have played around a bunch with the page size.  I have set it to one and
also 14 which is the number of lines in the field.  I have set min to 0 and
max to the number of lines in the field so the value of 14 makes the most
sense to me but for some reason that didn't work.

On 7/17/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 Hmm, I dunno. Maybe the pagesize is too high? Thus it would jump from
 beginning to end (and vice versa) in one click.

 - Original Message 
 From: [EMAIL PROTECTED] [EMAIL PROTECTED]
 To: Palm Developer Forum palm-dev-forum@news.palmos.com
 Sent: Monday, July 16, 2007 11:12:10 AM
 Subject: Scrolling Fields

 I'm trying to set up a field in my application that works with a scroll
 bar. I have everything laid out but I am having trouble getting the field to
 respond to changes in the scrollbar. The field just stays put or jumps all
 the way to the end or the beginning when I attempt to move the scrollbar.
 When I move through and edit the field the scrollbar responds perfectly it
 just doesn't work the other way around. Here is the function that I call
 when I receive the SclRepeatEvent.

 Boolean MainForm::updateField(Int16 oldpos, Int16 newpos, struct
 ScrollBarType * bar)
 {
 struct FormType * frmP = FrmGetFormPtr(Messages);
 FieldType *field;
 UInt16 fieldIndex;
 fieldIndex = FrmGetObjectIndex(myForm, Messages);
 field = (FieldType *)FrmGetObjectPtr(myForm, fieldIndex);
 UInt16 scrollPos = 0;
 UInt16 textHeight = 0;
 UInt16 fieldHeight = 0;
 UInt16 maxValue = 0;
 const char * myChars = FldGetTextPtr(field);
 fieldHeight = FldCalcFieldHeight(myChars, 140);
 Int16 minimum = 0;
 Int16 maximum = 0;
 Int16 value;
 Int16 pageSize;
 UInt16 linesToScroll = (UInt16) newpos - oldpos;
 WinDirectionType direction = winUp;
 if(linesToScroll0)
 {
 linesToScroll = -1 * linesToScroll;
 direction = winDown;
 }
 FldScrollField (field, linesToScroll,direction);
 // Update the scroll bar.
 SclGetScrollBar (bar, value, minimum, maximum, pageSize);
 if (direction == winUp)
 {
 value -= (Int16) linesToScroll;
 }
 else
 {
 value += (Int16) linesToScroll;
 }
 SclSetScrollBar (bar, value, (Int16) 0, (Int16) fieldHeight,
 pageSize);
 return true;
 }
 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/




 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/