Re: Where to find PalmOS 3.5 dev tools?

2010-03-29 Thread JamesSturdevant

The tools are owned by Access, the company that bought PalmSource.

http://www.accessdevnet.com/index.php/ACCESS-SDKs/View-category.html

JamesS

Shawn Poulson wrote:

The hard drive on one of my PCs crashed that had the installers for the various 
PalmOS dev tools.  It seems now Palm has taken down its downloads of everything 
pre-Garnet.

Can anyone provide the files or links to the CDK 4.0.3, POSE, and whatever else 
is out there?

Thank you.

---
Shawn Poulson
spoul...@explodingcoder.com



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


Re: webOS SDK (PalmSDK-Win-0 3 4)

2009-06-29 Thread JamesSturdevant

codemaker wrote:

webOS SDK  (PalmSDK-Win-0 3 4)
---
http://www.mininova.org/tor/2719050
OR
http://rapidshare.com/files/249167601/PalmSDK-Win-0.3.4.exe
I have just downloaded it... I didn’t test it.
Good Luck

I’m not thrilled to develop for Palm due to the way Palm do business. 
I have to port a PalmOS program. Should I go for windows mobile or the Palm Pre.




Either way, you are going to have to completely redevelop.

If you look at the current sales data, iPhone is the way to go and 
Blackberry after that. The Pre could be interesting but Palm is going to 
 have to stop trying to delay 3rd part developers. The iPhone didn't 
become a runaway best seller that it is now until Apple opened the doors 
wide to developers.


JamesS

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


Re: Keep network connection alive in the background

2008-06-25 Thread JamesSturdevant
If you are writing this for others, keep in mind that many people do not 
have unlimited data plans and keeping the connection open will cost them 
real money. It might be beneficial to design the process to behave more 
like a UDP connection than a TCP connection.


JamesS

Tam Hanna wrote:

Hello,
I once again have a problem for all of you to look at. 


I am currently developing a network application that keeps itself connected
to a TCP socket for a longer period of time(without sending or receiving
data). On my Palm TX(connected to a BT router), the app has no issues and
stays alive. However, on my Treo 680(GSM connection), the connection seems
to die after some time(I tried to ping google and got the Singing Up message
again).

What can I do to keep the connection alive? I have already tried sending
small bits of data in response to an alert to no avail...

Best regards
Tam Hanna  





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


Re: Treo 755 simulator issues

2007-12-04 Thread JamesSturdevant
If you've used other simulators in the past, you may need to delete the 
c:\Palm directory. It is the non-volatile memory for the simulators. If 
the memory is there, the simulator may be confused by corrupted memory.


JamesS

Neil Whitworth wrote:

I am currtly looking at some problems we have working on the treo 755.
Unfortunatly as I am based in the UK I can not test on a real device.

I have downloaded the simulator but am having real problems using it.
Whenever it crashes my entire machine freezes and I have to switch it
off and reboot.



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


Re: Fatal Exception on call to WinDrawChars()

2007-11-15 Thread JamesSturdevant
If memory serves, txt must be NUL terminated, even with the NameLen 
paramter. Debugging may move some items around in memory that provide an 
invisible NUL.


JamesS

Jonathan Carse wrote:

Hey folks.

A simple call to WinDrawChars() causes a fatal exception:

WinDrawChars((Char*)txt, NameLen, bounds-topLeft.x+nRightX-NameWidth, 
bounds-topLeft.y );


I would post the values of the parameters, but first of all I must 
mention that if I put a breakpoint at this line, and step through it, it 
works fine.

When no debugger is attached a Fatal Alert: Fatal Exception is shown.

OS: Garnet 5.4.7, on a Tungsten E2

If anyone encountered this, I will appreciate it greatly if he/she 
advises me on what to do.


Thanks


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


Re: Invalid chunk Pointer

2007-10-30 Thread JamesSturdevant
I've seen this happen when I freed a handle or pointer but a field on 
the form still had a reference to it. The form then tries to free it 
again as it exits.


JamesS

V. Sriram wrote:

Hi all,
Iam getting invalid chunk pointer while exiting my application. What could be 
the reason for this? The application executes till the last step and then crashes. So I'm 
not able to figure out the reason. I have used database but I have unlocked all 
memhandles.

Can anyone suggest how else can I trace the problem?
Awaiting response. 
Thanks and regards,

V.Sriram



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


Re: Alarm clock app

2007-06-13 Thread JamesSturdevant
If you want to learn about alarms, check out the SDK documents from 
Access http://www.access-company.com/developers/downloads/index.html.


If you want an alarm clock, search for BigClock. It's Open Source so you 
should be able to find the source code to understand how it works.


JamesS
James wrote:

Hello All,
 I was wondering how I would have an app run in the background on a Palm. 
Even when I have exited the app? This is kind of like the TSR that would run on 
PC's so years back?

