Skip to content Skip to sidebar Skip to footer

Sencha Touch 2: Data Intigration Or How To Share Dynamic Information Between Sencha And Javascript

I'd like to start quick. What is my problem: Within ST2 I structured my application with the MVC pattern. I have a store, a model, a controler and the views (for more information

Solution 1:

Here you can see an example of how to load audio from an external url with Sencha Touch "Audio" Component. Haven't work with it but I think it fits your needs. Declaring it is as simple as follows:

var audioBase = {
        xtype: 'audio',
        url  : 'crash.mp3',
        loop : true
    };

Iwould reuse the component and load the songs or sound items by setting the url dynamically. By the way I tried it on Chrome and Ipad2 and worked fine but failed on HTC Desire Android 2.2 default browser.

Post a Comment for "Sencha Touch 2: Data Intigration Or How To Share Dynamic Information Between Sencha And Javascript"