Re: Incoming/Outgoing call

2007-03-15 Thread Ben Combee

On 3/14/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

Can we use multithreading? I am using 68k applications. I am unable to include
systhread.h(protein API)

How to include this API in my 68k application?


You can't.  The Protein API set was only ever used on Palm OS Cobalt,
and that was never released on a shipping device.

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


how work with quick sort

2007-03-15 Thread rupesh bhavsar
any budy can help me to sort dabase 
by using quick sort
how call callback fuction
how use it
-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Scrolling single-line Field

2007-03-15 Thread Luca Bertoncello
Hi, list!

I have a text field, defined as single line.
Sometimes the user has to insert more chars as the place on the screen.
It is not a problem for the field, but for the user...

How can I define the field to automatic scroll (to left or right, depending
what the user does!)?

Thanks a lot!
Luca Bertoncello
([EMAIL PROTECTED])


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


Re: how work with quick sort

2007-03-15 Thread Michal Seliga
check Palm OS Reference documentation for SysQSort, everything is described 
there.

basicaly, you don't call callback function, you only create it and it will be
called from SysQSort when needed.

rupesh bhavsar wrote:
 any budy can help me to sort dabase 
 by using quick sort
 how call callback fuction
 how use it
 

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


Re: how work with quick sort

2007-03-15 Thread rupesh bhavsar
thanks for reply
i can write call back  fuctionit as but when call the quick sort  in our 
application
it gives error for call back fuction such as undefine identifier 
-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: how work with quick sort

2007-03-15 Thread Michal Seliga
this must be compile time problem and not run time. check if your callback
function has same name as you write in sysqsort parameter

rupesh bhavsar wrote:
 thanks for reply
 i can write call back  fuctionit as but when call the quick sort  in our 
 application
 it gives error for call back fuction such as undefine identifier 
 

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


Re: how work with quick sort

2007-03-15 Thread rupesh bhavsar
i am check it but thire no error in my code
why gives an error it can give sample for that 
thank for reply
-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: how work with quick sort

2007-03-15 Thread Michal Seliga
Int16 TempComparF (void *p1, void *p2, Int32 other)
{
char *d1,*d2;

d1=*(char *)p1;
d2=*(char *)p2;

return(StrCaselessCompare(d1,d2));  
}

void Test(void)
{
char *stringlist[5]={,,,,000}
SysQSort(stringlist,5,sizeof(char *),TempComparF,0);
}

i didn't tried to compile, its written only in this mail...but it should give
you an idea. and as i said, everything is described in palmos reference


rupesh bhavsar wrote:
 i am check it but thire no error in my code
 why gives an error it can give sample for that 
 thank for reply
 

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


please advice...

2007-03-15 Thread Waqar Azeem
Dear Fellows,

 

I am looking for some advice before staring my new task on Palm OS.

 

My application has been supposed to sync Contact from device to server using
HTTP (vice versa). Few of my questions are:

 

   1 - Is it feasible to handle all sync (over the air) tasks in
sysNotifyIdleTimeEvent. I mean is there any limitation of this event like
HTTP access not allowed or PIM is not accessible during handling this event.
Especially the time duration i.e. how long I can perform auto sync. (As I
did launched my java MIDlet from a C++ app, but the MIDlet terminates within
a couple of sec.)

 

   2 - Setting Alarm event will be more beneficial in this case or not (with
compare to above event). Or... Is there any better way of doing this?

 

   3 - I hope we cannot receive/capture any PIM modification event. Am I
right?

 

Run your wild thoughts based on your valuable experience. Every idea in this
regards is significant for me.

 

Thanks  Best Regards,

Waqar Azeem

 


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

Handle PenDownEvent

2007-03-15 Thread Ali Saadatpoor
Anybody knows how to handle pendownevent in Palm OS  5. .i.e. I do not want 
it to be handled by SysHandleEvent .


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


Transparent Form

2007-03-15 Thread Ali Saadatpoor
Anybody knows if it is possible to have transparent form in palm os?
-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


NetLibSocketOpen and Timeout

2007-03-15 Thread Luca Bertoncello
Hi list!

A little question: how can I set the timeout for NetLibSocketOpen?

I see, I can set a timeout, but I don't know what I have to write for a timeout
of eg 30 seconds...

Can someone give me an example?

Thanks a lot!
Luca Bertoncello
([EMAIL PROTECTED])


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


