EvaTroels


I have tried to create a small multiuser test activity using the MSN Messenger Activity SDK. I have successfully created a local XML file for the messenger directory. I have also succeeded in inviting another user to participate in the activity and is redirected to the HTML page deployed on my local web server. So far so good!


I want to implement some of the activity functionality as a Java applet but where the applet should be displayed there is only a grey area (as if the applet is not initialized properly). When I access the Java applet directly using a browser it works perfectly.


Is it not possible to embed a Java applet in the HTML to be embedded in the MSN messenger activity window How can this be acheived




Re: Java Applet in Messenger Activity?

J-Thread


You will probably need to set the ActiveX parameter to True.




Re: Java Applet in Messenger Activity?

EvaTroels

Nope. No effect.

This is my local XML msgrp2p.xml file:

< xml version="1.0" >
<Entry>
<EntryID>7</EntryID>
<Error />
<Locale>en-us</Locale>
<Kids>1</Kids>
<Page>1</Page>
<Category>50</Category>
<Sequence>10</Sequence>
<Name>Test</Name>
<Description>Test</Description>
<URL>http://localhost:8080/Test/TestApplet.html</URL>
<IconURL />
<PassportSiteID>0</PassportSiteID>
<Type>App</Type>
<Height>500</Height>
<Width>500</Width>
<Location>side</Location>
<MinUsers>2</MinUsers>
<MaxUsers>2</MaxUsers>
<PassportSiteID>0</PassportSiteID>
<EnableIP>False</EnableIP>
<ActiveX>True</ActiveX>
<SendFile>False</SendFile>
<SendIM>False</SendIM>
<ReceiveIM>False</ReceiveIM>
<ReplaceIM>False</ReplaceIM>
<Windows>False</Windows>
<MaxPacketRate>120</MaxPacketRate>
<UserProperties>False</UserProperties>
<ClientVersion>6.0</ClientVersion>
<AppType>0</AppType>
<Hidden>false</Hidden>
</Entry>






Re: Java Applet in Messenger Activity?

J-Thread

This page gives the answer.



Re: Java Applet in Messenger Activity?

EvaTroels

I'm not sure how to understand the information in "Additional Activity API Development Requirements" referred to by the previous message. I have installed JRE on both test computers. Do I need to include additional information in the local XML file Or does the applet need to be signed I don't quite get it.





Re: Java Applet in Messenger Activity?

J-Thread

Sorry, I meant to link this page, of which I think you can conclude that it is not possible / allowed to run java applets in an activity...



Re: Java Applet in Messenger Activity?

EvaTroels

I can allow my activity to spawn a new browser window for me. I this window my applet is displayed beautifully. I plan on using communication between the two windows for activity communication (http://www.quirksmode.org/js/croswin.html).