Hi buggy_droid,
Sorry for the response time: I was traveling abroad ...
I use WidgetLocker and by clicking SINGLE button, I would switch from state 1 to state 2 (and vice versa).
Thus, a first click on the button will launch a program 1 (more accurately, a Llama's shortcut) and would display the icon 1
The second click on the same button will launch a program 2 (another Llama's shortcut) and would display icon 2
The third click on the same button will launch the program 1 again and would display the icon 1
etc.
Apparently WidgetLocker not be able to do it (See XDA Forums : forum.xda-developers.com/showthread.php?t=825553&page=359)
I searched a lot and ONLY found "Generic Toggle Widget" (See GTW+ at play.google.com/store/apps/details?id=com.mk.generictogglewidgetpaid&hl=fr) BUT GTW+ can ONLY launch app, not shortcuts and its developer does not know how to do :'(
I try to find for him the lines of code to launch Llama's shortcut (and better, the code that would allow him to list all app's shortcuts and launch them) but ... I do not manage :'(
Any idea ?
Thanks
Laurent