Is there something specific I have to do to my app for this to happen? Also 
once I have it running in the background how do I stop it when it is finished??

Thanks again



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


Re: Palm Foleo Developer Tools

2007-05-30 Thread JamesSturdevant

You might let them announce it first...

It's at 11:30 Pacific time.

Greg wrote:

Are there any developer tools for this available?

Thanks

Greg



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


Re: Simulator/Emulator Distribution

2007-05-18 Thread JamesSturdevant
Someone with more knowledge will probably answer but this is my 
understanding:


The emulator is free software but the ROM images are not. You would need 
a license from Access (PalmSource) or Palm to distribute them.


JamesS
Eric Lyons wrote:
A client wants to distribute his Palm OS application to clients currently 
using Tablet PCs for other field applications.


The Palm OS Emulator appears to be freely distributable under the GPL.

However, the Palm Simulators for devices that support NVFS would be ideal. 
Users would not have to worry about loading and saving sessions with NVFS 
simulators.


1.  Is the emulator freely distributable under the GPL?  I believe the 
answer is yes.


2.  Does anyone have experience in redistributing the Palm.com Simulators? 
Is there a licensing fee with Palm?


Thanks!

Eric Lyons 






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


Re: CW9 to PODS - XRD header file?

2007-05-14 Thread JamesSturdevant
There is a program included with PODS called GenerateXRD Wizard.exe 
that appears to do what you need.


I have also seen references to a similar program for .rcp files.

JamesS
Greg wrote:

I am converting a CW9 project to PODS. I have converted my rsrc to an xrd, but 
I was referencing the header file from the rsrc in one of my c files and I am 
not sure how to get PODS to create the header file.

Can someone point me in the right direction, I have not had any luck locating 
in Google or the PODS docs how to have the xrd generate the header file or how 
I reference the xrd in the header of my c file.

Thanks

Greg



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


Re: Error Loading Net.lib

2007-02-07 Thread JamesSturdevant
I don't think that's it. I only have one socket open at a time and the 
failure is on the SysLibLoad at the start of the program. There is an 
error code for out of sockets.


The sequence is:

Open connection:
User cancels connection (appStop)
Connection is closed
Net.lib is unloaded
Program starts
SysLibLoad tries to load Net.lib and fails with 65505 error (-31 if it 
were signed)


JamesS
Michael Smith wrote:
One potential issue is that you're running out of ports. I think the 
Palm only has 4 ports and it takes a little while after you close the 
library for that resource to free up. So, if you load and close netlib 
more than 4 times in rapid succession, chances are good you'll get an 
error. Do you think this is what's happening?


On 2/6/07, *JamesSturdevant* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


I'm developing a program which will retrieve data from a web server and
store it on the Palm. Under normal circumstances, it is working.

I am stress testing it using Gremlins. After running a number of times,
including cancellations of downloads, I get an error loading Net.lib.
The error value is 65505 from SysLibLoad. I cannot find any references
to such a value in any of the documentation or headers. Can anyone
provide any insight?

Thanks,
JamesS

--
For information on using the PalmSource Developer Forums, or to
unsubscribe, please see http://www.palmos.com/dev/support/forums/
http://www.palmos.com/dev/support/forums/




--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Error Loading Net.lib

2007-02-06 Thread JamesSturdevant
I'm developing a program which will retrieve data from a web server and 
store it on the Palm. Under normal circumstances, it is working.


I am stress testing it using Gremlins. After running a number of times, 
including cancellations of downloads, I get an error loading Net.lib. 
The error value is 65505 from SysLibLoad. I cannot find any references 
to such a value in any of the documentation or headers. Can anyone 
provide any insight?


Thanks,
JamesS

--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: Loading/saving images to a pdb

2007-01-31 Thread JamesSturdevant
For one project, I wrote a program that had the images as resources and 
wrote them to a Palm database. I ran it in the emulator and then 
exported them to .pdb files for use in the other program.


I think you can do the same thing now with overlays but I haven't had 
the need to do it again.


JamesS
Ron wrote:

Hi,
Is there a way I can load images from a database not in the scope of the 
program. What I mean is the program can open a given database and load a given 
image from it? Or must the image be part of the resource of the program?

If it is possible, what is the structure of the image as a database record? As 
I want to create a program that generates a pdb on the PC which somewhere may 
contain an image which can be read by my program.

Thanks for your time



--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: Using bitmap resource with PRC-Tools

2006-12-01 Thread JamesSturdevant
Why are you using PRC-Tools? From the image, you are creating the bitmap 
using PODS, so let the XRD processing of PODS generate your bitmap.


JamesS
Christian Giordano wrote:
I'm a newbie and I'm trying to import in my application a bmp. After 
having created the bmp named heart.bmp:


http://nuthinking.com/temp/palm.png


I put in the .h:

#define HEART_image 5000


in the .rcp:

BITMAP ID HEART_image heart.bmp COMPRESS


and in the .c:

MemHandle rHandle = DmGetResource('Tbmp', HEART_image);


The error I'm getting is:

... initializer element is not constant in file included from c


The .h file is included of course in both the .rcp and the .c, what am I 
getting wrong?



Thanks a lot for any help, chr



--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: typecasting LstGetSelection for C++

2006-11-14 Thread JamesSturdevant

LstGetSelection returns Int16, not Int32.

JamesS
Greg wrote:

I am trying (without much luck to convert my C code:

Int32   Mode;
Mode = LstGetSelection (FrmGetObjectPtr (frmP, FrmGetObjectIndex (frmP, 
SetSyncModeList)));

to C++

The compilier does not like the casting (or lack there of).

Could someone give me a hand casting the above correctly.

Thanks

Greg

P.S. here are the prototypes for the Palm functions:
extern Int16 LstGetSelection (const ListType *listP)
extern void *FrmGetObjectPtr (const FormType *formP, UInt16 objIndex)
extern UInt16 FrmGetObjectIndex (const FormType *formP, UInt16 objID)



--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: SDK Developer Suite Help! How Do I create an app from a C++ source file.

2006-09-22 Thread JamesSturdevant
You may not be aware of this, but C was designed without any I/O 
specification. I/O was defined through function libraries which quickly 
became standardized and later became part of a formal standard. You can 
see the value of this if you look at embedded programming where typical 
peripherals are not available.


Palm uses GCC for 68K programming. I doubt that you will find another 
compiler that is more standard. What is not available is the terminal 
interface that your programming example desires.


You should find a read the Palm OS Companion and find a document on the 
Zen of Palm so you can understand the platform as you start developing 
software.


JamesS
ASIC_Designer wrote:
Hello Potter 

 

It sounds like you are saying that the palm os programming environment uses a C like language, but it's not exactly C. OK well if thats the case I'll just leave my programs on my lab top, don't have the time to learn a different language, know too many as it is, my head is almost full.  


I code in C and C++ all the time, and I do understand event driven code, vhdl 
is event driven code and so is verilog, both of which I program in daily.

I thought that that the suite would allow a C programmer to write something in 
C compile it and it would build an executable for you that you could download 
to your palm but it appears that that isn't the case. Am I write? Because if 
so, I'm toast, I just really can't put in the effort to learn yet another 
language, and palm needs to call its os programming language some sort of C 
hybrid instead of C if thats not what it is.  Because if you can't compile and 
run a c program in the os then its not C.



--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: Can libraries be put in a separate segments?

2006-08-22 Thread JamesSturdevant



Ton van Overbeek wrote:

On 2006-08-21, JamesSturdevant [EMAIL PROTECTED] wrote:

Now that I am able to get a memory map, I've identified one issue:

libgcc.a loads into the initial segment, using about 28K and not leaving 
room for much else. Is there a way to specify that this library should 
be loaded in its own segment or is that only a compile time option?


This will be very difficult to accomplish.
It is a compile time option. So you would need to recompile and rebuild 
libgcc.a.
But you will also need to modify gcc itself to generate the correct inter 
segment calls for the functions in libgcc.a.


My advice: Forget it for 68k apps. If you write very large apps go to ARM 
native where you do not have the segmentation problem.


Ton van Overbeek



That's what I thought but I figured it was worth asking.

And since I'm asking, can someone explain what I'm not understanding in 
this part of the map? I have defined a number of segments: main (all of 
AppMain except PilotMain), list (DataList), tdoc(TextDoc), and strx 
(StringExtension). It looks to me like space is still being used in the 
   first segment for the other segments.


.text   0x 0x9904
 *(.text)
 .text  0x   0x98 /usr/m68k-palmos/lib/crt0.o
0xstart
 .text  0x0098   0x94 /usr/m68k-palmos/lib/gdbstub.o
 .text  0x012c   0x58 src/AppMain.o
0x012cPilotMain
 .text  0x0184 0x1d86 src/DataList.o
 *fill* 0x1f0a0x2 00
 .text  0x1f0c 0x1c58 src/TextDoc.o
 .text  0x3b64 0x2a2a src/StringExtension.o
 *fill* 0x658e0x2 00
 .text  0x65900x4 multiple_code_sections.o
0x6590_GccRelocateData
 .text  0x6594  0x812 
/usr/lib/gcc-lib/m68k-palmos/2.95.3-kgpd/libgcc.a(_eh.o)

0x65ac__throw_type_match
0x6624__get_eh_info
0x6d14__rethrow
0x6616__get_eh_context
0x6682__sjthrow
0x6c8c__throw

...

 .text  0x98cc   0x26 
/usr/m68k-palmos/lib/libcrt.a(reloc_chain.o)

0x98cc_RelocateChain
0x98f4. = ALIGN (0x4)
 *fill* 0x98f20x2 00
0x98f4bhook_start = .
 *(bhook)
 bhook  0x98f40x4 /usr/m68k-palmos/lib/gdbstub.o

...

OUTPUT(EvTest coff-m68k)

list0x 0x1bcc
 *(list)
 list   0x 0x1bca src/DataList.o
0x0a42 
DataList::getListInfo(_STL::basic_stringchar, _STL::char_traitschar, 
_STL::allocatorchar )
0x002c 
DataEntry::getElement(_STL::basic_stringchar, _STL::char_traitschar, 
_STL::allocatorchar  )
0x12a6 
DataList::LoadFromTable(_STL::basic_stringchar, 
_STL::char_traitschar, _STL::allocatorchar )
0x0780 
DataEntry::LoadFromRow(_STL::basic_stringchar, _STL::char_traitschar, 
_STL::allocatorchar )

0x1b5cDataList::cleanUp(void)

strx0x  0xd04
 *(strx)
 strx   0x   0x7e src/TextDoc.o
0xfileText
 *fill* 0x007e0x2 00
 strx   0x0080  0xc84 src/StringExtension.o
0x0080 
findNoCase(_STL::basic_stringchar, _STL::char_traitschar, 
_STL::allocatorchar , _STL::basic_stringchar, 
_STL::char_traitschar, _STL::allocatorchar )

0x0586ItoString(unsigned long, int)
0x0ba8 
makeLower(_STL::basic_stringchar, _STL::char_traitschar, 
_STL::allocatorchar  )
0x0a92 
replaceAll(_STL::basic_stringchar, _STL::char_traitschar, 
_STL::allocatorchar  , _STL::basic_stringchar, 
_STL::char_traitschar, _STL::allocatorchar , 
_STL::basic_stringchar, _STL::char_traitschar, _STL::allocatorchar )
0x0224 
findNoCaseFrom(_STL::basic_stringchar, _STL::char_traitschar, 
_STL::allocatorchar , _STL::basic_stringchar, 
_STL::char_traitschar, _STL::allocatorchar , unsigned long)
0x03ca 
rfindNoCase(_STL::basic_stringchar, _STL::char_traitschar, 
_STL::allocatorchar , _STL::basic_stringchar, 
_STL::char_traitschar, _STL::allocatorchar )
0x0822 
trimRight(_STL::basic_stringchar, _STL::char_traitschar, 
_STL::allocatorchar , _STL::basic_stringchar, 
_STL::char_traitschar, _STL::allocatorchar )
0x095c 
trimLeft(_STL::basic_stringchar, _STL::char_traitschar, 
_STL::allocatorchar , _STL::basic_stringchar, 
_STL::char_traitschar, _STL::allocatorchar )
0x0c5a 
makeUpper(_STL

Re: Getting a linker map file

2006-08-21 Thread JamesSturdevant

And thank you Anders for using a better subject line than I did.

Note that the linker options are passed with the -W followed by the 
letter L in lower case. I first tried it with the digit one and of 
course it didn't work.


JamesS
Anders Green wrote:

Thanks Ton, totally worked. I just wanted to get this
in the archive with a good title.

keywords: 
linker

map file
how to get how to make
segments

At 07:43 PM 8/18/2006, Ton van Overbeek wrote:

For a Managed Make project:
Open the project properties.
Select C/C++ Build.
Under Configuration Settings under the PRC-Tools 68K Linker heading
select Miscellaneous.
Select the icon with the 3 '+' signs to the right of 'Additional options'.
In the popup window add the following extra options:
   -Wl,-Map -Wl,projectname.map
Then rebuild the project. This should produce a memory map file
projectname.map.

For a Standard Make project:
Just add the '-Wl,-Map -Wl,projectname.map' to the LDFLAGS symbol
in makefile-engine.mk.


(
.) Anders Green
( 





--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Can libraries be put in a separate segments?

2006-08-21 Thread JamesSturdevant

Now that I am able to get a memory map, I've identified one issue:

libgcc.a loads into the initial segment, using about 28K and not leaving 
room for much else. Is there a way to specify that this library should 
be loaded in its own segment or is that only a compile time option?


Thanks,
JamesS

--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


PODS, C++ and Segments

2006-08-18 Thread JamesSturdevant
I am trying to port some existing C++ code to a Palm program. The C++ 
code uses string primarily and I have run into full segment issues even 
though the only code not explicitly put in a segment is the AppMain code 
created by the wizard. I suspect that the string class is being loaded 
there too.


Is there a way to tell the loader to place libraries in certain segments?

Is there a way to tell which segments contain specific code and how full 
the segment is?


Thanks,
JamesS

--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: Using SonySDK Functions under PODS

2006-08-16 Thread JamesSturdevant

Ton van Overbeek wrote:

On 2006-08-16, Stephen H.S. Lee [EMAIL PROTECTED] wrote:

I have an application coded with SonySDK functions.  It was mainly catering
for the compatibility issue that came with the Sony Clie's Virtual Silk
Screen.  The application could be made under Code Warrior successfully.

However, after porting the application to PODS environment, errors happened
during the linking stage.  It is quite likely that those Sony specific
functions could not be found in libraries.  Following references are
undefined despite I did not call them directly.

silkLibTrapResizeDispWin
silkLibTrapDisableResize
silkLibTrapEnableResize
VskTrapGetAPIVersion
VskTrapSetState

Any way out?  Is there any missing library that I should include to resolve
the issue?

OR, I have to remove all codes that use SonySDK.  Of course, the new
compiled application will no longer support Sony's Virtual Silk Screen
feature.

Thanks for any comments or advices in advance very much.

Best regards,
Stephen H.S. Lee


If you are using an original version of the Sony SDK header files then 
prc-tools (which PODS uses) will have problems.
Sony used enums instead of #defines for their trap definitions and 
the gcc compiler cannot handle these definitions.
There have been various perl scripts floating around which can convert the 
Sony header files for you.

For example look at sdk_enum_to_defines.pl, which can be found here:
http://astroinfo.cvs.sourceforge.net/astroinfo/astroinfo/source/sdk_enum_to_defines.pl
HTH

Ton van Overbeek

The Perl script does a good job but, if I recall, misses the last entry 
in each enum list. It was easier to edit it by had after than to find 
the problem in the script. For my needs there were only three headers 
that needed modifying.


JamesS

--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: VFSDirEntryEnumerate Bug in 4.02a CDK?

2006-07-28 Thread JamesSturdevant
Are you doing other things to the VFS as you iterate? I recall in some 
project that that caused issues. Try iterating and making a list and 
then doing the rest of your processing from the list.


JamesS

Eric Lyons wrote:
The VFSDirEntryEnumerate API call in our conduit does not always iterate 
through every file in an expansion card on the handheld.


It does iterate a small number of files (up to 30 files) in a directory and 
then VFSDirEntryEnumerate returns a SYNCERR_REMOTE_BAD_ARG err.


The conduit has been developed using Visual Studio 6.0 and Palm CDK 4.02a.

We have witnessed grumbling about this API in various forums.  The following 
link is the best evidence we've found identifying problems in the VFS 
library in the CDK.  However, there is no concrete definition, explanation 
and resolution of this bug.


http://news.palmos.com/read/messages?id=140954

We are using long filenames (i.e. inventory20060413103847.jpg) for the files 
created by the handheld and stored on its expansion card.  We discovered 
that the conduit does process our files correctly when we use 8.3 filenames 
instead of the long filenames.


Can anyone provide some insight?

1.  Does VFSDirEntryEnumerate work reliably in the CDK when the filenames of 
the files on the handheld's expansion card are 8.3 versus long filenames?


2.  Is the bug with VFSDirEntryEnumerate resolved by moving to a higher CDK 
(example 4.03x)?


Thank you for taking valuable your time to help!

Eric Lyons 






--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Looking for HTTPS library

2006-07-19 Thread JamesSturdevant
I'm looking for a library that supports HTTPS, can be used with PODS, 
and has no per user fees. As always, free is best and low cost is better.


I saw a reference to a library that was distributed at Devcon 2005. Is 
that available or was it only for Cobalt?


JamesS

--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: tables show up, but no event is generated on tap

2006-04-18 Thread JamesSturdevant

Is the table set as editable? That was an issue I encountered at one time...

JamesS
Andrew wrote:

Hi,

I have created a table with two rows, height 24 each, total table height is 48. 
 I have one column, and it's 153 long, which is the table length.

I am creating the table by using TblSetItemStyle, Int, setting columnUsable, and 
setting my CustomDrawProcedure, and then drawing the form.  Doing this makes all 
the elements in the tables show up correctly, however when i go to view - 
events in the simulator, no events are showing up when I tap/click on the table.

Is there any suggestions without pasting the code that anybody has?



--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: tables show up, but no event is generated on tap

2006-04-18 Thread JamesSturdevant
In my case events weren't generated until I set it to editable. If it's 
just for display, I think thats what you want.


If you want something to happen when an item is tapped, it should be 
editable. You can disable the table highlighting with the EditIndicator 
functions.


JamesS
Andrew wrote:

No, it's not editable.  Should it be?  It's going to be for displaying 
information.

Andrew



--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


DevCon 2006

2006-03-21 Thread JamesSturdevant
Will there be a DevCon this year? I expected to see some sort of 
announcement by now...


JamesS

--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: PALM TX Reboots at 13% of ROM Transfer

2006-02-01 Thread JamesSturdevant
Unless you have to target specific features of the TX, just focus on 
PalmOS.


Get PODS from PalmSource. It comes with both POSE and the more recent 
Simulator. Both are non Palm (nee PalmOne, nee Palm) specific.


Also sign up for the Plugged in program at Palm.com. You get device 
specific Simulators from there.


I develop for OS4 and test on OS5. That is the bulk of the market now 
but sometimes I do verify that everything still works on OS3.1.


JamesS
[EMAIL PROTECTED] wrote:

What's the right SDK or Emulator for T|X?
I've seen people doing things on T|X from posts in this group.
It's the first time I have a PDA.

What I want to do is (I'm new to palm, not new to proggramming):
- application developpement for T|X, as I have it.
- test old applications before installing them in the T|X.

Thanks.

Apple



--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: making a cell-outlined table

2006-01-25 Thread JamesSturdevant
You will need to use a custom draw function and call the function 
WinDrawRectangleFrame with the bounds passed to it.


JamesS
John Rodriguez wrote:
I wish to make a table that has borders around the cell (basically a 
spreadsheet), but I don’t see any border attributes to the table object. 
 Any ideas?


 


-John



--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: T3 simulator - how do I emulate slider open/close ?

2006-01-16 Thread JamesSturdevant
Since the simulators are consistently inconsistent, I've collected these 
from various sources:


[alt] + [ctrl] = SelectTT
[alt] + [enter] = SelectT3
[home]=Treo 600/Treo 650

[alt] + [left arrow] = Navigator Left
[alt] + [right arrow] = Navigator Right
[alt] + [up arrow] = Navigator Up
[alt] + [down arrow] = Navigator Down

T3
[ctrl] + [up] = Slider Up
[ctrl] + [down] = Slider Down

I don't know how the T5 or TX differ.

JamesS
Shimon Shnitzer wrote:

Hi all,

Using the simulator, how can emulate using the PC keyboard the user
opening and closing te slider (revieling/hiding the graffity area) ?

I am implementing DIA support, and need to know how to handle a situation where 
a user views 320x480 with the slider open, then closes it.

How is my app notified of the slider being closed, so that it can update the 
display to 320x320 ?

Thanks !



--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: sysNotifyEventDequeuedEvent help!

2005-12-14 Thread JamesSturdevant
Will someone cancel this person's subscriptions until he learns how NOT 
to set auto replies to mailing lists.


JamesS
[EMAIL PROTECTED] wrote:

Hola, gracias por escribirme, te contestaré a la mayor brevedad !!!


Jose



--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: Palm OS Development is a mess

2005-11-23 Thread JamesSturdevant

Dear God!

If they can't install tools, what can they do?

JamesS
Aaron Ardiri wrote:

i've had a number of sub-contractors who just get stuck before they can
do any development just because they dont know how to install the tools.
this was one of the reasons why i used a vm for this - just ship them a DVD
with a harddrive image = ready for development.

--
// Aaron Ardiri



--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: Copying a bitmap

2005-11-09 Thread JamesSturdevant
Wild guess here: at greater color depth are you dealing with a bitmapV3 
format?


JamesS
Davie Lau wrote:
I'm trying crop a signature capture so that I only save the image and not the white space around it. It seems to work if I set my simulator's color depth to 2 colors (black and white). The drawing becomes more garbled as I increase the color depth on the Sim. It also works fine if the drawing is less than 39 pixels wide.  

Here is the code: 

theGadgetIdx = FrmGetObjectIndex(frmP, gadgetID); 
data = (SignatureGadgetData *)FrmGetGadgetData(frmP, theGadgetIdx); 

//This is a function I wrote to return the dimensions of the image 
if (!ExistsDrawingCanvasBitmap(data, minX, maxX, minY, maxY)) 
return 0; 

//Copy the drawing from the original bitmap to a new bitmap of the cropped size 
newBitmap = BmpCreate(maxX - minX + 1, maxY - minY + 1, 1, NULL, err); 
newBitmapWin = WinCreateBitmapWindow(newBitmap, err); 
//create rectangle to indicate where to copy from in the source bitmap 
rect = new RectangleType; 
rect-topLeft.x = minX; 
rect-topLeft.y = minY; 
rect-extent.x = maxX - minX + 1; 
rect-extent.y = maxY - minY + 1; 
WinCopyRectangle (data-bitmapWin, newBitmapWin, rect, 0, 0, winPaint); 

I'm guessing this might have something to do with color tables. I've played around with that with no success but I was probably doing it wrong. 
Thank you for any help!




--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: Copying a bitmap

2005-11-09 Thread JamesSturdevant
I don't know. I suspect that high density bitmaps that may be present on 
simulators and newer devices may be V3.


Have you tried using POSE with a color ROM? Those would not use V3.

JamesS
Davie Lau wrote:

Hi James,

I am not using v3 bitmaps.  I'm just using the normal 1 bit bitmaps?  Should I 
be using v3 bitmaps?



--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: How does one set a Palm's Date/Time From Conduit?

2005-11-04 Thread JamesSturdevant
Unless you have a strong desire to write your own, you can use TimeCopy 
(free) which syncs the PDA time to the PC time during each HotSync.


JamesS
Jerry Martinez wrote:

Thanks!

 


Jerry Martinez

Manager of Software Solutions


OEM Controls Inc.
10 Controls Drive
Shelton, CT  06484

Work: 203-929-8431

Mobile: 203-954-7486
Fax: 203-929-3867
Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

 



--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: Palm Emulator for PPC devices

2005-09-26 Thread JamesSturdevant

I tried it and it seemed to work but I need conduits for my software.

I have seen references to POSE being ported to a PPC but can't find any 
links that resolve to valid links. Does anyone have a source?


JamesS
John Sutton wrote:

Hi Luc,
It hadn't gone unnoticed by me ;)
I'm scared to say that anything that runs on PPC is good, but Styletap
is honestly amazing.
I didn't want (read couldn't be bothered) to port all our applications
to PPC, I got hold of a copy of Styletap, and *all* my Palm apps run
flawlessly on the HP iPaq.
The only thing missing is that it doesn't have the concept of a HotSync,
but that wasn't too big an obstacle. 
Got no work to do now!

Regards
John Sutton 



--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: Program to view pdb files

2005-07-12 Thread JamesSturdevant

If you use the Palm Simulators, right-click and select View-Databases.

JamesS
druid wrote:

Is there a program to allow me to view a database
created by my application, so I can check structure
and data to see if there created correctly.
Thanks



--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


5-Way Navigation - Which Devices?

2005-05-02 Thread JamesSturdevant
Which devices support the built-in 5-way navigation? Do T|T2 and T|T3?
JamesS
--
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/


Re: The Simulator Gremlins

2005-01-17 Thread JamesSturdevant
I agree that the Simulators are Not Ready for Prime Time and I use 
them just as you describe to find specific failures. It wouldn't be so 
bad if the program failed gracefully but most of the time it fails 
catastrophically with the send info to Microsoft error.

In addition to the poor quality of the Simulators there are so many 
features missing or poorly designed. A saved session will not load on 
another system and sometimes even on the native system. There is no 
warning on closing that you will lose the data up to that point. 
Documentation is sketchy and it seems each version has a different set 
of keys for the 5 way navigator. It's been noted that in some versions, 
the global variables are offset by 2 bytes when reported to the 
debugger. Gremlins don't even log what events are being performed so 
there is no way to determine what caused the failure.

JamesS
Richard Coutts wrote:
Running Gremlins on POSE has been invaluable in flushing an embarassing 
large number of bugs in my app.  Plus, they're just plain darn fun to 
watch do their thing.

But, I'm not having much success running Gremlins on the Simulators.  
The Switch After option, which is great for limiting the number of 
events needed to find the bug, still hasn't been implemented, according 
to 
http://www.palmos.com/dev/support/docs/simulator/Simulator_Using.html.  
Even worse, the handful of times I run Gremlins on the Simulator, it 
quickly crashes out (the simulator, not my app).

So, for the moment I'm using the Simulator for debugging only and POSE 
for Gremlins.  Are other people running into the same issues?  For 
obvious reasons, I'd really like to run Gremlins on the Simulator.

Thanks,
Rich
--
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/


Identifying hidden objects

2004-05-26 Thread JamesSturdevant
Is there an official way to identify objects that have been hidden with 
FrmHideObject? I can't find a function which would indicate that but 
Palmsource documents discourage poking through the structures.

JamesS

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Identifying hidden objects

2004-05-26 Thread JamesSturdevant
Thanks, Ben. As usual, you are a wonderful source of information.

JamesS

In article [EMAIL PROTECTED], Ben Combee [EMAIL PROTECTED] wrote:
At 02:31 PM 5/26/2004, you wrote:
Is there an official way to identify objects that have been hidden with
FrmHideObject? I can't find a function which would indicate that but
Palmsource documents discourage poking through the structures.

Iterate through the form objects by index, and use FrmGlueGetObjectUsable 
to determine the visibility.

-- Ben Combee, DTS technical lead, PalmSource, Inc.
Read Combee on Palm OS at http://palmos.combee.net/




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: How to tell when user opens a T3 ?

2004-03-12 Thread JamesSturdevant
You can use a keyboard combination to slide the T3. Here are the commands 
I've found for various simulators.  It would be nice to get them all 
documented in one place...

Tungsten Simulators

[alt] + [ctrl] = SelectTT
[alt] + [enter] = SelectT3
[home]Treo 600

[alt] + [left arrow] = Navigator Left
[alt] + [rlght arrow] = Navigator Rlght
[alt] + [up arrow] = Navigator Up
[alt] + [down arrow] = Navigator Down

T3
[ctrl] + [up] = Slider Up
[ctrl] + [down] = Slider Down

Command Line parameters
Starting with a storage snapshot:
-storagesnapshotfile:C:\PalmDev\TestCode\T3.ssf

Skiping the Language choice:
-preferredLocale:enUS
-preferredLocale:deDE
-preferredLocale:esES
-preferredLocale:frFR
-preferredLocale:itIT


In article [EMAIL PROTECTED], Jeff Diamond [EMAIL PROTECTED] 
wrote:
Hi Palm group.
The T3 emulator doesn't slide open and closed like a real T3, and we 
can't figure out how an app can be alerted when the user slides open or 
closed his T3.  We need this info so that we can redraw the extra part 
of the screen that's been exposed.

Any info would be greatly appreciated. :)
Thanks!
- Jeff




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: problem in Record Count in AddressDB

2004-03-09 Thread JamesSturdevant
To get the number of active records, call 
   DmNumRecordsInCategory (addressDB,dmAllCategories);
instead.

JamesS
In article [EMAIL PROTECTED], =?iso-8859-1?q?Pinaki=20Roy?= 
[EMAIL PROTECTED] wrote:
hi, 
sorry , in the first line it's actually  i'm NOT
calling DmDeleteRecord() or any other API -- 
actually i 'm manually deleting the record from the
user-interface of the emulator and it's not reflecting
when i 'm calling DmNumResources() or DmNumRecords()--
Thanx  Regds
PInaki 
 --- Pinaki Roy [EMAIL PROTECTED] wrote:  
 HI Steve ,
  Thank you very much for your response -- 
 i'm calling DmDeleteRecord or my progarm not
 deleting
 any record , i 'm deleting the record manually from
 the Address database in the emulator i 'm using -- 
 
 In my application i have to display the records of
 AddressDB -- in the address  two records are there 
 by default(Accessories  TechnicalSup), i added some
 10 records -- and my application displaying all 12
 records (to get the records i'm using
 AddrGetRecord()
 function from  AddressDB.c file --addressDB source
 code)-- 
 Now i've deleted 2 Address records from the
 emulator--and my application showing remaining 10
 records and garbage values for other 2 records
 --while
 debuging i found DmNumRecords returning 12 records
 --
 why it's happening ?? in the Address application
 delete operation is not handled properly or what?? 
 
 and , in the doc of DmDeleteRecord it says that it
 delets but leaves the record entry in the header
 --is
 it becoz of that i 'm getting 12 instead of 10??
 
 Thanx in advance for any explanation .. 
 regards
 PInaki
  --- SLO Revo News [EMAIL PROTECTED] wrote:  I'm
 facing a problem while  counting the record in
  AddressDB --
  say there're 10 records-- i have deleted 1 record
  --
  now if i call
  DmNumResources() or DmNumRecords()--
  it's showing 10 instead of 9.
  why it's returning the wrong number??
  
  If you're using DmDeleteRecord to delete the
 record,
  it DmNumRecords 
  will return 10. For an explanation, read the docs
  for DmDeleteRecord 
  and DmNumRecords.
  
  If you're not using DmDeleteRecord, how are you
  deleting the record?
  
  Regards,
  Steve Mann
  
  -- 
  For information on using the Palm Developer
 Forums,
  or to unsubscribe, please see
 http://www.palmos.com/dev/support/forums/ 
 


 Yahoo! India Insurance Special: Be informed on the
 best policies, services, tools and more. 
 Go to:
 http://in.insurance.yahoo.com/licspecial/index.html
 
 -- 
 For information on using the Palm Developer Forums,
 or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/ 


Yahoo! India Insurance Special: Be informed on the best policies, services,
 tools and more. 
Go to: http://in.insurance.yahoo.com/licspecial/index.html


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


Re: Fatal error: MemoryMgr.c, Line:xxxx, Free handle

2004-01-13 Thread JamesSturdevant
I was getting this error when I accidentally did the following (in varisous 
sections of code):

DmQueryRecord
..
DmCloseDatabase
MemHandleFree of DB Record (this was the bad thing)
..
DmQueryRecord  (got NULL record)
..
DmCloseDatabase
MemHandleFree of DB Record (this generated the error)

JamesS
In article [EMAIL PROTECTED], John Lai [EMAIL PROTECTED] wrote:
Hi,

Has anyone experienced this error?

Case 1:

For better illustration, a DB has 3 records like
{ada, 123}
{ben, 632}
{cat, 548}

When I want to display following in a list
ada
ben
cat

I modify the code from 
http://www.palmos.com/dev/support/docs/recipes/lists.html#dynamic
it can display the itemsbut after that, when I click any button, the 
fatal error occurs.

Case 2:

This time, I display the names of databases inside Palm, NOT records in a 
DB. It works and no fatal error.

So, I think, is it related to the use of memory handle / pointer?

P.S. I use Palm Tungsten T.

Please help,
John

_
Linguaphone :  Learning English? Get Japanese lessons for FREE 
http://go.msnserver.com/HK/30476.asp



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/