Search the web
Sign In
New User? Sign Up
palm-dev-forum
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 92400 - 92429 of 92429   Newest  |  < Newer  |  Older >  |  Oldest
Messages: Show Message Summaries   (Group by Topic) Sort by Date v  
#92429 From: "Lyris ListManager" <lyris@...>
Date: Mon Sep 1, 2003 7:50 am
Subject: Your Palm Developer Forum Account...
lyris@...
Send Email Send Email
 
Dear Palm Developer Forums Subscriber,

Your Developer Forum account has been placed on hold because your email
address has been bouncing email for several days.  This means you will no
longer receive email from the Developer Forum.

To resume your normal membership, send an email to lyris@...
with the command "unhold" in the body of the message.

You may wish to work with your mail server administrator to determine the
problem with your email account.

#92428 From: "Lyris ListManager" <lyris@...>
Date: Sat Aug 30, 2003 7:50 am
Subject: Your Palm Developer Forum Account...
lyris@...
Send Email Send Email
 
Dear Palm Developer Forums Subscriber,

Your Developer Forum account has been placed on hold because your email
address has been bouncing email for several days.  This means you will no
longer receive email from the Developer Forum.

To resume your normal membership, send an email to lyris@...
with the command "unhold" in the body of the message.

You may wish to work with your mail server administrator to determine the
problem with your email account.

#92427 From: "Matt Graham" <mgraham@...>
Date: Thu Aug 28, 2003 1:41 pm
Subject: Re: Memory leak
mgraham@...
Send Email Send Email
 
The emulator should tell you whether it's in LogLoadRecord() or
SetFieldTextFromStr().
If it's LogLoadRecord() try posting the entire function and make sure it's
not returning prematurely.
If it's leaking from the field, it would be harder to see w/o the whole
file.

Matt



"David Beers" <david@...> wrote in message
news:136435@palm-dev-forum...
>
> I've got a routine that builds a big ol' string by looping through a bunch
> of records and then loads it to a field as seen below.  Works great, but
> gives me a big ol' memory leak and I can't seem to see why.  I assign a
> chunk of non-moveable memory to logP using MemPtrNew, then I use
MemPtrFree
> to free it after I've copied the string to the field handle.  My POSE log
> shows that I have one memory leak with the contents being that big ol'
> string.  I'm wondering if maybe it's the field that's leaking the memory
> somehow.  It's in a modal form that I bring up using FrmPopupForm() and
> FrmReturnToForm().  Doesn't the system dispose of that memory, though?
>
> Here's the abridged version of my code, which hopefully captures what I'm
> doing wrong:
>
> static void LogLoadRecord(void)
> {
>     Char *logP;
>     ...
>     field = GetObjectPtr(LogField);
>     logP = (Char *)MemPtrNew(MAX_LOG_SIZE);
>     ...
>     // here I'm looping through a bunch of records and
>     // doing StrCopy and StrCat to build the string.
>     // POSE isn't logging any leaks of memory used here
>     // as far as I can tell.
>     ...
>     error = SetFieldTextFromStr(field, logP);
>     ...
>     MemPtrFree((MemPtr) logP); // <-- The string pointed
>     // to by logP is what is shown in the memory dump.
> }
>
> Here's the routine called for setting the field text.
> I use this all the time (but with error checking that
> I've left out for clarity):
>
> Err SetFieldTextFromStr(FieldPtr field, const Char *s)
> {
>     MemHandle      h;
>
>     h = FldGetTextHandle(field);
>     if (h) {
>        FldSetTextHandle(field, NULL);
>        err = MemHandleResize(h, StrLen(s) + 1);
>     } else {
>         h = MemHandleNew(StrLen(s) + 1);
>     }
>     StrCopy((Char *) MemHandleLock(h), s);
>     MemHandleUnlock(h);
>     FldSetTextHandle(field, h);
>     return errNone;
> }



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

#92426 From: "Lyris ListManager" <lyris@...>
Date: Thu Aug 28, 2003 10:55 pm
Subject: Your Palm Developer Forum Account...
lyris@...
Send Email Send Email
 
Dear Palm Developer Forums Subscriber,

Your Developer Forum account has been placed on hold because your email
address has been bouncing email for several days.  This means you will no
longer receive email from the Developer Forum.

To resume your normal membership, send an email to lyris@...
with the command "unhold" in the body of the message.

You may wish to work with your mail server administrator to determine the
problem with your email account.

#92425 From: "Viren" <drvirens@...>
Date: Thu Aug 28, 2003 10:47 pm
Subject: Re: Best Windows tool for developing applications for the PalmOS?
drvirens@...
Send Email Send Email
 
Hi ,

So we have all whos' who in this thread....George, Aaron, Ben...
Hmmmm :-)

