Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

standby-behaviour mbis-client on PalmOne Treo600

4 posts in General Discussion Last posting was on 2006-03-16 20:06:37.0Z
Ivo Toby Posted on 2006-03-16 15:30:37.0Z
From: Ivo Toby <ivo@i-v-o.nl>
User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050923)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: ianywhere.public.mbusinessanywhere.general
Subject: standby-behaviour mbis-client on PalmOne Treo600
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: mule.xs4all.nl
X-Original-NNTP-Posting-Host: mule.xs4all.nl
Message-ID: <4419849d$1@forums-1-dub>
Date: 16 Mar 2006 07:30:37 -0800
X-Trace: forums-1-dub 1142523037 213.84.63.85 (16 Mar 2006 07:30:37 -0800)
X-Original-Trace: 16 Mar 2006 07:30:37 -0800, mule.xs4all.nl
Lines: 26
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.mbusinessanywhere.general:752
Article PK: 17781

Hi Group!

One of my customers is using quite a lot of Treo 600's to run the
mBis-client and some stuff I made. I have a question about the behaviour
of mBis (or palm in general, i'm not sure which).

My app. has a timer (javascript setInterval) running which fires an
alarm-sound (custom made POD to produce some sound), and refreshes the
UI. If a Treo600 goes to standby-mode, to safe some of the
battery-power, the counter seems to keep running in the background, but
events fired by the timer are not executed. When the Treo is powered on
the events are executed in order they were fired, and the users hears
one or more alarm-sound(s) and the page will refresh several times.
(this also occurs on Zire22's). Using a "always-on" utility does "solve"
the problem, but unfortunately the Treo's need recharging twice a day,
which is not acceptable for my customer.

I've developed the app using a Treo 650 to test on, and the 650 neatly
refreshes and sounds alarms when in standby, without any delay.

Does any bright mind here have a suggestion to circumvent this (pretty
annoying) behaviour of the Treo600/Zire22?

Thanks!!

Ivo Toby


Greg Fenton Posted on 2006-03-16 16:24:27.0Z
From: Greg Fenton <greg.fenton_NOSPAM_@ianywhere.com>
Organization: iAnywhere Solutions Inc.
User-Agent: Mozilla Thunderbird 1.6.3.2f (Windows/20050317)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: ianywhere.public.mbusinessanywhere.general
Subject: Re: standby-behaviour mbis-client on PalmOne Treo600
References: <4419849d$1@forums-1-dub>
In-Reply-To: <4419849d$1@forums-1-dub>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: gfenton-t30.sybase.com
X-Original-NNTP-Posting-Host: gfenton-t30.sybase.com
Message-ID: <4419913b$1@forums-1-dub>
Date: 16 Mar 2006 08:24:27 -0800
X-Trace: forums-1-dub 1142526267 10.25.98.144 (16 Mar 2006 08:24:27 -0800)
X-Original-Trace: 16 Mar 2006 08:24:27 -0800, gfenton-t30.sybase.com
Lines: 18
X-Authenticated-User: techsupp
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.mbusinessanywhere.general:754
Article PK: 9053


Ivo Toby wrote:
> Does any bright mind here have a suggestion to circumvent this (pretty
> annoying) behaviour of the Treo600/Zire22?

In your POD, can you check some status from the OS as to how long it has
been since it was asleep or some such state?

Your POD then could react to the first JS timer event and ignore the
rest for a period of time (say 1 minute).

greg.fenton
--
Greg Fenton
Consultant, Solution Services, iAnywhere Solutions
--------
Visit the iAnywhere Solutions Developer Community
Whitepapers, TechDocs, Downloads
http://www.ianywhere.com/developer/


Ivo Toby Posted on 2006-03-16 17:13:11.0Z
From: Ivo Toby <ivo@i-v-o.nl>
User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050923)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: ianywhere.public.mbusinessanywhere.general
Subject: Re: standby-behaviour mbis-client on PalmOne Treo600
References: <4419849d$1@forums-1-dub> <4419913b$1@forums-1-dub>
In-Reply-To: <4419913b$1@forums-1-dub>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: mule.xs4all.nl
X-Original-NNTP-Posting-Host: mule.xs4all.nl
Message-ID: <44199ca7$1@forums-1-dub>
Date: 16 Mar 2006 09:13:11 -0800
X-Trace: forums-1-dub 1142529191 213.84.63.85 (16 Mar 2006 09:13:11 -0800)
X-Original-Trace: 16 Mar 2006 09:13:11 -0800, mule.xs4all.nl
Lines: 27
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.mbusinessanywhere.general:755
Article PK: 9055

Thanks for your response. This would fix the problem of the alarm being
fired several times at once, but it would not circumvent the problem
that the device doesn't make any noise at all when in standby. At this
point the event has been fired, but not executed, this also applies to
other events besides playing a sound. Maybe I should have explained this
a bit clearer in my first post :s

My Treo 650 does sound the alarm when it's standby. And strangely
enough, a pretty old Tungsten T (the first in the Tungsten-series) works
fine too!

Ivo

Greg Fenton wrote:
> Ivo Toby wrote:
>
>> Does any bright mind here have a suggestion to circumvent this (pretty
>> annoying) behaviour of the Treo600/Zire22?
>
>
> In your POD, can you check some status from the OS as to how long it has
> been since it was asleep or some such state?
>
> Your POD then could react to the first JS timer event and ignore the
> rest for a period of time (say 1 minute).
>
> greg.fenton


Greg Fenton Posted on 2006-03-16 20:06:37.0Z
From: Greg Fenton <greg.fenton_NOSPAM_@ianywhere.com>
Organization: iAnywhere Solutions Inc.
User-Agent: Mozilla Thunderbird 1.6.3.2f (Windows/20050317)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: ianywhere.public.mbusinessanywhere.general
Subject: Re: standby-behaviour mbis-client on PalmOne Treo600
References: <4419849d$1@forums-1-dub> <4419913b$1@forums-1-dub> <44199ca7$1@forums-1-dub>
In-Reply-To: <44199ca7$1@forums-1-dub>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Original-NNTP-Posting-Host: gfenton-t30.sybase.com
Message-ID: <4419b575@forums-2-dub>
X-Original-Trace: 16 Mar 2006 10:59:01 -0800, gfenton-t30.sybase.com
Lines: 23
X-Original-NNTP-Posting-Host: forums-2-dub.sybase.com
X-Original-Trace: 16 Mar 2006 10:59:03 -0800, forums-2-dub.sybase.com
NNTP-Posting-Host: forums-master.sybase.com
X-Original-NNTP-Posting-Host: forums-master.sybase.com
Date: 16 Mar 2006 12:06:37 -0800
X-Trace: forums-1-dub 1142539597 10.22.108.75 (16 Mar 2006 12:06:37 -0800)
X-Original-Trace: 16 Mar 2006 12:06:37 -0800, forums-master.sybase.com
X-Authenticated-User: ngsysop
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub ianywhere.public.mbusinessanywhere.general:756
Article PK: 9054


Ivo Toby wrote:
> This would fix the problem of the alarm being
> fired several times at once, but it would not circumvent the problem
> that the device doesn't make any noise at all when in standby.

I suspect this is a limitation of what mBA can do when the device is in
stand-by mode.

THe only thing I can think of is for your POD to call out to a custom
app or something and have that hook into the system clock.

MBA does not have any such hooks into the OS. You *might* be able to do
it from your POD itself, but I cannot be sure. Would take some grokking
of the Palm OS reference guide and a bit of experimentation.

greg.fenton
--
Greg Fenton
Consultant, Solution Services, iAnywhere Solutions
--------
Visit the iAnywhere Solutions Developer Community
Whitepapers, TechDocs, Downloads
http://www.ianywhere.com/developer/