-
16 Nov 2010 10:19 AM #1
Touch with Direct?
Touch with Direct?
Don't mean to cross post but I really am not sure if this is a Ext.Direct.Mvc implementation question or a Sencha Touch question.
Is there any reason why I should not be able to use Ext.Direct.Mvc with Sencha Touch? For the Ext.Direct.Mvc (ASP.NET MVC) implementation, you have to put a call in the very beginning of your app.js file to add the provider with the following code:
I am trying to put this in the launch method of the Ext.regApplication() call but getting an error "Cannot call method 'addProvider' of undefined"...so obviously it hasn't loaded the necessary files or is having a problem doing so.Code:Ext.Direct.addProvider(Ext.app.REMOTING_API);
Should this even work, should I be able to use the Ext.Direct.Mvc implementation with Touch? If so, where should I be placing the call to the addProvider method?
Thanks a ton...
-
16 Nov 2010 10:40 AM #2
Direct currently isn't supported on Touch, but will be implemented in Ext4 (and used for Touch as well).
Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
-
16 Nov 2010 10:43 AM #3
That's great news Evan, thanks. That will definitely help conserve precious bandwidth for mobile deliveries of code files.
I haven't looked at the road map in a while, but when are you guys planning to release 4.0?
Thanks again!
-
16 Nov 2010 11:31 AM #4
Q1 2011
Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
-
17 May 2012 9:54 PM #5
Hi,
I am also facing similar problem. I am using Sencha touch 2. So, does the Sencha Touch 2 support Ext Direct and is it possible to execute the code likein the launch function of Ext.Application.Code:Ext.Direct.addProvider( Ext.app.REMOTING_API );
I have tried, but its not running currently.
Similar Threads
-
Touch Direct
By corvonero in forum Sencha Touch 1.x: Examples and ShowcasesReplies: 6Last Post: 27 Feb 2011, 7:03 AM -
Sencha Touch on iPhone v1 / iPod touch v1 ?
By palnap in forum Sencha Touch 1.x: DiscussionReplies: 4Last Post: 28 Oct 2010, 5:30 PM -
Simple Ext.Direct-Combobox plugin --- with Ext.Direct.Store for reuse
By xp743 in forum Ext 3.x: User Extensions and PluginsReplies: 1Last Post: 26 Jul 2010, 11:56 AM


Reply With Quote