Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7499347
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T19:47:50+00:00 2026-05-29T19:47:50+00:00

i am a beginner in sencha touch , i am trying to run a

  • 0

i am a beginner in sencha touch, i am trying to run a demo application using sencha touch profiles this is the code

<!-- index.html-->
<!DOCTYPE html>
<html>
    <head>
       <title>MOIC Touch</title>
       <link rel="stylesheet" href="touch/resources/css/sencha-touch.css" type="text/css">
       <script type="text/javascript" src="touch/sencha-touch-all-debug.js"></script>
       <script type="text/javascript" src="app.js"></script>
    </head>
    <body></body>
</html>

//app.js
Ext.require([
     'MOICTouch.profile.Tablet']);
Ext.application({
    name: 'MOICTouch',
    profiles: ['Tablet']
});


//app/profile/Tablet.js
Ext.define('MOICTouch.profile.Tablet', {
      extend: 'Ext.app.Profile',

      config: {
         name: 'Tablet',
         views: ['Main']
      },

      isActive: function() {
         return Ext.os.is.Tablet;
      }
 });

when i run index.html i got the following error in browser console

Uncaught Error: Ext.Loader is not enabled, so dependencies cannot be resolved dynamically. Missing required class: MOICTouch.profile.Tablet

can anyone help me,
thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T19:47:53+00:00Added an answer on May 29, 2026 at 7:47 pm

    As you mentioned, you should enable Ext.Loader using the following code:

    Ext.Loader.setConfig({ enabled: true });
    

    However, this only happens because you are including sencha-touch-all-debug.js. The file includes the whole framework, so it presumes you do not need to use the Loader.

    In development, you should use sencha-touch-debug.js. This will enable Ext.Loader by default, and will actually dynamically load each of the classes you require in the framework – instead of loading the whole framework up front.

    There is more information about the different builds, and how to build your application for production over on the Sencha Touch API Docs – http://docs.sencha.com/touch/2-0/#!/guide/building

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Absolute beginner question: I have a template file index.html that looks like this: ...
Beginner at Django here, I've been trying to fix this for a long time
iOS beginner here. I'm using the following code to save my facebook accessToken and
I'm a beginner in sencha touch. I need to know how many ways its
I am a complete beginner trying to develop for FCKeditor so please bear with
As a complete beginner with no programming experience, I am trying to find beautiful
Beginner here. Why is this an endless loop ? for (p = 0; p
Beginner here: In this answer to my question of how to insert data into
(R beginner here...) I have a dataset like: > head(q) Date Time System User
(Beginner to HTML) I have made a Photoshop mock-up of the website I want

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.