Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Sep 2013

    [PhoneGap] JQuerry doesn't work

    I want to use phonegap with JQuerry mobile. I have a project which work fine on android (API 7) with jqueryMobile 1.1.1, Jquery 1.7.1 and phonegap, but when I use the code on Symbian S60 5th Edition , the program launch without JQuerry, so with no style.
    I followed this tutorial :
    Al worked fine, I put jquery.mobile-1.1.1.min.js and jquery-1.7.1.min.js inlib ans I modified the Makefile like this :
    MKPATH = mkdir -p
    RM_RF = rm -rf
    all :: js package
    clean :: clean_libs
    	-$(RM_RF) lib
    	cp lib/phonegap.js framework/www/phonegap.js
    	cp lib/jquery.mobile-1.1.1.min.js framework/www/jquery.mobile-1.1.1.min.js
    	cp lib/jquery-1.7.1.min.js framework/www/jquery-1.7.1.min.js
    	cd framework/ && zip -r app.zip www/* -x www/wrt_preview_frame.html www/wrt_preview_main.html www/preview/ www/*.wgz
    	mv framework/app.zip app.wgz
    js: lib/phonegap.js lib/jquery.mobile-1.1.1.min.js lib/jquery-1.7.1.min.js
    lib/phonegap.js: js/phonegap.js.base js/acceleration.js js/accelerometer.js js/audio.js js/camera.js js/camera/com.nokia.device.utility.js js/camera/com.nokia.device.framework.js js/camera/s60_camera.js js/camera/com.nokia.device.camera.js js/contacts.js js/debugconsole.js js/device.js js/geolocation.js js/map.js js/network.js js/notification.js js/orientation.js js/position.js js/sms.js js/storage.js js/telephony.js
    	$(MKPATH) lib
    Then, I had theses meta in index.html :

    <!-- Look des pages de l'appli -->
    		<LINK rel=STYLESHEET href="styles.css">
    		<!-- pour spécifier au naviageteur comment afficher la page  -->
    		<meta name="viewport" content="width=device-width, initial-scale=1">
    		<!-- le fichier css pour formater nos balises html -->
    		<link rel="stylesheet" href="jquery.mobile-1.1.1.min.css" />
    		<!-- importation du bibliothèque jquery et jquery pour les mobiles -->
    		<script src="jquery-1.7.1.min.js"></script>
    		<script src="jquery.mobile-1.1.1.min.js"></script>
    		<!-- importation du bibliothèque cordova ( phoneGap ) -->
    		<!-- script src="cordova-2.1.0.js"></script -->
    		<script language="javascript" type="text/javascript" src="phonegap.js"></script>
    		<script language="javascript" type="text/javascript">
    			document.addEventListener('deviceready', function() {
    				// device ready! initialize your app.
    			}, false);
    Note that .js were in the same folder as index.html after make, and that the .css are présents.
    After make ans charged the generated file in the emulator, I can launch the aplication, but there's no style, JQuerry seems to be ignored and linkds doesn't work anymore.
    Is theses version of JQuerry compatible ? If yes, how can I make it work ? Have I forget something else ? Is there documentation or tutorial with PhoneGap, JQuerry and Symbian ?

  2. #2
    Regular Contributor
    Join Date
    Nov 2009

    Re: [PhoneGap] JQuerry doesn't work

    jQuery Mobile doesn't support S60v5. There is support for Symbian3, but according to my own experience it's too slow to be usable.

    After after some checks, there seems to be claim that it would work on N97 which is S60v5 http://jquerymobile.com/gbs/ . But even if it works I would be extremely skeptical about performance, since it's basically unusable already on Symbian3.

Similar Threads

  1. Replies: 1
    Last Post: 2012-02-27, 10:56
  2. Replies: 8
    Last Post: 2011-02-07, 08:28
  3. why it doesn't work?
    By rootroot in forum Symbian
    Replies: 5
    Last Post: 2008-09-20, 12:50
  4. Nokia 5210 BUG: AT+CPBR DOESN'T WORK!! So what other AT cmd doesn't???
    By g3v70 in forum PC Suite API and PC Connectivity SDK
    Replies: 2
    Last Post: 2004-02-20, 14:55
  5. Why PC connectivity SDK 2.1 doesn't work while Logomanager work?
    By ngkanto in forum PC Suite API and PC Connectivity SDK
    Replies: 4
    Last Post: 2002-10-15, 05:10

Posting Permissions

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