RE: Scaling resources for a Clie

2002-10-06 Thread Jacob King

I own a Clié but am still developing my app using the Pose and plain old
160x160 resources.  The Clié automatically resizes them to fit the
screen.  The only thing it changes is it usually uses hi-res fonts with
four times the pixels.  Not all applications work properly when they get
scaled up, and so the Clié also has a function that simply quadrupples
every pixel to make appear the exact same as it would on a 160x160
device, but it’s the user who decides if a program gets hi-res support
or not.  I'm not sure if the application can decide.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of
Dominique
Sent: Monday, 07 October, 2002 06:19
To: Palm Developer Forum
Subject: Scaling resources for a Clie


Hi,

In PiLRC, I specify the size of my resources etc for a standard Palm
device with 160x160 screen. What happens when my app is run on a Clie.
Does Sony re-scale my resources for the 320x320 screen, or does my app
run in the upper left quadrant?



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


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



Exiting Application and Saving State

2002-10-06 Thread Jacob King

I'd like to save the open forms when I leave my app and then reopen them
in the proper order.  I'm developing an application where the user can
go about 4 forms deep into the application, and the order in which they
are open is important.  I don't know how to save the state on
appStopEvent.  I tried simply pushing the open form into a FILO list and
saving it in AppPrefs.  But only one form sees the appStopEvent, and
thus only the currently active form is saved.  
My questions are:
 
Is there a way to get a list of all open forms to save?
is there a way to open them in Sequence?
Is there any sample code somewhere I can look at?
 
And another question off topic:
Is there somewhere online where I can search past emails in this forum?
 
Many thanx,
Jacob


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



CategoryInitilaize() - Item 0

2002-09-29 Thread Jacob King

I've been trying to initialize the Categories for my application using
CategoryInitialize() and an AppInfoString. Everything works fine except
for one problem:

Item 0 of the AppInfoString (ie: the first string in the list) is not
added to the Category list. It seems to be ignored completely. 

I've tried many things to get the Item 0 to show up, but nothing has
worked. My Category code follows the ToDoDB.c code fairly closely. What
might I be doing wrong?
I'm using CodeWarrior 7, Constructor 1.6.1, PalmOS SDK 3.5, My target is
3.1 or later, my lib is (2i), I'm testing my code on the Emulator v3.5
on a PalmIIIc ROM. 

Thanks for your time. 


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