Color icon for the program

2007-03-15 Thread Luca Bertoncello
Hi, again!

A very strange problem...
I have a BMP file (color!) I want to use as icon for my program.
I wrote, in my rcp file as following:


// The program's icon
ICON netTools.bmp

I compile the program, but if I try to upload the program to the Tungsten
simulator, I see a black/white icon...

What is wrong?

Thanks a lot
Luca Bertoncello
([EMAIL PROTECTED])


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


Re: Color icon for the program

2007-03-15 Thread Aaron Ardiri

On 3/15/07, Luca Bertoncello [EMAIL PROTECTED] wrote:


// The program's icon
ICON netTools.bmp


ICONCOLOR, or use the more up-to-date ICONFAMILY definition

--
// Aaron Ardiri

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


re: Handle PenDownEvent

2007-03-15 Thread Ali Saadatpoor
Actually I want that any PEnDownEvent in any program being handled by my 
program ( something like an interrupt) i.e. when the user tap the screen in any 
program my software handles that event.
-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Launch Web Browser Programaically

2007-03-15 Thread pradeep . kadiyala
Hey does this code support palm devices that has windows OS?
-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Launch Web Browser Programaically

2007-03-15 Thread Michal Seliga
no, this code (ans this forum) covers only PalmOS. for windows you should ask
probably on some microsoft forum

[EMAIL PROTECTED] wrote:
 Hey does this code support palm devices that has windows OS?
 

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


Re: Launch Web Browser Programaically

2007-03-15 Thread Douglas Handy

Hey does this code support palm devices that has windows OS?

Of course not.,  palm devices that has windows OS is a contradiction in terms.
If it is running windows mobile, it isn't a palm device.

And Windows Mobile does not run palm os code unless you count StyleTap.

Plus the code shown always tries to launch the Blazer browser, so it is specific
to devices with Blazer installed.  That means it doesn't even work right on all
palm OS devices with web connectivity.

The sample code referenced in the first post of this thread checks for a number
of known possible browsers, instead of requiring Blazer.  But it is still
specific to palm OS based devices, and browsers it knows about.

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


Re: Launch Web Browser Programaically

2007-03-15 Thread pradeep . kadiyala
Thank you guys. That makes perfect sense.
-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Launch Web Browser Programaically

2007-03-15 Thread Ben Combee

Of course not.,  palm devices that has windows OS is a contradiction in terms.
If it is running windows mobile, it isn't a palm device.


Well, actually with the current state of trademarks, many Palm devices
run Windows Mobile, but no WM devices run Garnet OS from ACCESS (what
was Palm OS 5.4, then Palm OS Garnet).


And Windows Mobile does not run palm os code unless you count StyleTap.


And StyleTap actually has a tech note about using Pocket Internet
Explorer from a Garnet application when you're on a Windows Mobile
device.  I included that support in my SXSW Schedule App.

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


Re: Launch Web Browser Programaically

2007-03-15 Thread Douglas Handy
Ben,

Well, actually with the current state of trademarks, many Palm devices
run Windows Mobile, but no WM devices run Garnet OS from ACCESS 

Mea culpa -- I try to forget about them as I don't consider them real palm
devices.  :)

But the point was that palm OS code snippets don't port well to devices running
Windows Mobile.

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


re: TX debugging

2007-03-15 Thread luis maldonado
I just down loaded the TX simulator from Palm and when I tried to install it 
I got the following results:


1) the TX simulator does not work on windows 2000. either the debug or 
release verision.

   it keeps crashing with an illegal instruction crash.
2) when installed on a windows XP version, my app fails miserably with a 
bunch of crashes.

   Here's some of the error message I get when running my app.

setup.prc    my app name
NetStack1.c, Line:4640, Error attaching interface
NetStack1.c, Line:4640, Error attaching interface
NetLib.c, Line:1886, 4620
NetLib.c, Line:3778, 4636
form.c, Line:4135, Title too long
form.c, Line:6200, Bad form
	datamgr.c, Line:8069, DmReleaseRecord() called with dirty = true but 
database was opened readOnly

vfsdbcache.c, Line:8439, Record isn't busy
palm_cache.c, Line:650, Interface == loop. This should never happen!

Computer configuration

Dell Laptop Inspiron 3700

windos XP profesional
version 2002 w/sp2

running on
intel Celeron processor
430 MHz, 512 MB or RAM