> Isn't that yBasPad from Ron?  It is an interpreter that's already
been
> implemented entirely in a PNO, IIRC.

Ben, I wont pretend I know whats yBasPad or anything related to it.
Google is not helping me either. :-( Could you please elaborate more
on that front ?

TIA.

-Viren




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

#92424 From: "Viren" <drvirens@...>
Date: Thu Aug 28, 2003 9:25 pm
Subject: Re: Automated Testing
drvirens@...
Send Email Send Email
 
Luc Le Blanc,

> I have the same problem with a cave map and I figured this could be
> partly solved if I could first run POSE in recording mode, where pen
> events would be stored for future playback. This sequence of events
could
> then replace the random-generated Gremlin events every time the
same test
> needs to be perform on a new version. It would also be very
convenient to
> trap a hard-to-reproduce bug: once you've reached the crash, just
let the
> Gremlin minimizing process find the smallest error sequence and then
> debug your app. If you have spare time, POSE is open source...

Honestly speaking, I never knew that .... I never tried to look into
the source code of POSE....Maybe I was too scared of C/C++ which was
my first job in software industry. It being in palm did help me but
its only during last few months or so that I am feeling warmth of
these bits-and-bytes...My first profession is medicine and so it was
much difficult for me to get the hangs of things!! :-)

I will try doing what you have suggested and maybe ask my ex-boss to
read this thread...I am sure he will benefit tremendosuly if he could
use gremlins to create drag-events.

Thanks again for your answer.

-Viren


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

#92423 From: "Viren" <drvirens@...>
Date: Thu Aug 28, 2003 10:14 pm
Subject: Re: HotSync software
drvirens@...
Send Email Send Email
 
> We require our customers to have HotSync installed on their PC
before using
> our software.  Is there any way to obtain just HotSync instead of
the full
> Palm Desktop?  I'm trying to minimize the download time for our
customers.
>

Bare min , you will need HoSynch Mgr of Palm on PC. To do other data
transfer, write it on ur own over serial link if u dont wanna have
palm-desktop...:-P

-Viren


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

#92422 From: ThuNguyet Nguyen <thunguyetng@...>
Date: Thu Aug 28, 2003 10:09 pm
Subject: Re: Deleting files from Expansion card.
thunguyetng@...
Send Email Send Email
 
Hi,

>
> Anyone know how to delete files from the expansion card.
> Can it only be done programmatically???
>
You can do that using the VFS manager.
And this is the plus, Jeff Ishaq posts the link to the tutorial about VFS ...
http://homepage.ntlworld.com/john.r.wells/VFS_Tut.htm

HTH,

tnn

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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

#92421 From: "Paul Johnson" <paul@...>
Date: Thu Aug 28, 2003 8:27 pm
Subject: Re: www.Falch.net?
paul@...
Send Email Send Email
 
It's not just the website!

Regards,
Paul Johnson
www.applewoodhouse.com


----- Original Message -----
From: "kcorey" <www.palmos.com@...>
To: "Palm Developer Forum" <palm-dev-forum@...>
Sent: Thursday, August 28, 2003 9:56 PM
Subject: www.Falch.net?


> Has anyone else noticed the falch web site seems to be having
> difficulties?
>
> -Ken
>
>
> --
> 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/

