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 8702685
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T02:42:54+00:00 2026-06-13T02:42:54+00:00

I am deploying my Sench touch 2 app to android. I am using PhoneGap

  • 0

I am deploying my Sench touch 2 app to android. I am using PhoneGap to do it. It works fine but is slow. I was trying to deploy the app without PhoneGap to a embedded Webview.

I get the app running but it doesn’t get past the sencha loading screen.

here my MainActivity

public class MainActivity extends Activity {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        WebView myWebView = (WebView) findViewById(R.id.webView1);
        WebSettings webSettings = myWebView.getSettings();
        webSettings.setJavaScriptEnabled(true);
        webSettings.setAllowFileAccess(true); // i was trying this, dont know if i need it
        myWebView.loadUrl("file:///android_asset/www/index.html");
    }
}

here is my layout:

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent" >

    <WebView
        android:id="@+id/webView1"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_alignParentBottom="true"
        android:layout_alignParentLeft="true" />

</RelativeLayout>

These are the permissions I have enabled

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

I cant seem to figure out what I am missing. Is there something special i have to do to make this run?

Oh and LogCat dosent show any thing …

  • 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-06-13T02:42:56+00:00Added an answer on June 13, 2026 at 2:42 am

    If you’re not planning on calling any native code (except via Ext.Device), you could also use package your Sencha app using Sencha SDK Tools/ Sencha CMD.

    Documentation at:
    http://docs.sencha.com/touch/2-0/#!/guide/native_android

    Please note Sencha SDK Tools recently got updated to Sencha CMD, for more information and further documentation see the blogpost on the release here:
    http://www.sencha.com/blog/all-new-sencha-cmd/

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

Sidebar

Related Questions

Deploying an app first time with Capistrano, but having problem running the cap deploy:update
When deploying a clojure app to Heroku, I see it is using cached Leiningen
I'm trying to pack my new app for iOS, but getting an error when
after deploying my web app to a new server using the add web setup
When deploying a simple Sencha Touch 2 app on a non-touch blackberry device (like
I have an issue deploying Sencha Touch 2.0.1.1 application with Phonegap 1.8.1 wrapper (Phonehap
Deploying on JBoss AS 7.1.0.Final. I have a very simple test app. It was
When deploying plug-ins for MS Dynamics CRM, using the CRM plugin registration tool, you
While deploying a dwr web app, i'm continuously getting this error. I dont know
I'm currently deploying to a VPS where I'm using Tomcat 7 and I'm seeing

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.