how to debug application on Treo

2005-03-08 Thread Awana, Abhishek
Does anyone know how we can debug application on Treo device? Please helpi know how to do it on Palm PDA's but not for Treo. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Getting the 5-way control activate the default button on a form

2005-03-08 Thread Vesselin Bontchev
> Go to PalmOne download the 5-way-SDK and use the defines there. Sigh... OK, I finally figured it out. For those of you who are as stupid as me and/or have as much trouble as me decyphering the above cryptic instruction, here is what exactly needs to be done: 1) Go to http://developers.palmone

NetLibGetHostByName example

2005-03-08 Thread versha khar
hi, i have to write a TCP/IP application ,want to use NetLibGetHostByName for a specific URL.could some one send some examples to refer. Thanks vershaKhar -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Problem with NetLibSend

2005-03-08 Thread versha khar
hi, i have to make a TCP/IP application where i want to get the data form a web-page [i have the URL for the page],i am using NetMgr.h functions, i am using the following functions in the sequence mentioned below but it gives me an error at function-NetLibSend : 1.SysLibFind for Net.Lib 2.NetLi

re: Not Showing "Signal Strength Indicator":

2005-03-08 Thread jpa
Hi Martin, Do you experience this on the Treo's PalmSim? If so this is normal. Give a try on a real device. Regards, JPA The HB++ team http://www.handheld-basic.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

USB communication on Treo device

2005-03-08 Thread Awana, Abhishek
Hi All, Is there any documentation available anywhere, giving some information related to USB communication for Treo or any palm device? Abhishek -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Changing the frame style of a button

2005-03-08 Thread Vesselin Bontchev
Hello folks, Another stupid question - how do I change (in a documented and portable way) the frame style of a button (e.g., from bold to standard and back)? According to the PalmOS Programmer's API Reference, each control (e.g., a button) has a ControlType structure associated with it. One of

Re: Linux PODS status?

2005-03-08 Thread Bastian Friedrich
Hi Ben, browsing the archives, I stumbled over your posting. This is just a quick "me-too-message": I'm waiting for a linux version of the developer suite too. The linux community has been dedicated to PalmOS devices for years. The good support for Palms in linux has been attracting buyers. May

Re: Problem with NetLibSend

2005-03-08 Thread Henk Jonas
versha khar wrote: hi, i have to make a TCP/IP application where i want to get the data form a web-page [i have the URL for the page],i am using NetMgr.h functions, i am using the following functions in the sequence mentioned below but it gives me an error at function-NetLibSend : 1.SysLibFind f

Re: Changing the frame style of a button

2005-03-08 Thread Henk Jonas
Vesselin Bontchev wrote: Hello folks, Another stupid question - how do I change (in a documented and portable way) the frame style of a button (e.g., from bold to standard and back)? According to the PalmOS Programmer's API Reference, each control (e.g., a button) has a ControlType structure asso

Re: Not Showing "Signal Strength Indicator":

2005-03-08 Thread babbu cathy
Hi All, I too tried same code and have not seen Signal Strength & got Battery Level Indicator. Please anyone help us. catherine --- "prabakar.mp" <[EMAIL PROTECTED]> wrote: > > Hi, > > I want to show "Signal Strength Indicator" and > "Battery Level Indicator" in my Form. > I created two gadg

Re: how to debug application on Treo

2005-03-08 Thread Eric Potter
Awana, Abhishek wrote: Does anyone know how we can debug application on Treo device? Please helpi know how to do it on Palm PDA's but not for Treo. If it is a treo 650, you will want to read http://palmos.combee.net/. -- For information on using the Palm Developer Forums, or to unsubscribe,

Re(2): RAD tools

2005-03-08 Thread George Henne
I'll reply offline to this. If anyone wants a cc, please let me know! George Henne NS BASIC Corporation http://www.nsbasic.com >Ok, thanx for your replies. I was not expecting to hear something from >people directly related to those development environments,

Promiscuous Mode

2005-03-08 Thread Deniz Dizman
Hi, Can the Tungsten C's WiFi be set to promiscuous mode ? Deniz Dizman Yeditepe University Computer Sciene and Engineering (CSE) -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

RE: Re(2): RAD tools

2005-03-08 Thread Sohil Shah
sure cc me on this reply. thanks sohil -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of George Henne Sent: Tuesday, March 08, 2005 9:12 AM To: Palm Developer Forum Subject: Re(2): RAD tools I'll reply offline to this. If anyone wants a cc, please let me kno

What should be size of application icons?