#92420 From: Ron Nicholson <rhn@...>
Date: Thu Aug 28, 2003 8:32 pm
Subject: Re:Best Windows tool for developing applications for the PalmOS?
rhn@...
Send Email Send Email
 
On Thu, 28 Aug 2003 10:56:01, Ben Combee <bcombee@...>
writes:
  > At 05:12 AM 8/28/2003, Aaron Ardiri wrote:
  >>> You might want to add NS Basic/Palm to your list. It's been around
for 3
  >>> years, looks and feels a lot like VB, and fully supports Palm OS 5.
It is
  >>> also pleasantly less expensive than the others.
  >>
  >>now, in regards to support for OS5 - which ones transparently allow
  >>you to compile into native ARM code (PNO-lets) :P first basic
environment
  >>that allows you to do that will probably win the race.
  >
  > Isn't that yBasPad from Ron?  It is an interpreter that's already been
  > implemented entirely in a PNO, IIRC.

cbasPad5 <http://www.hotpaw.com/rhn/palm> is only a demonstration beta
of a Basic interpreter implemented completely inside a PNO(armlet).

It does prove an interesting point: that if you needed to use gcc -O4
and hand-coded 68k assembly language to get the performance you needed
on a Palm V, a simple Basic program might be able to run your code even
faster when interpreted natively on a modern ARM CPU based Palm OS 5
handheld.

For my use right now, CW v9 seems to be the most useful Windows-based
IDE for PalmOS development because it has both 68k and ARM compilers
integrated, and much better pno-let floating point performance than the
current gcc tools.  But I'd much prefer to use a Mac OS X IDE if there
were a supported one available.


Ron Nicholson
HotPaw Productions
     <http://www.hotpaw.com/rhn/palm>


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

#92419 From: kcorey <www.palmos.com@...>
Date: Thu Aug 28, 2003 9:17 pm
Subject: 5.0 R3 libraries available for GCC?
www.palmos.com@...
Send Email Send Email
 
Does anyone know if the 5.0 R3 SDK has been prepared for use with GCC
anywhere?

-Ken




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

#92418 From: munroel <munroel@...>
Date: Thu Aug 28, 2003 8:08 pm
Subject: Deleting files from Expansion card.
munroel@...
Send Email Send Email
 
Hey List

Anyone know how to delete files from the expansion card.  Can it only be done
programmatically???



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

#92417 From: kcorey <www.palmos.com@...>
Date: Thu Aug 28, 2003 8:56 pm
Subject: www.Falch.net?
www.palmos.com@...
Send Email Send Email
 
Has anyone else noticed the falch web site seems to be having
difficulties?

-Ken


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

#92416 From: Paul S <jowst2@...>
Date: Thu Aug 28, 2003 7:29 pm
Subject: Re: Best Windows tool for developing applications for the PalmOS?
jowst2@...
Send Email Send Email
 
Check out CASL at www.caslsoft.com

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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

#92415 From: "Jeff Biege" <jbiege@...>
Date: Thu Aug 28, 2003 5:00 pm
Subject: RE: Signature Capture
jbiege@...
Send Email Send Email
 
To: www.msale.net I  don't know if you got my email, but I really would
appreciate that code.

Thanks

Programmer
Point-Of-Activity
(Div. of Brown Enterprises)
jbiege@...




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

#92414 From: Steven Fisher <sdfisher@...>
Date: Thu Aug 28, 2003 6:15 pm
Subject: Creator IDs for suites
sdfisher@...
Send Email Send Email
 
What do I do if I have two or more applications sharing one database?
Should I use multiple creator codes?

How do I make sure that my conduit is called on Windows regardless of
what combination of applications is installed?

A giant "BAH!" to whoever designed the Windows HotSync to not call
conduits without corresponding Palm applications. :)

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

#92413 From: Ben Combee <bcombee@...>
Date: Thu Aug 28, 2003 5:47 pm
Subject: Re: Best Windows tool for developing applications for the PalmOS?
bcombee@...
Send Email Send Email
 
