Java Sun Plugin Ubuntu AMD64

sudo apt-get install sun-java6-bin
sudo ln -sf /usr/lib/jvm/java-6-sun-1.6.0.12/jre/lib/amd64/libjavaplugin_jni.so /etc/alternatives/mozilla-javaplugin.so
sudo ln -sf /usr/lib/jvm/java-6-sun-1.6.0.12/jre/lib/amd64/libjavaplugin_jni.so /etc/alternatives/firefox-javaplugin.so
sudo ln -sf /etc/alternatives/mozilla-javaplugin.so /usr/lib/mozilla/libjavaplugin.so
sudo ln -sf /usr/lib/jvm/java-6-sun-1.6.0.12/jre/bin/javaws /etc/alternatives/
sudo ln -sf /usr/lib/jvm/java-6-sun-1.6.0.12/jre/lib/amd64/libnpjp2.so /usr/lib/mozilla/plugins/

suggerito da  http://federicomoretti.name/2009/01/01/come-installare-java-a-64-bit-su-ubuntujaunty/

geo tag location!

http://geotags.com/

grazie alle api di google si trovano facilmente latitudine e longitudine da inserire nel tag

< meta name="geo.position" content="45.500998;9.235210" / >

sono le coordinate di Milano (latitudine,longitudine)

< meta content="45.500998;13.290033" name="geo.position" / >

quelle di Via Stelvio, 10 Tolentino, MC Italia

yahoo.com ha inserito la ricerca per localizzazione

Simulate user input

void CMyAppView::SignalImageStored()
{
TKeyEvent aKeyEvent;
TEventCode aType;
aKeyEvent.iCode = EKeyMenu;
aKeyEvent.iScanCode = EStdKeyMenu;
aType = EEventKey;
iCoeEnv->SimulateKeyEventL(aKeyEvent, aType);
}

iCoeEnv is a member of CAknView class, this is useful to open menu automatically, maybe after a laps of time.

… and this cause only menu event, not the corresponding key be pressed when menu is visible, so setting a timer event that cause SignalImageStored be called (i.e. from a CActive derived class) could not cause select action. There can be some problem if the view is no more visible/activated … (to be added a test on active state of this view.