Threaded View

  1. #1
    Sencha User
    Join Date
    Nov 2008
    Posts
    2
    Answers
    1
    Vote Rating
    0
    lee chang yeon is on a distinguished road

      0  

    Default Answered: Why should not work on the mobile devices?

    Answered: Why should not work on the mobile devices?


    Currently, we are progressing Mobile App project by the sencha touch 2.0.
    However, some problems occurred it app does work no the mobile devices.
    But the browser(safari, chrome) is on the works very well.


    I need your help.
    Please find attached the wrong part from the source.
    Also, see below.



    Development Environment:
    1. android 2.2
    2. sencha touch 2.0 pr2




    Call in android


    WebView.getSettings().setJavaScriptEnabled(true);
    WebView.loadUrl("file:///android_asset/index.html");


    I think .. No one anything specific issues in Android

  2. First, thank you very much for answers.


    As you said, phonegap was packed and run.


    However, the result is the same.


    Can you do the wrong place to find? In the attached file.

    Please, please.


    --- Java source ---
    public class PhoneGapActivity extends DroidGap {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    //setContentView(R.layout.main);
    super.loadUrl("file:///android_asset/www/index.html");
    }
    }

Thread Participants: 1