At 05:12 AM 8/28/2003, Aaron Ardiri wrote:
> > You might want to add NS Basic/Palm to your list. It's been around for 3
> > years, looks and feels a lot like VB, and fully supports Palm OS 5. It is
> > also pleasantly less expensive than the others.
>
>now, in regards to support for OS5 - which ones transparently allow
>you to compile into native ARM code (PNO-lets) :P first basic environment
>that allows you to do that will probably win the race.

Isn't that yBasPad from Ron?  It is an interpreter that's already been
implemented entirely in a PNO, IIRC.

--
Ben Combee <bcombee@...>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com


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

#92412 From: "Gregg Woodcock" <woodcock@...>
Date: Thu Aug 28, 2003 6:00 pm
Subject: frmUpdateEvent + slow row data access (large pdb) = intolerably slow screen updates...
woodcock@...
Send Email Send Email
 
I would like to do something smarter than just have the entire screen
redrawn every time an udpate needs to happen.  My screen is a table and each
row is an entry into a pdb which has potentially thousands and thousands of
records.  That means to access DmQueryRecord might take over a second for
each row.  I'd like to make sure that I'm only re-accessing my table data if
I need to.  I was thinking about a cache but it is possible that the rows
might change some of their values between updates.  So if I cache, I need to
make any updates to the DB also update the cache.  I jsut can't stand to
have the entire screen slowly redrawn (sometimes twice) every time I update
the state of 1 row!  This is a very generic problem that most anybody who
has a frame consisting of a table should understand.  I guess the crux of
the problem is that I'm not sure how to tell which rows are still the same
as they were at the last full screen draw.  If I store the PDB UID as table
data, I *still* don't know that that the row's UID (i.e. I can't check if it
is the same as the last time I drew) until I do a DmQuery by position (the
way I have it written now) which entails a slow DB access.  How can I setup
a cache-verify which does not involve at least 1 DB access?  How have you
all solved these issues?



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

#92411 From: Luc Le Blanc <lleblanc@...>
Date: Thu Aug 28, 2003 6:00 pm
Subject: Re: Automated Testing
lleblanc@...
Send Email Send Email
 
Viren a ιcrit :

> > Honestly, you will find errors using Pose long before you do on a
> physical
> > device.  Pose is designed to be harder to trick and since it uses
> an actual
> > device ROM, you know you are testing against the real thing.
> > I've found few exceptions as to where Pose doesn't behave exactly
> like a
> > Palm unit.
>
> I do agree with you over there...and I am not under-estimating the
> value of pose in palm-development. However, due to stringent QA rules
> in our company, it was made mandatory to do regression on the device
> before giving any intermediate/final release to clients. It was more
> due to the warning that palm folks have put on there site that before
> making any final release, device testing is a must.
>
> One thing that gremlin cannt do for you is to simulate pen-move
> events or other such non-UI-originated events....( atleast I am not
> aware of any such things! )...the product we were developing was all
> about vector map display and zooming,dragging it on palm...dragging
> the stuff via gremlin was impossible and hence the need of in-house
> tool that I talked about earlier.

I have the same problem with a cave map and I figured this could be
partly solved if I could first run POSE in recording mode, where pen
events would be stored for future playback. This sequence of events could
then replace the random-generated Gremlin events every time the same test
needs to be perform on a new version. It would also be very convenient to
trap a hard-to-reproduce bug: once you've reached the crash, just let the
Gremlin minimizing process find the smallest error sequence and then
debug your app. If you have spare time, POSE is open source...


--
Luc Le Blanc



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

#92410 From: "Aaron Ardiri" <maillist@...>
Date: Thu Aug 28, 2003 5:55 pm
Subject: Re: Best Windows tool for developing applications for the PalmOS?
maillist@...
Send Email Send Email
 
> Isn't that yBasPad from Ron?  It is an interpreter that's already been
> implemented entirely in a PNO, IIRC.

i was specifically talking about Basic -> native ARM (ie: no interpretor)

