I'm trying out the new Flash Builder 4.5.1 and in particular the mobile section. Love to create a mobile app.

Been using LCDS for a while now to and loving it. Creating RIA's with the LCDS backend connected to a MySQL database works like a charm.

Now I want to enable LCDS for a new mobile project but i'm running on some trouble.

Things to know: LCDS is working 100%, including the MySQL backend. Can create web bases RIA's that works 100% (CRUD actions).

But when I create a mobile project with a LCDS backend there is no data to be displayed. I use a list component to show a single culomn but nothing.I figured out that the problem lies with AIR. When I delete the mobile project and create an AIR desktop application the problems return. It seems that LCDS only works when the created project is web based. When local AIR apps are created, LCDS doesn't return the from the MySQL database.

Basically, you need something like the bolded text below in your script block. Note that this is for an app build using model-driven development. The bolded items would be essentially the same though; one small difference that you would reference your DataService object with yourService.channelSet rather than productService.serviceControl.channelSet. The "serviceControl" is the name of the DataService instance in a generated service wrapper and applies only to model-driven development.

It is just a simple list component that needs to be filled, in this case by the LCDS sample database. When I monitor the network connections, the trigger is running succesfully with the following output:

But there is no Fill execution. When I run this code in an AIR desktop application all runs smooth. Air starts -> connection trigger OK -> Fill execution OK -> And i have a lovely list component filled with Data. When I run this in a mobile app the connection trigger is OK but the fill is not executed.

I have tried duplicating your issue. When I use your code and create a new model against Product - both the air desktop and mobile project work for me. Send me your project in a private message and I will take a look at it (as time allows).