2005-03-08 Thread Luke Iwanicki
Hi! I've read in Codewarrior documentation section about creating icons for applications. I created icons with following settings: - Large App Icon family - App Icon Family Properties 22x22 - Double density - 16-bit color - Icon size 44x44. I experimented with different sizes of icon family and

application { "PBLDemo" BBUI stack=16000} multiple code { audio }

2005-03-08 Thread Jennifer Fell
While making an application with PRC-tool, I found a file (Demo.ref) without which the linker fails. This is what I have in that file: application { "PBLDemo" BBUI stack=16000} multiple code { audio } Also in a header file I found this prototype definition: int InitSndMgr()__attribute__

Re: What should be size of application icons?

2005-03-08 Thread Ben Combee
At 07:12 AM 3/8/2005, you wrote: Hi! I've read in Codewarrior documentation section about creating icons for applications. I created icons with following settings: - Large App Icon family - App Icon Family Properties 22x22 - Double density - 16-bit color - Icon size 44x44. I experimented with dif

Re: application { "PBLDemo" BBUI stack=16000} multiple code { audio }

2005-03-08 Thread Miguel Angel Sotomayor Hernandez
Jennifer, This app has another code section, called "audio". It is necessary for applications larger than 64KB. "multiple code" in Demo.ref tells what the extra segments are. The __attribute__ ((section ("audio"))); in the header file is to tell that this function belongs to another code sectio

Re: Invalid chunk ptr after exiting app

2005-03-08 Thread Richard Coutts
I've been reading through the architives and seeing that this is likely because I'm overwriting a chunk header, or something to that effect. My apps pretty big, so I'm having a tough time tracking down where this might be happening. When I make changes to the code, it sometimes goes away, but it

Re: Changing the frame style of a button

2005-03-08 Thread Vesselin Bontchev
Aha, CtlGlueSetFrameStyle seems to be doing exactly what I want, thanks! Some caveats: 1) Don't forget to include #include because the default doesn't include it. 2) Configure your linker to link with libPalmOSGlue.a, libPalmOSGlue-debug.a or PalmOSGlue.lib, depending on how exactly this li

re: What should be size of application icons?

2005-03-08 Thread Vesselin Bontchev
I am very new to PalmOS programming and can answer only some of your questions - and because I've hit them too recently. :-) > I also prepared Small App Family icon but I don't know where it is > used. I suspected it to be display at the List view, That is correct. > but my application there ha

Documentation Question in PODS

2005-03-08 Thread Terry Young
Is there a C/C++ reference manual for PODS? I can find documents on just about everything expcept for that. -Terry -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

function handling need help!!!urgent!!!

2005-03-08 Thread Marc
how to relate a function with a button in a form?? following is the things i need but just dunno how to implement it...could someone help me out pls??it's urgent!! 1stFormEventHandler(EventPtr event) { FormPtr form; Boolean handled

Re: Changing the frame style of a button

2005-03-08 Thread Henk Jonas
Vesselin Bontchev wrote: Aha, CtlGlueSetFrameStyle seems to be doing exactly what I want, thanks! Some caveats: 1) Don't forget to include #include because the default doesn't include it. 2) Configure your linker to link with libPalmOSGlue.a, libPalmOSGlue-debug.a or PalmOSGlue.lib, depending on

Re: Problem with NetLibSend

2005-03-08 Thread Luciano Stertz
versha khar wrote: hi, i have to make a TCP/IP application where i want to get the data form a web-page [i have the URL for the page],i am using NetMgr.h functions, i am using the following functions in the sequence mentioned below but it gives me an error at function-NetLibSend : 1.SysLibFind f

Re: Invalid chunk ptr after exiting app

2005-03-08 Thread Henk Jonas
Richard Coutts wrote: Thanks Chris, I definately need to do this. Does anyone have this code posted somewhere or be willing to share it with me? To say that I'm under a time constraint, would be an understatement. As Ben wrote some days ago, the emulator with debug roms have this feature inclu

Re: function handling need help!!!urgent!!!

2005-03-08 Thread Logan Shaw
Marc wrote: > how to relate a function with a button in a form?? > following is the things i need but just dunno how to implement > it...could someone help me out pls??it's urgent!! Based on your code, you seem to believe that you can put all the logic into one function. That is not how event-

Re: function handling need help!!!urgent!!!

2005-03-08 Thread Marc
thx man...i understand what u try to say but i have no idea in how to start...would u mind to guide me with a little bit coding structure??thx.. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: function handling need help!!!urgent!!!

