I am new to programming telephone calls and hope someone can help me here:
cordova 1.7.0, jQuery 1.7.2, and JQM 1.1.0. The application is being tested on Android.
I am trying to create a launch page for an application.
<body>
<div data-role="page" id="page_loading">
<div data-role="content">
<h1 >
<b>welcome</b>
</h1>
</div>
</div>
<div data-role="page" id="page_1">
</div>
<div data-role="page" id="page_2">
</div>
</body>
I put $.mobile.changePage($('page_1'), { changeHash: false});at the end of the function onDeviceReady(). When the application starts, it immediately shows the download page after the download is complete, it goes to the first page.
On the first page, when I click the button on page_1, it will exit the application. This is what I want.
mobile.changePage, 2. changeHash: false, backbutton . changeHash: true, _1, .
changeHash: true 1, 2 , , .
: backbutton . 2, . 3 .., 1?
, - / . - , ?