View Single Post
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#79
Hmmm... Does anybody know how would I launch a mojo app from command line on Palm (pure command line, such as in N900)?

Update: I modified a bit the index.html, here's what firefox tells
Code:
[11:46:25.601] file:///media/DANE/proj/palm/gen2/usr/palm/applications/com.palm.app.findapps/index.html
[11:46:25.649] file:///media/DANE/proj/palm/gen2/usr/palm/frameworks/mojo/mojo.js
[11:46:25.666] file:///media/DANE/proj/palm/gen2/usr/lib/luna/luna-network/stylesheets/system-notification.css
[11:46:25.670] file:///media/DANE/proj/palm/gen2/usr/palm/applications/com.palm.app.findapps/stylesheets/appcatalog.css
[11:46:25.687] Error in parsing value for 'background'.  Declaration dropped. @ file:///media/DANE/proj/palm/gen2/usr/palm/applications/com.palm.app.findapps/stylesheets/appcatalog.css:76
[11:46:25.694] Error in parsing value for 'min-height'.  Declaration dropped. @ file:///media/DANE/proj/palm/gen2/usr/palm/applications/com.palm.app.findapps/stylesheets/appcatalog.css:346
[11:46:25.698] Error in parsing value for 'background-position'.  Declaration dropped. @ file:///media/DANE/proj/palm/gen2/usr/palm/applications/com.palm.app.findapps/stylesheets/appcatalog.css:459
[11:46:25.705] Unknown property 'box-sizing'.  Declaration dropped. @ file:///media/DANE/proj/palm/gen2/usr/palm/applications/com.palm.app.findapps/stylesheets/appcatalog.css:1214
The content of index.html is:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

<head>
	<!-- Timing
	<script type="text/javascript">
		var timer = new Date();
		var total = new Date();
	</script>
	-->
	
	<meta name="viewport" content="height=device-height">
	<script src="../../frameworks/mojo/mojo.js" x-mojo-version="1" xx-mojo-submission='trunk' type="text/javascript"></script>
	<!-- Some library code clones this out of here into the dashboard window ... sigh -->
	<link href="../../../lib/luna/luna-network/stylesheets/system-notification.css" rel="stylesheet" type="text/css" />
	<link href="stylesheets/appcatalog.css" rel="stylesheet" type="text/css" />
	
	<!-- Timing
	<script type="text/javascript">
		var curr = new Date();
		console.log("@@@@@@@@@@@@@@@@@@@ FW load diff: " + (curr.getTime() - timer.getTime()));
		console.log("@@@@@@@@@@@@@@@@@@@ FW load total: " + (curr.getTime() - total.getTime()));
		timer = new Date();
	</script>
	-->
</head>

<body>
</body>

</html>
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here

Last edited by marmistrz; 2012-02-11 at 11:10.