2005-03-08 Thread Wade Guthrie
Marc wrote: thx man...i understand what u try to say but i have no idea in how to start...would u mind to guide me with a little bit coding structure??thx.. For basic Palm programming coding structure, check out the Palm Programming Cookbook. It was designed for use with OnBoard C (so the res

Re: Invalid chunk ptr after exiting app

2005-03-08 Thread Richard Coutts
Thanks Chris, I definately need to do this. Does anyone have this code posted somewhere or be willing to share it with me? To say that I'm under a time constraint, would be an understatement. As Ben wrote some days ago, the emulator with debug roms have this feature included. But I guess it looks

VFSFileOpen error

2005-03-08 Thread Christiano Weirich
When I call VFSFileOpen, it returns the sysErrParamErr error. Any ideas about what could be the problem? Thanks, Christiano. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Changing the frame style of a button

2005-03-08 Thread Vesselin Bontchev
Hey, not a problem. For me, just the name of the function was enough - I managed to figure the rest. But I thought that sharing the potential problems that might arise could be valuable for other newbies who happen to encounter the same problem - provided, of course, that they think of searching

Re: Invalid chunk ptr after exiting app

2005-03-08 Thread Keith Rollin
As Ben wrote some days ago, the emulator with debug roms have this feature included. But I guess it looks like (it's by heart, may not compile correctly): Thanks, Henk. I saw Ben's original post but thought that only applied to the new and delete operators, and not the handle functions -- am I wr

Re: function handling need help!!!urgent!!!

2005-03-08 Thread Logan Shaw
Marc wrote: > thx man...i understand what u try to say but i have no idea in > how to start...would u mind to guide me with a little bit coding > structure?? Make a global: Question *gCurrentQuestion; Write a function called SetQuestion() that takes a Question pointer as an argument. It

How can I create a connection called "IR to Phone" at Tungsten E?

2005-03-08 Thread Leonardo_BR
Hi, I have a big problem. I need to create a new connection using Net Libraty Functions ( Name >> IR to Phone / Connect to Modem / Via Infrared ) . I should to set IR to Phone to connect a palm with an IR Modem, however, there is not that option at TE by default. IÂve tried to set this in my

Re: VFSFileOpen error

2005-03-08 Thread Greg Sepesi
Hi Christiano, In looking for the error, have you checked the contents of VFSFileOpen's three input parameters? Greg Christiano Weirich wrote: > > When I call VFSFileOpen, it returns the sysErrParamErr error. Any ideas > about what could be the problem? > > Thanks, > Christiano. -- For infor

Re: Invalid chunk ptr after exiting app

2005-03-08 Thread Chris Tutty
From: "Richard Coutts" <[EMAIL PROTECTED]> > From: Chris Tutty > > One approach for tracking memory overwrites is to add 'sentinel' > > markers to the beginning and end of each block and check these > > when you release the block (or at any other time you want to look > > for memory overwrite). > >

Re: Exit Application

2005-03-08 Thread Vesselin Bontchev
Zen for Palm is fine and dandy, however: 1) There are plenty of PalmOS applications that *do* have an Exit menu/button. They might be badly designed, they might not be conformant to the pure Zen of Palm, but they do exist nevertheless, so it is obviously possible. 2) It is better for the user w

Re: Invalid chunk ptr after exiting app

2005-03-08 Thread Ben Combee
At 11:53 AM 3/8/2005, you wrote: Thanks Chris, I definately need to do this. Does anyone have this code posted somewhere or be willing to share it with me? To say that I'm under a time constraint, would be an understatement. As Ben wrote some days ago, the emulator with debug roms have this featur

Re: What should be size of application icons?

2005-03-08 Thread LionScribe
Well I solved the centering problem by using a 32(W)*22(H) icons. LionScribe "Luke Iwanicki" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi! > > I've read in Codewarrior documentation section about creating icons for > applications. I created icons with following settings: > -

Re: Exit Application

2005-03-08 Thread Ben Combee
At 01:15 PM 3/8/2005, you wrote: Zen for Palm is fine and dandy, however: 2) It is better for the user when multi-platform applications have exactly the same user interface on all supported platforms. Only true when the user is expected to use the application on all of the platforms, instead of j

Re: Exit Application

2005-03-08 Thread Henk Jonas
Vesselin Bontchev wrote: There is a third way to "exit" - or to return to the Launcher, more exactly. Basically, the idea is to make your application's PilotMain return. For an example how to do it, see this: http://flippinbits.com/twiki/bin/view/FAQ/HowToExitBackToLauncher Which brings you to th

