Results 1 to 1 of 1

Thread: PhoneGap [0.9.2] and Sencha Touch [1.0.1]

  1. #1
    Ext User
    Join Date
    May 2008
    Vote Rating

    Default PhoneGap [0.9.2] and Sencha Touch [1.0.1]

    Hi every body!

    First of all, sorry for my bad english, I speak French.

    I recently discover PhoneGap and Sencha, I would try this technology in order to check if in the future we can use this in our projects. I easily setup the Kichen Sink Demo in PhoneGap. Everything work great except for Orientation Change. I read on this forum and somes other and maybe I don't understand but i always see a error in result.

    After the orientation change, the list is store only at the left of the screen and after i touch the screen, the list go up at the middle of the screen... I add a screenshot of the result!

    There is the code I use and the result I receive!

    HTML Code:
    // If you want to prevent dragging, uncomment this section
    function preventBehavior(e) 
    document.addEventListener("touchmove", preventBehavior, false);
    function onBodyLoad()
    /* When this function is called, PhoneGap has been initialized and is ready to roll */
    function onDeviceReady()
    		tabletStartupScreen: 'resources/img/tablet_startup.png',
    		phoneStartupScreen: 'resources/img/phone_startup.png',
    		icon: 'resources/img/icon.png',
    		glossOnIcon: false,
    		onReady: function() {
    function setActivePanel(){
    	sink.Main.ui.setOrientation( Ext.getOrientation() , window.innerWidth , window.innerHeight );
    Attached Images Attached Images

Similar Threads

  1. Sencha Touch List components not scrolling in PhoneGap
    By dorchard in forum Sencha Touch 1.x: Discussion
    Replies: 4
    Last Post: 12 Dec 2011, 8:20 AM
  2. Phonegap debug.log Blows up my Sencha Touch UI
    By mediamacros in forum Sencha Touch 1.x: Discussion
    Replies: 4
    Last Post: 1 Nov 2010, 5:55 AM
  3. Phonegap + Sencha Touch: Working in simulator, not on device.
    By igaenssley in forum Sencha Touch 1.x: Discussion
    Replies: 3
    Last Post: 9 Sep 2010, 7:20 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts