Newbie jQuery mobile problems

Hello

My code does nothing when loaded into a BlackBerry or a device Simulator. For what it's worth, the code gives the output in the browser Chrome. Any help would be appreciated as to why I get all the outputs on BlackBerry.

Thank you

config. XML


http://www.w3.org/ns/widgets" xmlns:rim="http://www.blackberry.com/ns/widgets" version="1.0.0">
  Bashbored Tasks
  Bashbored
  
  
  
  
  

index.html:





    
    Bashbored Tasks
    
    
    
    



    

screenMain.js:

var arrChecklists = [];

function oChecklist()
{
    this.sDescription = "";
};

function initTestData()
{
    for (var i=0; i<3; i++)
    {
        var testChecklist = new oChecklist();
        testChecklist.sDescription = "Test Checklist " + (i+1);
        arrChecklists[i] = testChecklist;
    };
};

function refreshPage()
{
    var sOutputHTML = "";

    initTestData();

    for (var i=0; i"+arrChecklists[i].sDescription+""
    };

    $('#divDisplay').html(sOutputHTML);
};

function keypressEvent(eventKeyPressed)
{
    if (String.fromCharCode(eventKeyPressed) == "n")
    {
        alert("n pressed");
    };
};

function startEventListeners()
{
    $(document).keypress(function (evt)
    {
        keypressEvent(evt.which);
    });
};

$(document).ready(function()
{
    refreshPage();
    startEventListeners();
});

I wonder if it's the location of your folder/library /. It is at the root with your index finger? If so, use "library/otherStuff..." »

Tags: BlackBerry Developers