Question:
Does anyone have the same experience.

Do I need to do something to be able to run my app which runs great on the 
5.0 simulator under windows 2000 and windows XP to make it run on the new TX 
simulator somewhere, heck anywhere...


Thanks

Luis,



From: luis maldonado [EMAIL PROTECTED]
Reply-To: Palm Developer Forum palm-dev-forum@news.palmos.com
To: Palm Developer Forum palm-dev-forum@news.palmos.com
Subject: re: TX debugging
Date: Sun, 11 Mar 2007 14:37:45 -0500

this is a great pointer (excuse the pun :).

Every little helps...

Thanks again

Luis




From: Alexander R. Pruss [EMAIL PROTECTED]
Reply-To: Palm Developer Forum palm-dev-forum@news.palmos.com
To: Palm Developer Forum palm-dev-forum@news.palmos.com
Subject: re: TX debugging
Date: Sun, 11 Mar 2007 16:00:33 -

To find out where the crash happens, you can insert a lot of 
FtrSet('diaG',0,n) statements and use Diagnoser which will tell you the 
ftr value on crash (in the 1src.com freeware section).

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


_
With tax season right around the corner, make sure to follow these few 
simple tips. 
http://articles.moneycentral.msn.com/Taxes/PreparationTips/PreparationTips.aspx?icid=HMFebtagline



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


_
With tax season right around the corner, make sure to follow these few 
simple tips. 
http://articles.moneycentral.msn.com/Taxes/PreparationTips/PreparationTips.aspx?icid=HMFebtagline



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


Managing passwords

2007-03-15 Thread Luca Bertoncello
Hi again!

A new problem... :)

I wrote a program. In this program must the user write a password.
I don't like to leave this password visible, and I'd like to hide it.

Is there a function in the Palm-SDK to do it?
It would be nice something like the password in the Network connection
properties...

Is it possible or must I write the form from scratch?

P.S.: If possibile, compatible with PalmOS 3.5...

Thanks a lot
Luca Bertoncello
([EMAIL PROTECTED])

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


Re: Managing passwords

2007-03-15 Thread Jeff Loucks
If you're concerned about something being visible in a field, specify
'symbol7Font' as the field font. You'll only see boxes in the field.

On 3/15/07, Luca Bertoncello [EMAIL PROTECTED] wrote:

 Hi again!

 A new problem... :)

 I wrote a program. In this program must the user write a password.
 I don't like to leave this password visible, and I'd like to hide it.

 Is there a function in the Palm-SDK to do it?
 It would be nice something like the password in the Network connection
 properties...

 Is it possible or must I write the form from scratch?

 P.S.: If possibile, compatible with PalmOS 3.5...

 Thanks a lot
 Luca Bertoncello
 ([EMAIL PROTECTED])

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




-- 
[Jeff Loucks]

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

Re: Managing passwords

2007-03-15 Thread Luca Bertoncello
Jeff Loucks [EMAIL PROTECTED] schrieb:

 If you're concerned about something being visible in a field, specify
 'symbol7Font' as the field font. You'll only see boxes in the field.

OK! It's enough!

Just, can I display something others? For example, * or points?

Thanks
Luca Bertoncello
([EMAIL PROTECTED])

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


Re: Managing passwords

2007-03-15 Thread Jeff Loucks
You can create your own font that contains only the default character '*' or
points.

On 3/15/07, Luca Bertoncello [EMAIL PROTECTED] wrote:

 Jeff Loucks [EMAIL PROTECTED] schrieb:

  If you're concerned about something being visible in a field, specify
  'symbol7Font' as the field font. You'll only see boxes in the field.

 OK! It's enough!

 Just, can I display something others? For example, * or points?

 Thanks
 Luca Bertoncello
 ([EMAIL PROTECTED])

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




-- 
[Jeff Loucks]

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

Re: Managing passwords

2007-03-15 Thread Luca Bertoncello
Jeff Loucks [EMAIL PROTECTED] schrieb:

 You can create your own font that contains only the default character '*' or
 points.

Do you have an example how I can create (and manage!) a custom font?

Thanks
Luca Bertoncello
([EMAIL PROTECTED])

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


Re: Managing passwords

2007-03-15 Thread Jeff Loucks
PalmOS reference says:
Err FntDefineFont (FontID font, FontPtr fontP)
which will register the font pointed to by 'fontP' as a font with id 'font'.