---
Aaron Ardiri                        aaron_ardiri@...
CEO - CTO                                           +46 70 656 1143
Mobile Wizardry                      http://www.mobilewizardry.com/


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

#92409 From: "George Henne" <gh@...>
Date: Thu Aug 28, 2003 5:35 pm
Subject: Re(2): Best Windows tool for developing applications for the PalmOS?
gh@...
Send Email Send Email
 
The trouble with benchmarks like this is that they can be very
misleading, and have little to do with the real world. Let me give a
couple of reasons:

1. You can always write a very fast app if you keep all variables in
Dynamic Store. This works fine in a test, with a limited number of
variables. For a sophisticated app, the Dynamic Store is never large
enough, so the much slower regular store has to be used. If you're
working in something like C, the complexities of deciding where each
variable should best reside can be handled by the programmer. For NS
Basic, we didn't want to have programmers worrying about such stuff, so
NS Basic manages it. There is definite overhead to this convenience, but
it sure saves a lot of development time.

2. Use of the Palm object APIs: Palm has a very nice, efficient set of
form and object API functions. Programs that make full use of them (like
NS Basic) will be pretty quick at displaying and updating forms, which is
arguably more of a factor in most Palm apps than calculating perfect
numbers. Once again, NS Basic concentrates on making it easy to use the
Palm object API's.

The speed of NS Basic is pretty good for most apps. On the new Palm OS 5
devices, we've seen elapsed time for incrementing a value 20,000 times
take just 8 seconds. It's rare that that kind of heavy processing is
needed in normal apps.

When you do need more speed, you can write a standard Palm OS shared
library using C (and even put in line assembler code) which is easily
called from with NS Basic.

A benchmark like this needs to be taken in context of the total project:
- How much of the job is CPU bound?
- What long will it take to develop your app?
- How good is the look and feel of the resulting project?
- How compatible will it be with various Palm OS devices?
- How is the support?
- How easy is it to deploy?
- How long has the tools vendor been around - is he likely to be there
for the full life cycle of your product?

We will continue to improve straight line performance of NS Basic, but
all these other things are very important to us.

George Henne
NS BASIC Corporation
http://www.nsbasic.com

>I have dowloaded NSBasic a few hours ago, the product look nice, but too
>slow and  the function library is poor.
>I run BenchMark2 algorithm , for the differents tools, here are the results
>:
>
>CodeWarrior : 18.77 seconds (impressive!)
>HB++ : 19.46 seconds
>Falch.net / GCC : 20.41 seconds
>....
>.....
>Satellite Forms : 674.57 seconds
>NSBasic : 1281.86 seconds
>....
>
>Note that I test only HB++ and NSBasic, other results come from
>http://www.aldweb.com/articles.php?lng=fr&pg=24
>
>My own results are :
>
>HB++ : 19.46 seconds
>NSBasic : 1320.65 seconds
>
>On the same Clie, of course.
>
>And I need table (Grid in HB++). I don't understand why NSbasic, Sat Forms
>and some other tools do not propose the Table object. I think that the List
>is not design for loading lot of records.
>As Lancelot say, in most app, sometime, I need to :
>
>> create a view of a database that has many (10000) records
>> without having to load them all (like we do in C with a table).
>
>> With a table, you can access the 10 records you're going to display,
>> and you're ready to display so it's faster and requires less memory
>
>> I would also like to do custom draw on the viewed items, allowing the
>> app to format the displayed text, create fake columns, etc
>
>I manage to do it with CodeWarrior (a little bit long and complex for me,
>because there is some problems in the Palm OS SDK with the Table, I think,
>not in CW), and more more easily with HB++ .
>HB provide a cool sample, VFSExplorer,  that allow to change the table
>(Grid) control into a Treeview control, as in the MS file explorer : It's
>exactly the same syntax as in Visual Basic !
>
>As I just try the new NSBasic version for a couple of hours, perhaps I miss
>something ?
>Any advice ?
>
>
>Colmerauer
>
>Note : If someone here have found some bugs on HB++, please tell me. All
>informations are welcome!
>colmerauer2003@...
>
>
>
>--
>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/

