Reply
Thread Tools
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#71
Hmmm..... I can just add this what isn't in maemo yet...
I can play a bit

And if I mess something up, I can always reflash

Are there some essential libs that Mojo apps won't run without for sure?
How are run the hybrid apps in WebOS? What's the procedure?
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 
cddiede's Avatar
Posts: 1,034 | Thanked: 784 times | Joined on Dec 2007 @ Annapolis, MD
#72
Originally Posted by marmistrz View Post
Hmmm..... I can just add this what isn't in maemo yet...
I can play a bit

And if I mess something up, I can always reflash

Are there some essential libs that Mojo apps won't run without for sure?
How are run the hybrid apps in WebOS? What's the procedure?
Really good questions. Maybe a good place to ask would be over at the WebOS internals forums?
 
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#73
Alright, I'll ask there 2moro
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 
Posts: 1,397 | Thanked: 2,126 times | Joined on Nov 2009 @ Dublin, Ireland
#74
marmistrz, why don't you try to replicate Javispedro approach by chrooting the WebOS image?
 

The Following User Says Thank You to ivgalvez For This Useful Post:
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#75
I'll try it...
But I'll try finding a direct-preenv way - just not to wait these 80 secs

EDIT: http://forums.webosnation.com/webos-...brid-apps.html. Posted here, but up to now, no reply. If somebody knows the answer, I encourage to post it UPDATE: finally an answer on this forum

EDIT2: Maybe there would be some way to run the webos emulator verbosely?
__________________
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-06 at 13:55.
 

The Following User Says Thank You to marmistrz For This Useful Post:
Posts: 1,523 | Thanked: 1,997 times | Joined on Jul 2011 @ not your mom's FOSS basement
#76
Wasn't that you who found the source code to Symbian too?
 

The Following User Says Thank You to don_falcone For This Useful Post:
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#77
Nope. I was trying to do something but I didn't manage to do it.

Getting back 2 the topic:
I installed Palm SDK. The App Catalog wasn't there, but I was able to find its ipk. Here's what the App Catalog logs:
Code:
following logs for application com.palm.app.findapps on device "emulator" {b84a5eb698c46a694a59d5aa68c4b53324159ef2} tcp 39584
[20120207-16:57:09.284351] info: =========> Calling palmInitFramework506, /usr/palm/frameworks/mojo/mojo.js:142
[20120207-16:57:10.452409] error: Uncaught ReferenceError: AppLists is not defined, allscriptscompressed.js:1
[20120207-16:57:12.003958] error: Weave.Utilities.AppCategoriesHelper._fetchCategoriesFromServer failed!
[20120207-16:57:12.004168] error: Errors.displayError errorCode failure, args undefined, defaultError undefined, defaultMessage undefined
[20120207-16:57:12.004237] error: Errors._displayErrorPage failure
[20120207-16:57:12.137263] error: **** error in obtaining token {"errorText": "Token could not be fetched", "errorCode": "NO_TOKEN", "exception": "[object Object]", "returnValue": false}
[20120207-16:57:12.137485] error: **** error in obtaining token {"errorText": "Token could not be fetched", "errorCode": "NO_TOKEN", "exception": "[object Object]", "returnValue": false}
[20120207-16:57:12.847705] error: ERROR failure
[20120207-16:57:12.862760] error: An exception occurred in the 'error' scene's setup() method.
[20120207-16:57:12.863157] error: Error: Cannot read property 'style' of null, line undefined, file undefined
[20120207-16:57:13.011937] error: Uncaught TypeError: Cannot read property 'mcc' of undefined, allscriptscompressed.js:1
[20120207-16:57:13.023971] error: Errors.displayError errorCode failure, args undefined, defaultError undefined, defaultMessage undefined
[20120207-16:57:13.025815] error: Errors._displayErrorPage failure
[20120207-16:57:13.039693] error: ERROR failure
[20120207-16:57:13.053063] error: An exception occurred in the 'error' scene's setup() method.
[20120207-16:57:13.053779] error: Error: Cannot read property 'style' of null, line undefined, file undefined
what's that token?
more important: can we provide the token other way?

we can ssh to the emulator and this way copy the files. So the only problem is the app catalog not running
__________________
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-07 at 16:21.
 
Posts: 1,523 | Thanked: 1,997 times | Joined on Jul 2011 @ not your mom's FOSS basement
#78
Originally Posted by marmistrz View Post
EDIT: http://forums.webosnation.com/webos-...brid-apps.html. Posted here, but up to now, no reply. If somebody knows the answer, I encourage to post it UPDATE: finally an answer on this forum
Good luck with those.
 

The Following User Says Thank You to don_falcone For This Useful 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.
 
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#80
Here are the "fixed" appcatalog.css and index.html.
"fixed" means that firefox doesn't throw errors but this has one downside: the app catalog doesn't seem to launch.

Does anybody know where the problem lies?

App Catalog extracted from ipk (/usr/palm/ipkgs/) from webos doctor 2.2.4 http://palm.cdnetworks.net/rom/manta...224mantawr.jar
Attached Files
File Type: zip palm.zip (8.9 KB, 66 views)
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 
Reply


 
Forum Jump


All times are GMT. The time now is 17:42.