RE: Treo ProcAlarms and phone calls

2005-03-08 Thread Aaron Hansen
Bump! Too wordy mabye? Here's a shorter version: Problem: The second dialog that displays over my form causes the Treo to lock up. EvtGetEvent never returns. Reproduction: 1. Proc Alarm triggers, and my form is displayed 2. While my form is displayed a phone call comes in 3. The Incoming Call f

Debug file name

2005-03-08 Thread Tony Janke
I wrote my first app from the sample app. The problem I have is that the PRC file generated is still called "sample.prc". The project has been renamed, but I do not know where to go to change what the application will be called. please help. thanks, ~Tony -- For information on using the

Re: Exit Application

2005-03-08 Thread Richard Coutts
At 01:15 PM 3/8/2005, you wrote: Zen for Palm is fine and dandy, however: 2) It is better for the user when multi-platform applications have exactly the same user interface on all supported platforms. Only true when the user is expected to use the application on all of the platforms, instead of j

Re: Debug file name

2005-03-08 Thread Miguel Angel Sotomayor Hernandez
I don't know in ohther environments but with prc-tools it is done with buidl-prc. Read the docs, because there are two ways to pass parameters to build-prc. I use: build-prc -n "My app Name" -c (your app id) *.bin -o myapp.prc If your using prc-tools I hope this helps Miguel Tony Janke wrote: I

Re: Debug file name

2005-03-08 Thread Brandon Roberson
If you're using Codewarrior, take a look at Debug Settings on the Edit menu - the Palm OS 68K Target panel lets you set the prc name. Note also that the option on the Edit menu changes based on the name of your target -- so if you switch to the Release target, it will be "Release Settings". On Tu

Re: RAD tools

2005-03-08 Thread David Orriss Jr
On Mon, 7 Mar 2005 07:34:58 -, DenKar GamaSeven wrote: > Hello, > > I'm new to PalmOS development, and I'm looking for a nice RAD environment. > Given my budget, about $200, I have these candidates: > > http://www.handheld-basic.com > http://www.orbworks.com/orbforms/index.html > http://ww

Re: Debug file name

2005-03-08 Thread Jennifer Sy
hello, I modified the jamfile. Find and replace all the instances of the original app name. BTW, I am using the vc++ toolkit with microsoft platform sdk to compile. jing -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/fo

RE: Not Showing "Signal Strength Indicator":

2005-03-08 Thread prabakar.mp
Hey, I tested on device only not simulator. -Martin Prabakar. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 5:28 PM To: Palm Developer Forum Subject: re: Not Showing "Signal Strength Indicator": Hi Martin

what's wrong with the struct????

2005-03-08 Thread Marc
struct QuestionStruct; typedef struct QuestionStruct { Char* text; QuestionStruct* answeryes; QuestionStruct* answerno; }QuestionStruct; when do the struct, it shows the following error: --parse error before `QuestionStruct' --warning: no semicolon at end of struct or union --warning:

Re: what's wrong with the struct????

2005-03-08 Thread Brandon Roberson
Try: typedef struct QuestionStruct { Char *text; struct QuestionStruct *answeryes; struct QuestionStruct *answerno; } QuestionType; On Wed, 9 Mar 2005 04:28:06 -, Marc <[EMAIL PROTECTED]> wrote: > struct QuestionStruct; > typedef struct QuestionStruct > { > Char* text; >

Re: what's wrong with the struct????

2005-03-08 Thread Wade Guthrie
Marc wrote: struct QuestionStruct; typedef struct QuestionStruct { Char* text; QuestionStruct* answeryes; QuestionStruct* answerno; }QuestionStruct; The typedef isn't complete yet. Instead, do the following: typedef struct QuestionStruct { Char *text; struct QuestionStruct *a

Re: what's wrong with the struct????

2005-03-08 Thread Marc
ok...its work...thx wade,brandon -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Turn off screen and blink LED

2005-03-08 Thread Donald C. Kirker
What I want to be able to do is turn the LCD off after a set time of inactivity during audio playback, and then turn the LCD back on when the user presses a button or taps the screen. How would I do that? -Donald "Greg Wilson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I assume

screen freeze???

2005-03-08 Thread xiuKeong
screen freeze with the following code..???can any1 tell me why? static Boolean FormEventHandler(EventPtr event) { FormPtr form; Boolean handled = false; switch(event->eType) { case ctlSelectEvent: switch(event->data.ctlSel