• Welcome to TodayPlus Boards v2.
 

Different profiles,cradle and battery

Started by Doublebogey, December 01, 2003, 02:37:49 AM

Previous topic - Next topic

Doublebogey

Idea (or wish) No#1

Todayplus can tell the difference between being in a cradle and running on battery, via battery charging indicator.
So therefore, is there a way to show two different profiles of a skin.
ie. when in the cradle and charging I would like to see the weather, news and agenda. but when on battery I would like to only see the agenda and battery meter.
is it possible to 'automatically' switch between the two so I dont have to tap small icons each time.


Sounds lazy, but theres no shortage of lazy people out here.

dB
There must be a better reason not to do it....

Alf

That's a very good idea : auto-adaptative skins !  :P

QuoteSounds lazy, but theres no shortage of lazy people out here.
Only lazy people can be effective when it comes to avoid effort  :lol:

arbitrajeu

I don't have an instant answer on this, but would like to invoke discussion on how it might be achieved.

My immediate thought it that is should be possible.  We can use the if,externalpower command to determine whether we are on power, so should be able to selectively display things.  However, I can't work out how I would use that if statement to turn regions on and off, as this behaviour can only be associated with a button (and now with a poweron, since 0.10.2).

So, options appear to be to link it to poweron (detect external power and enable regions appropriately, assuming poweron commands observe if statements, which needs to be tested) or have a single button which can be pressed which toggles the state (which I know isn't what Doublebogey wanted).

Anyone see something I am missing?
[size=14]arbitrajeu[/size]
[size=12]todayplus moderator[/size]
[size=10]
iPAQ 3970, Windows Mobile 2003, 256MB SD, AgendaFusion 5[/size]

srs

you could probably enclose the skin in a region that updates at 60 sec intervals, and at the very top check for external power, and if so, use the jumpregion command to setup the state.

arbitrajeu

Quote from: srsyou could probably enclose the skin in a region that updates at 60 sec intervals, and at the very top check for external power, and if so, use the jumpregion command to setup the state.
Ah yes, that'll teach me not to download fishboy's latest reference - I'd forgotten about the jumpregion command, although it's description doesn't instantly indicate it's what I need.  Perhaps I'll get a chance to play with this on the train on the way home today...
[size=14]arbitrajeu[/size]
[size=12]todayplus moderator[/size]
[size=10]
iPAQ 3970, Windows Mobile 2003, 256MB SD, AgendaFusion 5[/size]