Re: How to use Phone API

2007-05-20 Thread Bismi
Thanks for your help. I will try that.
-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


re: 320x320 Treo

2007-05-20 Thread Bismi
Instead of directly putting the hard coded size of the screen you should get 
the window size & then do your drawing. In this case whatever be the size of 
window your program will never fail.

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


re: Unable to do on-device debugging on E2 with USB

2007-05-20 Thread Luc Le Blanc
Harry wrote:

> And just to make sure, here is the sequence I try to abide by:
> 1. Launch CW
> 2. switch on device with USB connected to PC
> 3. launch DotDot2 on the device and do a soft reset

The console mode is detected on the PC as it beeps when I start it. But why do 
a soft reset? Aren't you stopping the console mode right after starting it???

> 4. launch the debugger on CW

I still get the "Connection attempt failed. Please try again." error alert 
immediately after I acknowledge the console mode prompt alert :(

I don't have a Sony directory, but I copied the USBPort.dll file into CW's bin 
directory.


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


RE: Writing/Reading from SD cards

2007-05-20 Thread Simon Dick
Plus there was the Handera 330 with SD and CF if you want completeness. I think 
it was at least the Clie UX50 with dual VFS

-Original Message-
From: "Douglas Handy" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" 
Sent: 20/05/07 22:43
Subject: Re: Writing/Reading from SD cards


>Palm has never released a device with multiple SD card slots, but the
>late Tapwave had two versions of their Zodiac handheld that had dual
>slots.

Although some recent Palm models appear to have multiple card slots; its just
that one is internal.  But they still use the normal VFSxxx set of APIs.

Sony has had at least one Clie model which had both an external card slot and an
internal "card", though the sequence of them is opposite that of the Palm
models.

Doug

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


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


Re: Writing/Reading from SD cards

2007-05-20 Thread Douglas Handy

>Palm has never released a device with multiple SD card slots, but the
>late Tapwave had two versions of their Zodiac handheld that had dual
>slots.

Although some recent Palm models appear to have multiple card slots; its just
that one is internal.  But they still use the normal VFSxxx set of APIs.

Sony has had at least one Clie model which had both an external card slot and an
internal "card", though the sequence of them is opposite that of the Palm
models.

Doug

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


Re: Writing/Reading from SD cards

2007-05-20 Thread Ben Combee

On 5/20/07, James <[EMAIL PROTECTED]> wrote:

Ah thanks that worked fine!! The only thing is that it doesn't support 
multiable SD card slots? Not even sure if Palm has a unit that has more then 1?


Palm has never released a device with multiple SD card slots, but the
late Tapwave had two versions of their Zodiac handheld that had dual
slots.

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


Re: Writing/Reading from SD cards

2007-05-20 Thread James
Ah thanks that worked fine!! The only thing is that it doesn't support 
multiable SD card slots? Not even sure if Palm has a unit that has more then 1?

But thanks that did work :-)

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


320x320 Treo

2007-05-20 Thread James
Hello I have been working with the treo for sometime now, and have many 
routines that work on a 160x160 background. I am having trouble switching the 
display into 320x320?

I did a bit of reading on and below is my basic setup of my drawing window. For 
some reason when I change the nativeFormat and set the window size to 320x320, 
I get a invalid window size?

Can anyone please explain to me what I am doing wrong?

Thanks


// setup code //
WinScreenMode(winScreenModeSet,NULL,NULL,&new_depth,NULL);
winhandle = WinCreateOffscreenWindow(width, height, nativeFormat, &err);
screen = (UInt16 *)BmpGetBits(WinGetBitmap(winhandle));

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


re: Unable to do on-device debugging on E2 with USB

2007-05-20 Thread Harry
Hi Luc,

sorry to hear it still isn't working. So I checked again on my machine. Did I 
say, you should have only 1 copy of USBPort.dll on your machine. I actually 
have 3 (ahem  ;-) )

C:\Programme\Metrowerks\CodeWarrior\Bin\USBPort.dll
C:\Programme\palmOne\USBPort.dll
C:\Programme\Sony Handheld\USBPort.dll

And than there is a link to Ben's old site. I remember it helped me in getting 
my USB debugging going: http://www.palmoswerks.com/discuss/msgReader$146

And just to make sure, here is the sequence I try to abide by:
1. Launch CW
2. switch on device with USB connected to PC
3. launch DotDot2 on the device and do a soft reset
4. launch the debugger on CW
Hotsysnc_mgr is running when i debug - it does not affect the connection.

Try again and keep me posted about your results - if it's working on my 
machines we WILL get it working on yours as well!


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


Re: Treo Phone app email counter

2007-05-20 Thread Borszczuk
Shimon Shnitzer wrote:

>>> Please check the "_MMSCounter" sample project
>>> in the SDK - it does just what you want.
>> Thanks. But it's for MMS/SMS. I'm talkig about emails
>> (Phone shows i.e. VersaMail unread mail count)
> Just replace helperServiceClass from '_sms' to 'mail'

Haven't checked yet what you'd suggested, but to ensure
we talk about the same -> what I want to achieve is to
feed Phone with number of unread mails from my app.
I do not need to read the number of mails in Versa mail.



Regards,
-- 
"Daddy, what "Formatting drive C:" means?"...

 Marcin   http://wfmh.org.pl/carlos/

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


Re: Form not displaying normally on Tungsten E2

2007-05-20 Thread Luc Le Blanc
Sagar Mody wrote:

>> In the end, I couln't make on-device debugging run under USB, so I
>> put a couple of alerts with the line number to track code
>> execution.

> How to we print the line number in the alert in Metrowerks
> CodeWarrior ?

Actually, I think the __LINE__ symbol is defined in most C compilers (like 
__FUNCTION__ and probably others). So it goes like this:

Char line[ 8 ];

StrIToA( line, __LINE__ );
FrmCustomAlert( SomeAlert, line, "", "" );


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


Re: Form not displaying normally on Tungsten E2

2007-05-20 Thread Sagar Mody
>> In the end, I couln't make on-device debugging run under USB, so I put a
couple of alerts with the line number to track code execution.

How to we print the line number in the alert in Metrowerks CodeWarrior ?

Regards,
Sagar Mody


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


Re: Unable to do on-device debugging on E2 with USB

2007-05-20 Thread Lionscribe
Same problem here trying to connect
to my Treo.
Lionscribe

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


Re: Modifying/ignoring Auto-off length

2007-05-20 Thread Roger Stringer

At 04:15 AM 5/20/2007, you wrote:

Subject: Modifying/ignoring Auto-off length
From: "Christian Giordano" <[EMAIL PROTECTED]>
Date: Sat, 19 May 2007 19:53:07 +0100
X-Message-Number: 4

The application I made generates graphic and the user doesn't
necessary interact with it, after 30 sec (the default auto-off length)
the screen turns off. Of course it could be enough to modify to
auto-off length to its maximum 3 minutes to enjoy more, but what if I
would like to keep the auto-off as default.


Just periodically keep resetting the auto-off.  I presume you are 
displaying something to re-assure the user?



Roger Stringer
Marietta Systems, Inc. (www.rf-tp.com)


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


re: Palm TX "Skin"

2007-05-20 Thread Kennie Saunders

Thanks



From: "Luc Le Blanc" <[EMAIL PROTECTED]>
Reply-To: "Palm Developer Forum" 
To: "Palm Developer Forum" 
Subject: re: Palm TX "Skin"
Date: Sun, 20 May 2007 08:37:42 -

[EMAIL PROTECTED] wrote:

>I am VERY new to this, I am trying to download the ROM / Skin
>from my Palm TX to use in the Emulator, but after 5 minutes (12%)
>my Palm resets and trnasfer stops, what am I doing wrong?
>Where can I get a PALM TX "Skin" / ROM for the Emulator?

The Emulator can only run with Palm OS 3.x-4.x ROMs. The TX (Palm OS 5.x) 
must be emulated by the Simulator, another PalmSource (now Access) tool, 
which doesn't use skins :(



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


_
More photos, more messages, more storage—get 2GB with Windows Live Hotmail. 
http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_2G_0507



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


Re: Treo Phone app email counter

2007-05-20 Thread Shimon Shnitzer

Hi,

Just replace helperServiceClass from '_sms' to 'mail'

Shimon

- Original Message - 
From: "Borszczuk" <[EMAIL PROTECTED]>

Sent: Sunday, May 20, 2007 11:06 AM
Subject: Re: Treo Phone app email counter



Shimon Shnitzer wrote:


Please check the "_MMSCounter" sample project
in the SDK - it does just what you want.


Thanks. But it's for MMS/SMS. I'm talkig about emails
(Phone shows i.e. VersaMail unread mail count)





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


re: Form not displaying normally on Tungsten E2

2007-05-20 Thread Luc Le Blanc
Luc Le Blanc wrote:

> My app normally displays a virtual keypad for easy input (visible
> at http://auriga.neopages.org/images/keypaden.gif or
> http://auriga.neopages.org/aurigaen.html#KEYPAD). The backspace
> (top) arrow key is a repeating button, while other arrows and OK
> buttons are regular buttons. The letter and digit keys, which are
> also regular buttons, are shown depending on user-selected layout.
> On an E2, none of the letter or digit buttons get displayed, while
> arrows are not functional (I had to use the reset switch to exit
> this keypad). 

In the end, I couln't make on-device debugging run under USB, so I put a couple 
of alerts with the line number to track code execution. The E2 would freeze 
after a WinScreenLock I call to prevent flicker while setting up the keypad 
layout. Removing this line solves the problem, even though screen locks are 
successfully performed (on an E2) at other times in this form. The E2 is the 
only device with such a behavior. Go figure!


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


re: Palm TX "Skin"

2007-05-20 Thread Luc Le Blanc
[EMAIL PROTECTED] wrote:

>I am VERY new to this, I am trying to download the ROM / Skin
>from my Palm TX to use in the Emulator, but after 5 minutes (12%)
>my Palm resets and trnasfer stops, what am I doing wrong?
>Where can I get a PALM TX "Skin" / ROM for the Emulator? 

The Emulator can only run with Palm OS 3.x-4.x ROMs. The TX (Palm OS 5.x) must 
be emulated by the Simulator, another PalmSource (now Access) tool, which 
doesn't use skins :(


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


Re: Treo Phone app email counter

2007-05-20 Thread Borszczuk
Shimon Shnitzer wrote:

> Please check the "_MMSCounter" sample project
> in the SDK - it does just what you want.

Thanks. But it's for MMS/SMS. I'm talkig about emails
(Phone shows i.e. VersaMail unread mail count)



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


Re: Treo Phone app email counter

2007-05-20 Thread Shimon Shnitzer

Hi,

Please check the "_MMSCounter" sample project
in the SDK - it does just what you want.

Shimon

- Original Message - 
From: "Borszczuk" <[EMAIL PROTECTED]>

Sent: Friday, May 18, 2007 11:10 PM
Subject: Treo Phone app email counter



Hi,

Treo Phone apps shows unread email count (if >0) for
Versamail accounts. Anyone knows how Phone gets this
count? My quick research indicates it may be either
stored in Saved Preferences as the count numer, or
(which is worse from my perspective) Phone knows
where Versa stores which profile is is currently chosen
and then just counts these email by itself (which
might explain a show delay for the email counter).
Tried KB already. Anyone?

Regards,
Marcin




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