#92408 From: "Jamie Macleod" <bubamacleod@...>
Date: Thu Aug 28, 2003 4:43 pm
Subject: Re: Re(2): Best Windows tool for developing applications for the PalmOS?
bubamacleod@...
Send Email Send Email
 
You don't need to load a database into a table.  The databases are already in
memory.  You could create a table control the same way you do it in C, by just
pointing to records in the database.
> This is something more complex that NS Basic provides. We expose most of
> the controls in the Palm OS API, but  you're looking for a data-aware
> table control, something that isn't built into the Palm OS.
>
> Palm devices do not have enough memory to load an entire datebase into a
> table at once, so each time your table showed a new view of the data, it
> would have to go to the underlying database to get the next set of
> records. With NS Basic supporting Palm Database's ability to be
> completely free format, there is no practical way to make this automatic,
> without being complex and restrictive. We try hard to avoid being either
> of these.
>
>
>
> George Henne
> NS BASIC Corporation
> http://www.nsbasic.com
>
> >On Thu, 28 Aug 2003 05:22:32 -0400, "George Henne" <gh@...>
> >wrote:
> >
> >>
> >>You might want to add NS Basic/Palm to your list. It's been around for 3
> >>years, looks and feels a lot like VB, and fully supports Palm OS 5. It is
> >>also pleasantly less expensive than the others.
> >
> >Hi
> >I downloaded the NSBasic trial. It looks nice & easy to use and
> >although I usually work in C, I was thinking of using it for quick
> >prototyping.
> >
> >However I have not found any table-like control. Listbox, yes, but no
> >table. Did I miss something?
> >
> >I would like to create a view of a database that has many (10000)
> >records without having to load them all (like we do in C with a
> >table).
> >
> >A listbox requires you to call the add method for all the records even
> >though you will only be displaying about 10 at a time.
> >
> >With a table, you can access the 10 records you're going to display,
> >and you're ready to display so it's faster and requires less memory
> >
> >I would also like to do custom draw on the viewed items, allowing the
> >app to format the displayed text, create fake columns, etc
> >
> >Can that be done with NSBasic?
> >
> >Thanks
> >Olivier Lancelot
> >
> >--
> >For information on using the Palm Developer Forums, or to unsubscribe,
> >please see http://www.palmos.com/dev/support/forums/
> >

--
Composed with Newz Crawler 1.5 http://www.newzcrawler.com/

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

#92407 From: kcorey <www.palmos.com@...>
Date: Thu Aug 28, 2003 5:22 pm
Subject: Re: low-density bitmap on High-density screen?
www.palmos.com@...
Send Email Send Email
 
*sigh*

Perhaps I should learn to check my .rcp file before posting.

The image in question is defined like this:

BITMAPFAMILYEX ID famPaused
COMPRESS
BEGIN
     BITMAP "im/paused.bmp" BPP 1
     BITMAP "im/paused.bmp" BPP 2 DENSITY 1
     BITMAP "im/paused.bmp" BPP 4 DENSITY 1
     BITMAP "im/paused.bmp" BPP 8 DENSITY 1
     BITMAP "im/paused.bmp" BPP 8 DENSITY 2
     BITMAP "im/paused.bmp" BPP 16 DENSITY 1
END

So obviously, it's not going to scale the image because there's one
right there claiming to be the right size (in addition to taking up lots
of extra space). A legacy from when I was first playing with high
density.  Ugh.

I feel like Emily Latella (for those of you old enough to remember),
"What's this I hear about Eagle's Rights? That's horrible, that
shouldn't be allowed...oh...it's 'Equal Rights'?  Oh...nevermind..."

-Ken

