Expand my Community achievements bar.

Status of ICS/LCCS and requirements to build a mobile app

Avatar

Level 1

hi,

I'm struggling to get a simple LCCS test working for Android.

I only see a couple of examples on the inernet and am wondering what SDK and Flash Builder version I should use.

It sounds like at this moment you still need to use Flex 4...

Now I am using Flash Builder 4.6 and the 4.6 SDK.

I took the LCCS source from the Influxis github (ICS).

One of the errors many people seem to have - and so do I - is:

'ConnectSessionContainer' declaration must be contained within the <Declarations> tag, since it is not assignable to the default property's element type 'mx.core.IVisualElement'. Which has smt to do with that container not being a Spark component?

Something simple I try to do in the home view of a ViewNavigatorApplication:

<?xml version="1.0" encoding="utf-8"?>

<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"

        xmlns:s="library://ns.adobe.com/flex/spark" title="HomeView"

        xmlns:mx="library://ns.adobe.com/flex/mx"

        xmlns:rtc="http://ns.adobe.com/rtc"

        >

    <fx:Declarations>

        <!-- Place non-visual elements (e.g., services, value objects) here -->

    </fx:Declarations>

   

    <rtc:LocalAuthenticator id="auth" userName="AnyArbitraryUsername" />

   

    <rtc:ConnectSessionContainer id="cSession" authenticator="{auth}" roomURL="http://localhost/account/AnyArbitraryRoom" width="100%" height="100%" >

        <mx:HBox width="100%" height="100%">

            <mx:VBox width="100%" height="100%" >

                <rtc:Note width="100%" height="100%" />

                <rtc:SimpleChat width="100%" height="100%" />

            </mx:VBox>

            <rtc:SharedWhiteBoard width="100%" height="100%" />

            <rtc:Roster id="userList" width="100%" height="100%" showMenuButtons="false" displaySelection="true" />

        </mx:HBox>

    </rtc:ConnectSessionContainer>

   

</s:View>

I hope someone can shed a light on the status of the current ICS lib.

Thanks!

Jeff.

0 Replies