Normally, fontP is a pointer to a locked font resource. Use your resource
compiler (I don't know which you are using) to create a font resource with
just '*' or points or whatever. Then, in your app, find and lock the
resource, register it with FntDefineFont(), and then use the font as you
would any other font.

Don't forget to unlock and release your font resource before you exit your
app.

See the discussion on Fonts in the API reference and the Companion.


On 3/15/07, Luca Bertoncello [EMAIL PROTECTED] wrote:

 Jeff Loucks [EMAIL PROTECTED] schrieb:

  You can create your own font that contains only the default character
 '*' or
  points.

 Do you have an example how I can create (and manage!) a custom font?

 Thanks
 Luca Bertoncello
 ([EMAIL PROTECTED])

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




-- 
[Jeff Loucks]

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

TX simulator problems

2007-03-15 Thread luis maldonado


can anyone share their experience with the new TX simulator from
Palm.

I just down loaded the TX simulator from Palm and when I tried to
install it I got the following results:

1) the TX simulator does not work on windows 2000. either the debug
or release version.
   it keeps crashing with an illegal instruction crash.

2) when installed on a windows XP version, my app fails miserably
with a bunch of crashes.

   Here's some of the error message I get when running my app.

setup.prc    my app name
NetStack1.c, Line:4640, Error attaching interface
NetLib.c, Line:1886, 4620
NetLib.c, Line:3778, 4636
form.c, Line:4135, Title too long
form.c, Line:6200, Bad form
datamgr.c, Line:8069, DmReleaseRecord() called with dirty = true
but database was opened readOnly
vfsdbcache.c, Line:8439, Record isn't busy
palm_cache.c, Line:650, Interface == loop. This should never
happen!


The messages above are from the simulator as it tries to execute my app


Computer configuration

Dell Laptop

windos XP profesional
version 2002 w/sp2

running on
intel Celeron processor
430 MHz, 512 MB or RAM


Do I need to do something to be able to run my app which runs great
on the 5.0 simulator under windows 2000 and windows XP to make it
run on the new TX simulator somewhere, heck anywhere...


Thanks

Luis,

_
i'm making a difference. Make every IM count for the cause of your choice. 
Join Now. 
http://clk.atdmt.com/MSN/go/msnnkwme008001msn/direct/01/?href=http://im.live.com/messenger/im/home/?source=hmtagline



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


re: Color icon for the program

2007-03-15 Thread David Oldis
I use this for my stuff.  Seems to cover a bunch of bases:
ICONFAMILYEX
BEGIN
BITMAP icons/icon32x22x1.bmp BPP 1 DENSITY 1
BITMAP icons/icon32x22x8.bmp BPP 8 DENSITY 1 TRANSPARENT 0 255 0
BITMAP icons/icon64x44x8.bmp BPP 8 DENSITY 2 TRANSPARENT 0 255 0
BITMAP icons/icon32x22x16.bmp BPP 16 DENSITY 1 TRANSPARENT 0 255 0
BITMAP icons/icon64x44x16.bmp BPP 16 DENSITY 2 TRANSPARENT 0 255 0
END

SMALLICONFAMILYEX
BEGIN
BITMAP icons/icon15x9x1.bmp BPP 1 DENSITY 1
BITMAP icons/icon15x9x8.bmp BPP 8 DENSITY 1 TRANSPARENT 0 255 0
BITMAP icons/icon30x18x8.bmp BPP 8 DENSITY 2 TRANSPARENT 0 255 0
BITMAP icons/icon15x9x16.bmp BPP 16 DENSITY 1 TRANSPARENT 0 255 0
BITMAP icons/icon30x18x16.bmp BPP 16 DENSITY 2 TRANSPARENT 0 255 0
END

For example the icon 'icon15x9x8' is an 8bit bitmap that is 15 x 9 pixels in 
size and the green color is transparent.

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


System Sleep event

2007-03-15 Thread Bismi
Hi, 
I am using Codewarrior

I wanted to know how to catch system sleep event in my application
I have tried 
sysNotifySleepNotifyEvent  sysNotifySleepRequestEvent 
but not able 2 get through it.


Any help would be appreciated 
Thanks in advance
-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


re: Transparent Form

2007-03-15 Thread Bismi
Actually what do u maen by transparent form.
Do u want that a form should be open on some other form which is not seen.

Make it clear so that v may help u out
-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/