Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

SmartGWT.Mobile & PhoneGap - DateItem / TimeItem / DateTimeItem not working

$
0
0
This can be demonstrated by compiling the showcase into an PhoneGap iOS app.

When it is running select "Forms" -> "Pickers".

The "Due Date", "Arrival Time" and "Datetime" fields do not bring up a selector when they are touched... unlike when running in a web browser.

Thank-you very much for any assistance you can offer.

Versions:

Code:

smartgwt-mobile-1.0d_2015-02-02
GWT 2.6.1
PhoneGap v 3.6.0-0.21.19
iOS 8.1.1  iPad
(or running the iOS simulator)

Build instructions:

Changed 'build.xml' gwtc argument to:

Code:

<arg value="com.smartgwt.mobile.showcase.ShowcaseIOSApp"/>

Added the following lines to ‘index.html’ (following the instructions):

Code:

<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<meta name="format-detection" content="telephone=no”>
<script type="text/javascript" charset="UTF-8" language="JavaScript" src="phonegap.js"></script>

<script type="text/javascript" language="JavaScript">
document.addEventListener("deviceready", function onDeviceReady() {
    window.isDeviceReady = true;
    document.removeEventListener("deviceready", onDeviceReady, false);
}, false);
</script>

Build commands:

Code:

ant gwtc

phonegap create --id com.isomorphic.mobile.apps.Showcase --name "ISC Showcase" project_folder

rm -r project_folder/www/*

cp -r war/* project_folder/www/

cd project_folder

phonegap build ios


Viewing all articles
Browse latest Browse all 4756

Trending Articles