I am trying to develop applications with Maqetta be distributed on
Android devices. My application uses components dojox.mobile
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Untitled</title>
<style>@import "themes/claro/claro.css";@import "app.css";
</style>
<link rel="stylesheet" type="text/css" category="android" href="./
dojo/dojox/mobile/themes/android/android.css"/>
<link rel="stylesheet" href="lib/dojo/dojox/mobile/themes/
buttons.css" type="text/css"/>
<link rel="stylesheet" href="lib/dojo/dojox/mobile/themes/
domButtons.css" type="text/css"/>
<style>@import "themes/claro/claro.css";@import "app.css";@import
"style.css";
</style>
<script type="text/javascript" src="maqetta/maqetta.js"></script>
<script type="text/javascript" src="maqetta/States.js"></script>
<script type="text/javascript" src="lib/dojo/dojo/dojo.js"
djConfig="parseOnLoad: true"></script>
<script type="text/javascript">
require(["dojox/mobile"]);
require(["dojox/mobile/deviceTheme"]);
require(["dojox/mobile/compat"]);</script>
<meta name="viewport" content="width=device-width, initial-
scale=1.0, user-scalable=no"></meta>
</head>
<body class="claro" data-maqetta-device="android_340x480"
dvFlowLayout="true" data-davinci-ws="collapse" id="myapp">
<div id="View_1" data-dojo-type="dojox.mobile.View" style="height:
100%;" selected="selected">
<h1 label="Heading" data-dojo-type="dojox.mobile.Heading"></h1>
<ul data-dojo-type="dojox.mobile.EdgeToEdgeList">
<li data-dojo-type="dojox.mobile.ListItem" moveTo="View_2">
Item 1</li>
<li data-dojo-type="dojox.mobile.ListItem">
Item 2</li>
</ul>
</div>
<div id="View_2" data-dojo-type="dojox.mobile.View" style="display:
none; height: 100%;">
<h1 label="Heading 1" data-dojo-type="dojox.mobile.Heading"
moveTo="View_1" back="Home"></h1>
</div>
I have exported the Maqetta project with dojo library and imported in
the Eclipse project with PhoneGap library. When I run the poject on
Android 2.3 simulator, the app does not work ed it no read dojo
library.
I have read that there are problems with the Dojo libraries as they
are exported from Maqetta, because they contain files that start with
underscores, see
https://github.com/maqetta/maqetta/wiki/Deploying-Maqetta-projects-to-PhoneGap
I would like to know what is the right workaround to solve this
problem for create Android native App with Maqetta e PhoneGap.
Let me know if you are working on Maqetta to solve this problem.
Thanks.
Jack