On Thu, 2003-08-28 at 14:57, kcorey wrote:
> I'm trying to draw a low-res bitmap on a high-res display in bit-doubled
> format.
>
> I am successfully creating and accessing a high density screen just fine
> in my program.
>
> Then I want to draw a low-density bitmap on that high density screen.
> So, I call:
>
> WinSetCoordinateSystem(kCoordinatesStandard);
> WinDrawBitmap(bitmap,x,y);
> WinSetCoordinateSystem(kCoordinatesNative);
>
> Strangely, the coordinates at which the bitmap is drawn are doubled as
> I'd hoped...but the bitmap itself is not bit doubled.
>
> Lessee if my ASCII art can explain:
>
> On Low-Density devices, there are 4 bitmaps, a,b,c,d.  The bitmaps are
> placed like this:
> AABBCCCCCC
>    DDDD
>    DDDD
>    DDDD
>
> There are no gaps between the images.
>
> On High-Density devices, the bitmaps look like this:
> AA  BB  CCCCCC
>
>       DDDD
>       DDDD
>       DDDD
>
> Hrm...that's not terribly explanatory...but there are gaps between each
> of the graphics, so the coordinates are being doubled, but the bits
> aren't.
>
> On High-Density devices, the bitmaps *should* look like this if they're
> bit doubled:
> AAAABBBBCCCCCCCCCCCC
> AAAABBBBCCCCCCCCCCCC
>       DDDDDDDD
>       DDDDDDDD
>       DDDDDDDD
>       DDDDDDDD
>       DDDDDDDD
>       DDDDDDDD
>
> Can anyone point at the (probably obvious) solution?  I've been to the
> KB, and through the docs, and no answer jumps out at me.
>
> -Ken
>


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

#92406 From: "Carl" <csmith1a@...>
Date: Thu Aug 28, 2003 4:35 pm
Subject: App will not launch under OS5 and Preferences Panel
csmith1a@...
Send Email Send Email
 
I have an application that I had set up as 'panl'. It launches find for all
OS version <5.0.
I see it in the Pereferences 'Other' area, on my Tungsten 'C' but when I tap
on it, the screen just flashes and it will not launch.

Any suggestions?

Thanks
Carl



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

#92405 From: ThuNguyet Nguyen <thunguyetng@...>
Date: Thu Aug 28, 2003 4:15 pm
Subject: RE: Draw custom form title?
thunguyetng@...
Send Email Send Email
 
Yes, thank you for telling me. I forgot about that.

tnn

From: LionScribe (view other messages by this author)
Date: Thu, 28 Aug 2003 09:12:20

--------------------------------------------------------------------------------

You cannot use mixed fonts that way
LionScribe



__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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

#92404 From: "LionScribe" <vze4xx92@...>
Date: Thu Aug 28, 2003 4:11 pm
Subject: RE: Draw custom form title?
vze4xx92@...
Send Email Send Email
 
You cannot use mixed fonts that way
LionScribe

-----Original Message-----
From: bounce-palm-dev-forum-67806@...
[mailto:bounce-palm-dev-forum-67806@...]On Behalf Of ThuNguyet
Nguyen
Sent: Thursday, August 28, 2003 12:05 PM
To: Palm Developer Forum
Subject: RE: Draw custom form title?


Hi,

You can use FrmSetTitle(). It overwrite the old title, so if it is shorter,
the old one still
shows. I have to fill it with space before I put the new title in,

HTH,
tnn

Subject: Draw custom form title?


Hi,


How can I draw a custom form title? I want to draw part of the title with
characters from the standard font and another part with glyphs from the
symbol 11 font. Is this possible?


Thanks
-Laurens




__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

--
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/

#92403 From: ThuNguyet Nguyen <thunguyetng@...>
Date: Thu Aug 28, 2003 4:05 pm
Subject: RE: Draw custom form title?
thunguyetng@...
Send Email Send Email
 
Hi,

You can use FrmSetTitle(). It overwrite the old title, so if it is shorter, the
old one still
shows. I have to fill it with space before I put the new title in,

HTH,
tnn

Subject: Draw custom form title?


Hi,


How can I draw a custom form title? I want to draw part of the title with
characters from the standard font and another part with glyphs from the
symbol 11 font. Is this possible?