Similar Questions

  • problem when installing JQuery mobile App

    Hi I really hope someone can help you. I have developed an Android app in dreamweaver SC5.5 using jquery mobile. The application itself works fine, but what installation it tells me that the app is allowed to access all the features of Android, for example: test messages, camera, memory, etc. How can I change this?

    its ok that I found. It is in an external XML file. Thank you two for the answer.

  • jQuery Mobile + BB 9780 (V 6.0) affects exhaust and the text entry

    Hi all

    I'm new here and for BB Dev. So I don't know if it's good for me to post the questions here, but I think it's worth a try, at least.

    I use jQuery Mobile, 1.1.1 to develop an application of BB.

    At this point, I make the user interfaces and obtained the following:

    1 ESC:

    When in the keyboard ESC is enabled, rather than go back to the previous pagew within the app, the app is exited. I tried the codes. as:

    But it does not work.

    2.

    Just like in the region of inputable, text field, text box or search, to get the focus they are blakced, means, users can't really see what they type in. Moreover, the 9790 (V 7.0), I don't deal with the same issue.

    So I was wondering if somebody here has got the same problems, and I'd want to share their solutions.

    Thank you.

    D

    WRE use according to api.

    http://docs.PhoneGap.com/en/2.0.0/cordova_events_events.MD.html#backButton

  • Cannot run the BlackBerry 10 jQuery Mobile theme kitchensink

    I downloaded the BlackBerry 10 jQuery Mobile theme and I wanted to try how it works on the Dev Alpha.

    I created this config.xml file


    http://www.w3.org/ns/widgets ".
    "xmlns:RIM ="http://www.blackberry.com/ns/widgets"
    version = "1.0.0.0" rim: header = "JQKS" >
    http://www.dandandin.NET/ ".
    RIM: copyright = "Copyright 2012 Dandandin.net" > Dandandin.net ".

    JQ Kitchensink
    An application to test jquery

    and I put it on /kitchensink

    Then I packed /kitchensink and loaded on my dev alpha, but I get this:

    I can press OK, but the application is frozen.

    If I load on my local Web server and browse the dev Alpha it works, what's the problem?

    Make it work, you must upgrade to the latest SDK 1.0.3.8.

    I had 1.0.2 and it did not work.

  • jQuery Mobile BB10 theme: arrow on the display of the list

    In the jQuery Mobile BB10 theme, I'm having a time difficult trying to implement what should be a simple visual style on a listview that contains a href.

    My application has two types of lists. Normal list (without links) is ok.

    The list that contains a href is where my problem is. The two lists are the same and I have no way for the user to distinguish easily a link and a non.

    I tried several variants of setting [Data-icon = 'arrow-r'] and [Data-icon = "interface user-icon-arrow-r"] at the same time the

      and
    • levels.

      I might add and manipulate [class = "UI-li-aside"] or [class = 'interface User-li-count'] fields to insert an image of the arrow?

      I know that there is an easy solution that I'm on.

      Thanks for your help.

      Jason Scott on GitHub https://github.com/blackberry/jQueryMobile-BB10-Theme/pull/12

      provided me with the fix for jQuery Mobile BB10 theme code.

      Corrections: #9
      List items are by default to no icon, but can be overwritten using
      data-icon=arrow-ron the

        ,
      • or using
        $.mobile.listview.prototype.options.icon = "arrow-r";

        This resulted in an update to the GitHub repository. Please download the new files if you do not use a cloned branch that updates automatically. https://github.com/BlackBerry/jQueryMobile-BB10-theme

    • JQuery Mobile fixed foot bar disappears when the orientation changes

      I develop mobile applications using JQuery Mobile, in the home page which is the home page, everything is fine but when you go to the next page and change of ths foot disapers completely orientation, but the code that I use for all pages are the same

      Here is the code that I use for the foooter

        
      

      Help, please

      regarding

      Thanks for answer, I have the problem solved,

      I just added

      data-position = "fixed".

      and it solved the problem

      so now the correct code is

    • Characteristics of navigation Ajax JQuery Mobile on OS 5

      Hi all

      I want to develop blackberry app using jquery mobile, my target device's OS 5, I access the mobile site of jquery and I got this information for OS 5

      "Improved experience, except without the Ajax navigation features.

      What should I do to solve this problem on OS 5? should I disable the ajax navigation feature? How can I do?

      so thank you very much I really need you all help

      As I said earlier, WebWorks in 5.0 has full AJAX supports you shouldn't need to do anything special to all the

    • Samsung Tablet android jQuery Mobile Smartphone app

      Hello

      I have an application that I created for mobile devices. I created the application as a "jQuery Mobile Smartphone" instead of a desktop application and I used the theme of "jQuery Mobile Smartphone» The application is a simple application of APEX 4.2.5 report form. My problem is that my request of application link cannot open on a smartphone. These applications work fine on my iPhone. It seems that android devices cannot run the APEX. Is there a reason for this? Do I need to install something to be able to run APEX on android devices? I tried it on two different Android tablets, a Samsung and an Asus. Any suggestions?


      Thank you

      Bao

      Hi Baonerges,

      Baonerges wrote:

      I have an application that I created for mobile devices. I created the application as a "jQuery Mobile Smartphone" instead of a desktop application and I used the theme of "jQuery" Mobile Smartphone The application is a simple application of APEX 4.2.5 report form. My problem is that my request of application link cannot open on a smartphone. These applications work fine on my iPhone. It seems that android devices cannot run the APEX. Is there a reason for this? Do I need to install something to be able to run APEX on android devices? I tried it on two different Android tablets, a Samsung and an Asus. Any suggestions?

      Where you have installed Oracle APEX? I guess on your desktop computer.

      Oracle APEX application is a web application and you have access to devices through who to support internet and a browser.

      Connect your android device with your Oracle APEX web server and you can run the application by using URL APEX.

      Otherwise import your application to apex.oracle.com, and then run Internet on your android device.

      The brand of Samsung/Asus android device had to do anything with access to your mobile app of the APEX.

      Kind regards

      Kiran

    • Slidemenu does not load the first time in JQuery Mobile App

      Hello

      I have a Jquery Mobile app with a slidemenu in overall page, and it appears with the push of a button or a simple touch on the screen, the style of facebook. My problem is that the first time that the application loads, the menu never pops out, even if you press the button a thousand times. You must refresh the page, and then in the works in all pages of the application over the life of the session. If your disconnection and enter again, you need to refresh.

      You can see an example here: http://cic-team.no-ip.biz:9090/apex/f? p = 112:2 user: Demo Passw: 1234abc

      The menu is in a region "after the heading" as a type "list: Menu ' with this custom model: http://i236.photobucket.com/albums/ff289/Best1989/template.png

      The button has the following attributes: data-slidemenu = "#slidemenu" data-slideopen = 'false' style = "margin-left: 0px!" important; »

      Maybe the Javascript or CSS are not load correctly the first time, but insert the menu in other areas has not worked for me. I read with pleasure your comments and suggestions.

      I use Apex 4.2.0.

      Thanks in advance.

      With some research, I found the answer to my question, please check this:

      http://www.gajotres.NET/how-jQuery-mobile-page-handling-affects-JavaScript-executions/

      The problem is that I was not load menu in the login page (which is the first of all) classes and when you've actually got to the page where the button and the menu is displayed, it has not loaded classes.

      Solved the problem of loading of the components in the first page but keeping hidden.

    • Anchor using JQuery Mobile issues

      I'm having a lot of problems with getting the anchors to work properly all using JQuery Mobile Starter/Page template. My instructor gave me a javascript to use, but that also does not work correctly. I tried a lot of different options to acquire to work and correctly and I had no chance. It is a project that is due next week and right now, it's the only thing that holds back me. So, basically, what I'm trying to do is is when you click on reference points that it'll bring you to a new page with various of the city, and when you click on a city, it brings you to the anchor so you can start reading my information.

      The first anchor controlled by javascript works correctly, but when I add my second anchor and test it, it will go to the first position of anchors, but a few paragraphs down. If I add a third it will only go down the page a little bit as if he were not moved at all.

      A lot of help is greatly appreciated

      Landmarks

      Youngstown

      Mill of lanterns of Mill Creek Park

      Mill Creek Park (officially called Mill Creek MetroParks) is an urban park located in Youngstown, Ohio. The Trust for Public Land is a part of the Mill Creek the largest 142rd Park located within the limits of an American city. Mill Creek MetroParks extends now on the West side near Youngstown to the southern border of the city and nearby Boardman Township. The Park "encompasses approximately 4400 acres (10.5 km²), 20 mi (32 km) of drives and 15 mi (24 km) of hiking trails" as well as a variety of bridges, ponds, streams, well-tended gardens and waterfalls. If including the total size of the park system, Mill Creek ranks among the largest metropolitan parks owned by the city of any American city limits.

      The Butler Art Institute 



      The Butler Institute of American Art, located on the Avenue of Wick at Youngstown, Ohio, United States, was the first museum dedicated exclusively to American art. Created by local industrial and philanthropist Joseph G. Butler, Jr., the Museum operates on a voluntary basis since 1919. The original structure, dedicated in 1919, is a McKim, Mead and White architectural masterpiece listed on the National Register of historic places.

      Stambaugh Auditorium

      Stambaugh Auditorium opened in 1926 through the generosity of Henry H. Stambaugh. It is located on Fifth Avenue, in front of the Park Wick at Youngstown, Ohio. Stambaugh is nearly equidistant from Chicago and New York, as well as Cleveland and Pittsburgh. Cleveland Hopkins Airport and the Pittsburgh International Airport are less than an hour. New York City or Chicago, flight an hour of. Access to highways 80, 76 and 11 is a block away. More than 1 million people live in the immediate catchment 6 County area. Youngstown State University with more than 14,000 students is two blocks away. There are many other universities and colleges within an hour by car, with a combined student population of more than 75,000.

      Dayton

      Dayton is the sixth largest city in the State of Ohio and is the seat of Montgomery County. As of 2010 census, the population was 141 527; Dayton metropolitan area had 841 502 inhabitants, making it the fourth largest metropolitan area in Ohio, after only the cities of Cleveland, Cincinnati and Columbus and the 63rd largest in the United States. The Dayton-Springfield-Greenville combined statistical area had a population of 1 080 044 in 2010 and is the 43rd largest in the United States. Dayton is located in the Miami Valley of Ohio area just north of the Cincinnati-Northern Kentucky metropolitan area.

      Carillon Historical Park

      The Park puts you in the history of the region - Dayton establishment in 1796 by the bias of two centuries of expansion, industrialism, and innovation. Learn more about these revolutionary achievements while you stroll in the Park's 25 historic buildings and interact with hundreds of artifacts in our exhibitions. Where else can you see the original 1905 Wright Flyer III, the first plane practice world and National Historic Landmark, the 1835 B & O (Grasshopper) steam locomotive and the first automobile self-starter?

      Arboretum of cemetery

      Woodland was incorporated in 1842 by John Whitten Van Cleve, the first child of male born in Dayton. [2] he was the son of Benjamin Van Cleve and Mary Whitten Van Cleve. The cemetery began with 40 acres (160 000 m2) southeast of Dayton and was expanded to its current size of 200 acres (0.81 km2). Plus 3,000 trees and 165 specimens of native Midwestern and woody plants trees adorn the hills. Many of the trees are more than a century, and 9 have been designated "Ohio Champions". The highlight in Dayton is the cemetery, and during the great flood of 1913 Dayton, it became a place of refuge.

      Christopher Columbus

      Cleveland

      Cincinnati

      Akron

      Toledo

      Explore Ohio © 2015 MU

      Restaurants

      Content

      Explore Ohio © 2015 MU

      Attractions

      Content

      Explore Ohio © 2015 MU

      Ohio Sports

      Content

      Explore Ohio © 2015 MU

      Ohio history

      Content

      Explore Ohio © 2015 MU

      Hotels

      Content

      Explore Ohio © 2015 MU

      Just to clarify some terms. An anchor point is what we all call a hyperlink. You refer to the name attribute of the anchor tag.  Named anchors are deprecated, but whether you use them or element ID that they work the same.  Not really sure that you posted after your question - can you just after the code?

      > The first anchor controlled by javascript working correctly.

      > but when I add my second anchor and test it, it will go to the

      > anchors first position, but a few paragraphs down. If I add a third

      > It will only go down the page a little bit as if he were not moved at all.

      Is there enough room for the page scroll? Links to specific locations in a page works by scrolling through the page. If there is not enough left on the page height, it can not scroll and may give the impression that it doesn't. Is this what is happening? If this isn't the case, then you will need to view the code.

    • jQuery Mobile - Popup doesn't open after F5, but not on the first page load

      Greetings guys,

      Unfortunately, there is very little documentation on how to combine the APEX 4.2 with jquery mobile components, so I hope that some geniuses here can help me.

      On a single page with a bunch of hole components, there is also a popup div
      <div id="myPopup" data-role="popup">
         <!-- close button, safe button, input field and short list... -->
      </div>
      He gets open with js:
        $( "#myPopup" ).popup( "open" );
      This all works well, not to mention that the face that it works as after you refresh the page!
      The page loads via js:
          $.mobile.changePage('f?p='+ $v('pFlowId') +':20:' + $v('pInstance') 
                             , { transition:"slide", reloadPage:true });
      ... who also works very well so far. Same problem, I had before when I was using a dialog instead of the pop-up box. -only show after refreshing the page.

      This must surely have something to do with how JQM loads and makes the page (outside the APEX-job) - a simple enough question. I also tried different ways of calling the page, without any difference to this problem. Unfortunately I'm quite new to work with JQM, so maybe someone here can help me.

      Thank you very much in advance,
      Best regards
      Tobi

      When you think the loading multiple pages is the issue that you can fix that by using the variable apex.gPageContext$ .

      In order to get the popup in the use of the last page / current / real: $("#myPopup",_apex.gPageContext$).popup ("open")

      Documentation says (not more and not less then):
      apex.gPageContext$-used to limit the jQuery to the active desktop or Mobile current page jQuery selectors.

    • Animated border code in Dreamweaver jquery mobile theme?

      I have trouble getting my Edge file animate to work on my website in Dreamweaver jquery mobile theme. I was told to get my file code animate and put it in my dreamweaver site. A bit like this... copy the code of execution of Edge, paste into web site < title >. Then to copy div phase code and paste it into my site in the content div. I can't make it work. So it appears white.

      OK, I got it. I did that much more difficult so he had to be. If anyone has this problem, you simply publish your project in Adobe Edge animate, then save them in the folder you use for your Web site. Then, in Dreamweaver, you can insert media, search for the file and insert it. All right.

    • Blackberry JQuery Mobile demo works in which devices?

      Blackberry JQuery Mobile demo works in which devices?

      jQuery Mobile works on all BlackBerry platforms. It has better support on BB10 however, due to much better browser HTML5.

    • Look in the theme of BB10 JQuery Mobile

      After watching the videos of BlackBerry Jam through the UI (and any other guidelines
      "I can find documentation), I'm trying to implement the Peek function in jQuery Mobile BB10
      Theme.

      Everything works fine when I click on the back button on a page. (Page slides to the right for)
      reveal the next level in the hierarchy).

      If the user is supposed to be able to control the Peek with their finger, should I code back
      button to switch somehow that the user moves his finger? So I guess that once a threshold
      reached the continuous page to move to the right to reveal the underlying page?

      In addition, an area touch active also set on the left side of the window that allows the
      user drag across the page in a way that is not accurate (as suggested in the videos)? This active area will interfere with a gesture of the bezel, such as switching to another app on the PlayBook?

      If Peek is supposed to be a central element in the new BB10 experience, I have a feeling developers will be everywhere with this if it is not included as part of development. (Just a thought...)

      Simply put upward

      https://github.com/BlackBerry/BB10-WebWorks-samples/pull/20

    • jQuery Mobile BB10 theme: the Application (kick-down) Menu

      I use the latest released version of the jQuery Mobile BB10 theme to develop my apps. I have some questions on how to implement the Application Menu (or sliding down):

      1. I understand the instructions for user interface while the Application Menu is no longer an overlay on top of the current screen (because we are used to seeing in the PlayBook OS 2 applications)? Is the Menu of the Application requires to press the entire page (or screen) down to display the menu buttons?

      2. the Application Menu included in jQuery Mobile BB10 theme, or do we need to implement the set up menu and keys by using a custom code? It is relatively easy to implement this function. I just want to make sure my code matches what is in the BB10 theme.

      Thank you.

      Hello ProLove360,

      I don't think JQuery UI BB10 theme includes a blow in the drop down menu, but the implementation of the menu to slide down to BB10 in WebWorks is not set in stone. In fact, it is very expensive (side performance) to go down the whole container to reveal the menu, therefore a superposition of the top does work better in my opinion.

      You can use the example below for a shot in the menu drop-down:

      https://github.com/BlackBerry/BB10-WebWorks-samples/tree/master/swipemenu

Maybe you are looking for

  • Safari freezes my Mac

    Recently my MacBook Air has begun to freeze everything using Safari. I have to stop it by pressing the power button to restar it. I noticed that this happens especially when the photos or videos are involved. Any clue? How can I solve this?

  • Unknown device Lenovo G510!

    Hello I have hust installed windows 7 and all drivers in my new Lenovo G510 There is always an 'unknown device' in 'Other devices' in Device Manager... What could be? I installed all possible drivers! Under details-> value of hardware ID is root\Leno

  • Connect Velleman card in LabVIEW

    Hello, I'm Steve, I am new to LabVIEW, but I searched a lot of information before asking for help.

  • Waveform to the Multiplication of matrices

    Hi all. I have a DAQ - MX file that brings a table 1 d of waveforms. This will be either six, seven or eight waveforms (based on the previous settings). Regardless of how many there are, I want to take the first six of these waveforms and a matrix mu

  • HP Jet x 360: not enough space for the full Windows 10 upgrade

    Just got a HP x 360 for my granddaughter stream.  Indicates its eligible for the upgrade of Windows 10.  When I try to install it through the process, but before it ends and the error comes up saying not enough space. I have to add memory and if so,