Installed the IBM Java VM with the Golf MIDlet sample, the following code
failed to launcher the MIDlet programmatically (returns a Launch Error):
UInt16 card_no = 0;
LocalID db_id = 0;
DmSearchStateType search_state;
Err err = DmGetNextDatabaseByTypeCreator(true, search_state, 'JMid', 'j9pa',
The tricky part is the system launcher can launch the MIDlet properly.
In the Filez apps list, there is J9 Java Launcher (type:appl creator:j9pa
attr:hidden). Maybe the system launcher 'knows' how to pass the Golf MIDlet to
the J9 Java Launcher, or the J9 Java Launcher monitors SysUIAppSwitch
Tried the code in knowledge base article: How do I programatically open a
preferences panel?
static void MainGotoPanel( ULong creator )
{
LocalID theDBID;
UInt theCardNo;
DmSearchStateType theSearchState;
// Grab the id of the panel we want to launch
Found it:
colP
not coIP, should use copy paste next time ;-)
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
Tried yesterday, but not successful...
BitmapPtr icon_bmp = WinGetBitmap(icon_win); // from an offscreen
UInt32 bmp_data_size = 0;
UInt32 bmp_head_size = 0;
BmpGetSizes(icon_bmp, bmp_data_size, bmp_head_size);
UInt8 bmp_version = BmpGetVersion(icon_bmp);
void *temp_ptr = NULL;
err =
I need to access images (jpeg, gif) fast. So the first thing in mind is
WinCreateOffscreenWindow and store the WinDrawBitmap result after
PalmPhotoOpenImageV2 the image files.
The problem is how can I store a bitmap efficiently? Any chance I can FtrPtrNew
some memory and store what is returned
I used to PrefSetPreference(prefLauncherAppCreator, myid) to replace the
default launcher with my own.
It works well until some Treo 680 and 700p users reporting hitting the Home
button does not invoke my app anymore.
Since I don't have a real 680 or 700p (yet), I test my app on the 680 and
Thanks, Michael.
I followed the FotoFinish sample and was able to get an image name by
PalmPhotoSelectDlg().
However, the PalmPhotoSelectionParam.albumID does not work quite as I expected.
Initialized it with PALM_PHOTO_ALBUM_ALL_VFS still shows all phone in the Treo
main memory. Should it
After WinPaint a bitmap on a form background, subsequent calls to
SclSetScrollBar will erase the form background and leave a white rectangle
around the scrollbar.
Is there is way to do transparent scrollbar? i.e.:
- only black pixels of the scrollbar are drawn
- the white pixels become
In Treo's Calendar, there is an Agenda view.
1 In Display Options of the view, there is an Select Picture dialog which
comes with preview feature. Is there a way to call this dialog and return the
name of the picture selected?
2 After the picture is selected, back to Display Options dialog,
Is there any API available for MP3 playback? Or it there a 3rd party lib
available?
Thanks
horace
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
When I (re)test my app on a T3 simulator, the T3 simulator
hangs up when my app exits.
Then I run the app again in debug mode, the error occurs
at SysAppExit (in StartupCode.c, not my app).
Is there hint to debug this problem of why the error occurs
in the T3 simulator _only_?
The problem does
The error in debug-mode simulator is:
systemmgr.c Line 3996, Minor error while existing app: un-freed chunk at
0x00F044D8, size 40 (ownerID 2)
Where should I pay attention to?
Thanks
horace
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
That, I already checked as there are 'only' 4 MemPtrNew's in my app.
Besides, nothing I allocate is the size (40) reported in the debug message.
Thanks
horace
Caspar Heiden, vd [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
There's a chunk of memory that you allocated, most likely
Both sysNotifyInputAreaDrawingEvent and sysNotifyInputAreaPendownEvent
are defined in NotifyMgr.h
Are these two events broadcast in T|3 (simulator)?
(I can receive sysNotifyDisplayResizedEvent correctly.)
Thanks
horace
--
For information on using the Palm Developer Forums, or to
Assumed you have logged on, this page url is:
http://www.palmos.com/alliance/resources.cgi/devseed/
horace
Paul Tidwell [EMAIL PROTECTED] wrote in message
news:108836@palm-dev-forum...
Jeff,
Thanks for your quick reply... I have spend the last 30 minutes searching
the pavilion website for a
The MemPtrNew() documentation:
Applications can use it when allocating dynamic memory. Note that
chunks range in size from 1 byte to slightly less than 64KB;
you cannot allocate a single chunk larger than this.
In Palm OS 3.5, the dynamic heap is sized based on the amount of
memory available,
Thanks Aaron,
Your MemPtrNew_large() and MemPtrFree_large() routines work great!
horace
Aaron Ardiri [EMAIL PROTECTED]
???:[EMAIL PROTECTED]
http://mobilewizardry.com/board/viewtopic.php?t=12
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
Both _large routines works well under OS5 (mine is a T|T).
horace
Aaron Ardiri [EMAIL PROTECTED] ¼¶¼g©ó¶l¥ó·s»D
:[EMAIL PROTECTED]
not sure, never tried it on OS 5 device - the demo was specific to
palmos 4.0 (m505), but, maybe horace can give us a report on OS5
compatibility :)
--
For
I am not sure whether the ID is appropriate (I just follow Aaron's code ;-)
How to check? I walked through the code via the debugger. Now I can
allocate memory size of bigger than 64K is a fact.
horace
Aaron's code:
void *MemPtrNewLarge(Int32 size)
{
if (size 65500) // the max MemPtrNew will
. Chunk owner IDs for applications are usually
in the range 2-15, with 2 being what application's usually get.
Check to see how the value you are getting compares to that information.
-- Keith
-Original Message-
From: Horace Ho [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 10, 2003 10:42
Check the Save behind property of the form resource.
horace
jason [EMAIL PROTECTED] wrote in message news:107948@palm-dev-forum...
hello :
i had a trouble on frmcloseevent. when i close a form using
frmeraseform() , there is a error happened. on simulator it told me that i
just read
Is your code GPL'ed? In such case, a commercial developer is not
supposed to 'look' into it, right?
horace
[EMAIL PROTECTED] wrote in message news:108054@palm-dev-forum...
Hi!
You might want to download my Razor! framework from
www.tilo-christ.de/razor and look at the implementation of
Till now I do not understand the GPL (or LGPL) well ;-)
For LGPL, using Razar! as an example, do I need to disclose
my source code if I look at Razor!'s (L) code (i.e. more than
just linking with it, I read the source and learn from it)?
That's why I always the BSD license (if I am really
FileInfoType, the 3rd parameter passed to VFSDirEntryEnumerate()
[EMAIL PROTECTED] wrote in message news:108062@palm-dev-forum...
How do you seperate the directory, name, and extension from a file name
returned from VFSDirEntryEnumerate()?
--
For information on using the Palm Developer
There are two options in my image program:
1. Direct writing to screen memory of:
WinGetDisplayWindow
WinGetBitmap
BmpGetBits
(write to bits)
2. Create a offscreen buffer and then copy:
BmpRsrcV3Create
BmpRsrcGetBits
(write to bits)
WinPaintBitmap
BmpRsrcDelete
Option 2 is
Calling BmpRsrcV3Create with pixelSize as 16, does
pixelFormat565 means storing the R, G, B values in
a 16-bit word with 5, 6, 5 bits respectively?
Is there a good way to convert a 24-bit RGB color
to 16-bit?
Thanks
horace
--
For information on using the Palm Developer Forums, or to
CW9, Simulator 5.1.0.28 comes with a 4MBRAMDISK.
Does this ramdisk map to a local disk folder?
Thanks
horace
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
The issues only concerns the linker. Constructor works with any combination.
1) My old project resource in CW8, linked without problem:
xyz.rsrc (4k) in source folder
xyz.rscr (120k) in hidden RESOURCE.FRK folder inside the source folder
note: the 120k files is the _real_ file that
Thanks Ben.
PilRC does not auto-map the bitmap's palette when the original bitmap:
BITMAPFAMILYEX ID 1234
COMPRESS
BEGIN
BITMAP icon-lg-8-d144.bmp BPP 8 DENSITY 1
END
is changed to:
BITMAPFAMILYEX ID 1234
COMPRESS
BEGIN
BITMAP icon-lg-8-d144.bmp BPP 8 DENSITY 1 COLORTABLE
END
Ben Combee
Converted a previous CW8 project automatically into CW9.
CW9 compiles and link without any error.
However, when I load the .prc in the Simulator/Emulator,
the 256 icon is not shown, only the bw one is shown.
Then I just ran the app. Crashed.
Later I found that the .prc file size is
The problem is solved.
When I tried to create an empty CW9 (as I have no
problem of building new project from CW9 so far)
and migrate my code and resource to the empty
project, I found the zero byte .rsrc is 4k is size!
Constructor opens the proper .rsrc file in the hidden
Resource.frk folder.
I have been complaining the border for years. Palm once reply
it is hardware issue and the border makes color apps looking
nicer (imagine black text merging right into the boarder).
Yes, for 95% (or even 98% ;-) of applications, it sounds ok.
There are some apps out there _really_ wants the board
I am disappointed to report that PilRC also auto-adjust
the palette of a 256-color bitmap. (I hope I am wrong.)
When I did:
1. Create a 256-color bitmap based on the Palm default palette.
2. Change the RGB values of several palette entries in the
reserve range (index 231 to 234).
3.
Maybe your email is:
[EMAIL PROTECTED]
instead of: [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote in message
news:106944@palm-dev-forum...
I know the procedure. The problem is Unscribe does not take my email
address. Below is the response I received. I am sure I entered the
correct email
Does PilRC Designer preserve the palette of a bitmap?
When a 8bpp bitmap is created, the preview does not
show custom palette colors. I don't mind (at the moment ;-)
Designer not previewing the colors correctly. The
question is where it will auto-color-map to the Palm
system palette? (I hope
It happens I am the author of such a product... ;-)
www.palmgadget.com
[EMAIL PROTECTED] ¼¶¼g©ó¶l¥ó·s»D:[EMAIL PROTECTED]
Hi,
can anybody give me the code to make a keyboard replacement?
I think of a complete example using SysNotifyRegister and
SysNotifyKeyboardDialogEvent. But only with a
Can I assume the total number of unused palette entries is 25?
When I try to select black in the Constructor, it always choose
_the_ black next to the last cyan. Does it suggest that is the
last entry being used in the default palette?
Thanks
horace
--
For information on using the Palm
Thanks Aaron.
I do not need a lot of entries (probably 20 will be enough) and
I want to preserve consistency. Consistency means another
popup program can have its color un-altered while I am using
some of the unused entries beneath it.
Regarding the bitmap itself. If it is keep in the
I am still waiting for my CWR9 shipment. Time for a little break now.
BTW, I manage to add a few RGB entries to the PhotoShop
palette table, right in the 'unused' portion of the Palm palette.
The new question is, is there a way to paste a 256 color bitmap
in Construtor as it, i.e. don't
Try to download the FiveWaySDK.zip from Development Seeding Area...
horace
Henry Young [EMAIL PROTECTED] ¼¶¼g©ó¶l¥ó·s»D:[EMAIL PROTECTED]
I am writing a map software and want to use Tungsten's 5-way button to
navigate on the map.
But what is the key code of them? And how to distinguish them
.. and to yourself ^_^ Merry Christmas!
Agus Silas [EMAIL PROTECTED] ¼¶¼g©ó¶l¥ó·s»D
:[EMAIL PROTECTED]
Merry merry Christmas to all of you,
Cordialement,
Agus Silas
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
You may check out one of the CW samples (e.g. SubHunt).
Amit Solanki [EMAIL PROTECTED] ¼¶¼g©ó¶l¥ó·s»D:[EMAIL PROTECTED]
Hi all,
In my application I want to do specific tasks on pressing 6 Hard
Keys of the palm without launching default applications (addressbook,
memopad, todo list etc.).
Say
Please check out the Palm OS Power Modes section in the
Palm OS Companion.pdf (page 349).
Regards
horace
Daniel Seifert [EMAIL PROTECTED] wrote in message
news:106268@palm-dev-forum...
Hi,
I'm looking at sysNotifyIdleTimeEvent (a notification that PalmSO 5
sends out when the system is idle and
See if this helps: http://oasis.palm.com/dev/kb/papers/1469.cfm
horace
Chris APERS [EMAIL PROTECTED] wrote in message
news:106302@palm-dev-forum...
Hi,
First thanks to all of you who help me these past days.
Now, I have a big problem when i try to compile a new version of my program,
i added
When T|T is powered off, tapping the Fiveway button
will pop up World Clock, stay on a while and power off.
How does World Clock 'know' the Fiveway button is tapped?
Thanks
horace
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
Some users (e.g. me) still prefer the Constructor editing UI.
Unless there is a way to export Constructor .rscr to a plain
text format... sigh.
This bug was reported quite a while ago:
http://groups.yahoo.com/group/palm-dev-forum/message/47170
Thanks
horace
"Aaron Ardiri" [EMAIL PROTECTED]
Maybe you can try to Save as.. you image
as 24-bit color in Paint before doing
the copy and paste.
Regards
horace
"Thomas E. Bridgman" [EMAIL PROTECTED] wrote in message
news:45398@palm-dev-forum...
To clarify, the issue is just getting an external grayscale bitmap into
Constructor. I can
I suggest to include Ben's 5 points in the Developer's FAQ ;-)
"Ben Combee" [EMAIL PROTECTED] wrote in message
news:44795@palm-dev-forum...
The flaming only occasionally pops up... this group has an interesting
psychology which tolerates some questions, but gets really irritated by
a few
Project Settings - C/C++ Language - Prefix File field
either remove the .h file or create one.
Regards
horace
"Matt Becker" [EMAIL PROTECTED] wrote in message
news:44804@palm-dev-forum...
Hello,
I am in the process of migrating my 3.1 app from CW lite to a 3.5 app on
CW R7. Ive pretty
Now I am up to something, the story:
in the .h file defined in the Prefix file field, I define a line:
#define XYZ 1
when I run preprocess on a .c file which contains a code segment:
if (XYZ 0) {
// ...
}
the preprocessed result is:
if (1 0) {
}
So far so good. The *problem* is: when
t;Ben Combee" [EMAIL PROTECTED] wrote in message
news:44079@palm-dev-forum...
"Horace Ho" [EMAIL PROTECTED] wrote in message
news:44066@palm-dev-forum...
BTW, how can I do a Preprocess with CW?
Right click on the file name in the project window and choose
"Preprocess".
-
try to do is to do a Preprocess and look at
the
preprocessor output. Perhaps from there you can see where it is being
defined/redefined and get an idea of what your source is pulling in.
-- jkl
- Original Message -----
From: "Horace Ho" [EMAIL PROTECTED]
Newsgroups: palm-dev-forum
f the .h file is
entered in
the Prefix File field.
When I type some garbage in the .h file, the compiler complains the error.
Thanks
horace
"Jim Schram" [EMAIL PROTECTED] wrote in message
news:43663@palm-dev-forum...
At 10:33 AM -0800 3/27/01, Horace Ho wrote:
Code Warrior 4.1.
Code Warrior 4.1.0.2 build 0646
Added a #define XYZ in a .h file to the "Prefix File" field, under
C/C++ Language in project settings.
However, codes between the:
#ifdef XYZ
// ... codes here
#endif
section in the .c source file are ignored.
If I added the #define XYZ to the .c source file,
There is a cmdide.exe program, try:
cmdide /?
Regards
horace
"Kamran Kundi" [EMAIL PROTECTED] wrote in message
news:43659@palm-dev-forum...
Hi,
I am doing development for Plam OS using Code Warrior Release 6 for Windows.
I would like to make the release method for my projects command line
AM -0800 3/27/01, Horace Ho wrote:
Code Warrior 4.1.0.2 build 0646
Added a #define XYZ in a .h file to the "Prefix File" field, under
C/C++ Language in project settings.
However, codes between the:
#ifdef XYZ
// ... codes here
#endif
section in the .c source file are ignored.
If I a
No, M500 and M505 use Dragonball VZ . See:
http://www.palm.com/support/m500/m500_faq.html
Regards
horace
"Ralph Krausse" [EMAIL PROTECTED] wrote in message
news:43673@palm-dev-forum...
I thought I heard that the new m500 and m505 from Palm would use
the ARM processer. Are they? I can't find
I've been using same ID for a bitmap and a bitmap family for a while
without problem. The .rscr file may be corrupted by something else.
Regards
horace
"Shannon Lowery" [EMAIL PROTECTED] wrote in message
news:41629@palm-dev-forum...
Hi all-
I'm using CW7.0, which for my install, includes IDE
Getting Started:
http://palmos.com/dev/gettingstarted.html
"Likhate, Ketan" [EMAIL PROTECTED] wrote in message
news:39430@palm-dev-forum...
Hi all,
I am a new user of a Palm OS . What all setup is required for developing
Palm OS applications?. Pls. help.
Thanking you in advance.
Ketan
Just chatted with a friend about my old Apple II
and those days of build custom EPROM...
Now we have flash ROM and ROM image which should
make similar patch easier.
Does anyone have info of how to get around the
checksum issue after modifying the ROM image?
Thanks
horace
--
For information
Link Error : main.c: '__wswtch__' referenced from 'MyFormDoCommand' is
undefined.
Build of target "My Proj" in project "MyTest.mcp" failed because a subtarget
or subproject build failed
Any clue about the link error? It pops up when I try to add one more case
block to the form menu handling
in message
news:38413@palm-dev-forum...
"Horace Ho" [EMAIL PROTECTED] wrote in message
news:38394@palm-dev-forum...
Link Error : main.c: '__wswtch__' referenced from 'MyFormDoCommand' is
undefined.
Build of target "My Proj" in project "MyTest.mcp" failed beca
What is the meaning of SysEventType.eType 26
after an EvtGetEvent() call?
Thanks
horace
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
Andreas,
It is great to know you are open to name suggestions.
I've been testing X-Master for a while any found it
very robust.
The only two very minor complains are the name itself
and the two icons (Info and Config) ;-)
I'll try to come up with two icons and email to you.
For name,
Try:
WinPushDrawState();
back_color = WinSetBackColor(WinGetPixel(x, y));
...
back_color = WinSetBackColor(back_color);
WinPopDrawState();
the coor is anywhere on the background bitmap.
Regards
horace
"Mike Walters" [EMAIL PROTECTED] wrote in message
news:37620@palm-dev-forum...
Please follow the "Palm OS 4.0 Tools" link on:
http://www.palmos.com/dev/
Regards
horace
"Oscar" [EMAIL PROTECTED] wrote in message
news:37601@palm-dev-forum...
Dear all,
Where can I download SDK 4.0 and its documentation? If I using SDK 4.0 for
development, can the program still run on
What's the possible cause of this error?
-- CodeWarrior Plugin Error
PalmRez Post Linker caused exception 0xc0005. Please terminate the IDE
report the problem.
-- [Exception detail, Close IDE]
IDE caused an invalid page fault in
module PALMREZPOSTLINKER.DLL at 0197:0295ae30.
Registers:
Oh! Sorry. I didn't realize Bob works for Palm Computing.
Thanks all. Time to end this thread and hope that the next
color Palm device will make the border as an option.
Thanks
horace
Could someone from Palm Computing give us some hints? Is it possible
to turn off those two lines of
TECTED]
Cc: Palm Developer Forum [EMAIL PROTECTED]
Sent: 2000 Mar 23 Thu 07:42am
Subject: Re: Get rid of IIIc white border
At 5:41 AM +0100 23-03-00, Horace Ho wrote:
If I WinSetBackColor to black and WinEraseRectangle 160x160,
the main screen is black but surrounded by a white border.
How can
If I WinSetBackColor to black and WinEraseRectangle 160x160,
the main screen is black but surrounded by a white border.
How can I get rid of the white border?
Thanks
horace
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
You may check http://32768.com/bill/palmos/cspotrun/index.html to see
how CSpotRun does that.
Regards
horace
- Original Message -
Hello,
how could i display text at differnt angles on palm?
Usually one could specify oreientation with fonts, but palm does not
support that.
Is
You'd also #include PalmOS.h instead of Pilot.h
Regards
horace
- Original Message -
From: Richard Burmeister [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Sent: 2000 Mar 20 Mon 04:20pm
Subject: Re: Converting to 3.5 data types
From: [EMAIL PROTECTED]
Did you forget
The keyword is 'large'. It really takes a while for the
Constructor to save large bitmaps. Wait 2 to 5 minutes
to see if the problem is gone... z zz zzz
- Original Message -
From: Paul A. Dugas [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Sent: 2000 Mar 20 Mon 06:52pm
How can I tell which OS version I have on a Palm device?
http://oasis.palm.com/devzone/knowledgebasearticle.cfm?article_id=1100
Regards
horace
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html
What tools are available for getting a ROM image from a Palm device?
There is a ROM Transfer.prc program inside the Emulator which
you can download here: http://www.palm.com/devzone/pose/pose.html
Regards
horace
--
For information on using the Palm Developer Forums, or to unsubscribe,
.
Rgds,
Jun-Kiat Lam
Metrowerks Technical Support
- Original Message -
From: "Horace Ho" [EMAIL PROTECTED]
To: "Palm Developer Forum" [EMAIL PROTECTED]
Sent: Tuesday, March 14, 2000 8:02 PM
Subject: Re: New Windows Constructor in seeding area
Thanks so much! N
David,
What's the version (and datetime stamp) of the Constructor
in this release? Same as the one in March 3 Provider Pavilion?
Thanks
horace
- Original Message -
From: David Fedor [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Sent: 2000 Mar 09 Thu 11:36am
Subject:
Just want to say "ME TOO". Constructor 1.5b5, Win98SE. Only 1-bit depth
bitmap ok. Others always return horizontal stripes.
Regards
horace
- Original Message -
From: C. E. Steuart Dewar [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Sent: 2000 Mar 07 Tue 11:48am
Subject:
You need to handle payment (credit card, check, phone ...) yourself
if you sell your program directly. PalmGear handles that and provides
an easy notification system for upgrades to users. As far as I know,
PalmGear sends checks to foreign developers too. Check the partners
info on their site.
Didn't work for me either (reported in an earlier post). Guess we have to
wait till Monday when everyone's back to work...
Regards
horace
- Original Message -
From: Bozidar Benc [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Sent: 2000 Mar 05 Sun 05:48am
Subject: RE: New
81 matches
Mail list logo