Thanks
-Laurens




__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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

#92402 From: "LionScribe" <vze4xx92@...>
Date: Thu Aug 28, 2003 3:50 pm
Subject: RE: Draw custom form title?
vze4xx92@...
Send Email Send Email
 
I think you can only do it manually, using WinDrawChars() upon the title
area.
LionScribe

-----Original Message-----
From: bounce-palm-dev-forum-67806@...
[mailto:bounce-palm-dev-forum-67806@...]On Behalf Of L.M.
Fridael
Sent: Thursday, August 28, 2003 6:49 AM
To: Palm Developer Forum
Subject: Draw custom form title?


Hi,


How can I draw a custom form title? I want to draw part of the title with
characters from the standard font and another part with glyphs from the
symbol 11 font. Is this possible?


Thanks
-Laurens



--
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/

#92401 From: <colmerauer2003@...>
Date: Thu Aug 28, 2003 3:30 pm
Subject: Re: Best Windows tool for developing applications for the PalmOS?
colmerauer2003@...
Send Email Send Email
 
Hi Aaron,
Anyway, as I said, I just test NSBasic and HB++, so I can't tell you about
compile options .
But I have the same meaning. I was thinking that GCC will be a little bit
better than CW.
But you see, the algorythm ? I don't know wich code optimizer (CW or GCC)
will do the best job for this.
One time, I will dissas...OOops, forbidden??!!
Thanks for the ARM-Let precision.
Colmerauer

"Aaron Ardiri" <maillist@...> wrote in message
news:136642@palm-dev-forum...
>
> > I run BenchMark2 algorithm , for the differents tools, here are the
results
> >
> > CodeWarrior : 18.77 seconds (impressive!)
> > HB++ : 19.46 seconds
> > Falch.net / GCC : 20.41 seconds
>
> i am sure the gcc can get faster - you just need to pass the right
> parameters for compilation :) ie: are you putting any optimization
> in there at all?
>
> also depends which gcc :)
>
> ---
> Aaron Ardiri                        aaron_ardiri@...
> CEO - CTO                                           +46 70 656 1143
> Mobile Wizardry                      http://www.mobilewizardry.com/
>
>
>



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

#92400 From: "LionScribe" <vze4xx92@...>
Date: Thu Aug 28, 2003 3:28 pm
Subject: RE: Which is the 'Power off Palm' event Type?
vze4xx92@...
Send Email Send Email
 
If you are referring to the User pressing the PowerOff-On key, then you can
intercept the key-down event in the application loop.
You can do this by adding
if (e.eType == keyDownEvent)
	 if (FrmDispatchEvent(&e))
		 continue;
before the line
	 if (!SysHandleEvent(&e))
in your event handle loop. Then handle the event in your formEventHandler.
Otherwise on systems where the Notification Feature Set is present, you can
use the notification process

LionScribe

-----Original Message-----
From: bounce-palm-dev-forum-67806@...
[mailto:bounce-palm-dev-forum-67806@...]On Behalf Of Giorgos
Sarris
Sent: Thursday, August 28, 2003 9:07 AM
To: Palm Developer Forum
Subject: Which is the 'Power off Palm' event Type?


Hi to all,

I have CW9 and C++.
I have made a game and 2 cases in order to pause and
un-pause my game.

case winExitEvent:
if (event.data.winExit.exitWindow == (WinHandle)
FrmGetFormPtr(PistaForm))
//Bla bla bla
break;

case winEnterEvent:
if (event.data.winEnter.enterWindow == (WinHandle)
//Bla bla bla
break;

But want also my game to be paused when a user tries
to powers off his palm and then power it on again.

What case should I use in my
static void AppEventLoop(void) ???

Thanks
Giorgos

____________________________________________________________
Do You Yahoo!?
Αποκτήστε τη δωρεάν @yahoo.gr διεύθυνση σας στο http://www.otenet.gr

--
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/

Messages 92400 - 92429 of 92429   Newest  |  < Newer  |  Older >  |  Oldest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help