webOS Nation Forums

webOS Nation Forums (/)
-   webOS Apps & Games (http://forums.webosnation.com/webos-apps-games/)
-   -   Working Tasks-app of 2.x on 3.x incl.EAS sync (http://forums.webosnation.com/webos-apps-games/321476-working-tasks-app-2-x-3-x-incl-eas-sync.html)

gizmo21 01/27/2013 10:19 AM

Working Tasks-app of 2.x on 3.x incl.EAS sync
 
Derek stated in his first review of the TouchPad on the missing Tasks app: "The omission of a to-do app, a staple on webOS devices for over two years and on Palm OS devices all the way back to the beginning of time, that’s particularly egregious."
It wasn't delivered later on, even if all the groundworks seem to be there.

I just got a TouchPad and had forgotten, that no tasks app would be there to sync my Zarafa (EAS) task which my webOS-phones do without a problem.

So i gave it a shot and just packed \usr\palm\applications\com.palm.app.tasks\ of from the unpacked [B]Pre2[/B] 2.2.4 doctor (important as Pre3 doctor uses the images in wrong /1.5/* folder) using [URL="http://forums.webosnation.com/canuck-coding/237326-ipk-packager.html"]IPK-Packager[/URL].

Installed this IPK on TouchPad with Internals Pro (which installs it to /media/cryptofs/app/usr/palm/applications/) and copied the whole directory from there to
\usr\palm\applications\. It asked if it should overwrite and i did. (There was a basic tasks-files structure with "visible": false attributes in)

After that do a [B]full device restart [/B]and the Tasks (or localized name "Aufgaben"...) will apear in apps and it will launch the Mojo app in phoneformat.

To my suprise all my phone tasks were there. It seems it already restored the tasks-db from my same phone profile at entering the profile data on initial setup of Touchpad.
On top even the Exchange (Zarafa)-Tasks were there and what is best, they even sync in both ways.

[B]Detailed How-to in main article by Ryan (thx):[/B]
[url=http://www.webosnation.com/how-add-tasks-app-your-touchpad]How to add the Tasks app to your TouchPad | webOS Nation[/url]

The drawbacks:
* [s]notifications are not shown cause app seems not to be integrated in 3.x notification framework [/s] --> [URL="http://forums.webosnation.com/webos-apps-games/321476-working-tasks-app-2-x-3-x-incl-eas-sync-2.html#post3381799"]patch to fix this[/URL]
[S]* in accounts (e.g. Exchange) you can not set tasks to "active" as the field and switch is missing, so if your profile hadn't already been actived to sync tasks, it could be that syncing does not work[/S] --> [URL="http://forums.webosnation.com/webos-apps-games/321476-working-tasks-app-2-x-3-x-incl-eas-sync-2.html#post3381799"]same patch to fix this[/URL]
* [S]only small screen .mojo app[/S] --> [URL="http://forums.webosnation.com/webos-apps-games/321476-working-tasks-app-2-x-3-x-incl-eas-sync-2.html#post3381958"]patch for "HD"-fullscreen version[/URL] (in this version all the fixes above are included

Do also a [B]full device restart[/B] after patching with [B]one[/B] of the patches. You can't install both, the decision is between fullscreen or phone format, the rest is the same.

artxxork made an [URL="http://forums.webosnation.com/webos-apps-games/321476-working-tasks-app-2-x-3-x-incl-eas-sync.html#post3379796"]Advanced script to extract from 2.2.4 doctor jar (even Pre3 !) and patch it to full screen, add back buttons and create backup of existing folder all on TP itself[/URL] (i have not tested this)

Herrie 01/27/2013 12:08 PM

Interesting! Patching to full screen should be easy. In the long run it might be good to port it to Enyo 2 :-)

[color=#999999]-- Sent from my TouchPad using Communities[/color]

gizmo21 01/27/2013 03:08 PM

almost forgot, just type adding also works ;-)

[IMG]http://img2.uplood.fr/freepalm/0gs7_from_my_palm_touchpad_internalz_2013-27-01_215741.png[/IMG]
[IMG]http://img2.uplood.fr/freepalm/4rtq_from_my_palm_touchpad_unknown_2013-27-01_215826.png[/IMG]
[IMG]http://img2.uplood.fr/freepalm/m51g_from_my_palm_touchpad_tasks_2013-27-01_215901.png[/IMG]
[IMG]http://img2.uplood.fr/freepalm/2gvh_from_my_palm_touchpad_tasks_2013-27-01_215753.png[/IMG]


if one has an idea for fullscreening...

gizmo21 01/28/2013 06:46 AM

[QUOTE=Herrie;3375421]Interesting! Patching to full screen should be easy. In the long run it might be good to port it to Enyo 2 :-)

[color=#999999]-- Sent from my TouchPad using Communities[/color][/QUOTE]

porting the frontend to enyo2 would be great, but for me exchange active sync is the crucial thing here, so that has to be supported.

Herrie 01/28/2013 08:10 AM

See [url=http://www.webosnation.com/developer-how-to-mojo-apps-touchpad]Developer How-To: Mojo apps on the TouchPad | webOS Nation[/url] for info on fullscreen app. appinfo.json = for fullscreen. Rest of the bits mentioned for javascript it to add the back button for the TP, since it doesn't have a gesture area.

gizmo21 02/05/2013 04:32 PM

[QUOTE=Herrie;3375612]See [url=http://www.webosnation.com/developer-how-to-mojo-apps-touchpad]Developer How-To: Mojo apps on the TouchPad | webOS Nation[/url] for info on fullscreen app. appinfo.json = for fullscreen. Rest of the bits mentioned for javascript it to add the back button for the TP, since it doesn't have a gesture area.[/QUOTE]

thx will see if it's worth the coding as the app does what it should, even if small.

but i found an other obvious lack, notifications are not shown cause app seems not to be integrated in 3.x notification framework.

Vistaus 02/11/2013 12:49 PM

It is worth the coding to make it full screen but it would be even better to port in to Enyo 2. Hope someone can do that.

gizmo21 02/17/2013 06:15 AM

did anyone else try this? Feedback welcome.

gizmo21 02/18/2013 01:48 AM

[QUOTE=;][/QUOTE]
As i got some feedback with a screenshot not showing any grafix, here are screenshots of how the two relevant path look on my TP. Hope that helps.

usr/palm/applications/com.palm.tasks:
This is the path i copied all the stuff to AFTER .ipk install
[url=http://www.uplood.fr/visu.php?url=http://img3.uplood.fr/freepalm/05df_from_my_palm_touchpad_internalz_2013-18-02_083259.png][img]http://img3.uplood.fr/freepalm/thumbnails/05df_from_my_palm_touchpad_internalz_2013-18-02_083259.png[/img][/url]

[url=http://www.uplood.fr/visu.php?url=http://img3.uplood.fr/freepalm/hmaf_from_my_palm_touchpad_internalz_2013-18-02_083310.png][img]http://img3.uplood.fr/freepalm/thumbnails/hmaf_from_my_palm_touchpad_internalz_2013-18-02_083310.png[/img][/url]


/media/cryptofs/apps/usr/palm/applications/com.palm.tasks
This is the path the IPK installed itself to

[url=http://www.uplood.fr/visu.php?url=http://img3.uplood.fr/freepalm/ayjg_from_my_palm_touchpad_internalz_2013-18-02_083424.png][img]http://img3.uplood.fr/freepalm/thumbnails/ayjg_from_my_palm_touchpad_internalz_2013-18-02_083424.png[/img][/url]

[url=http://www.uplood.fr/visu.php?url=http://img3.uplood.fr/freepalm/ub2q_from_my_palm_touchpad_internalz_2013-18-02_083429.png][img]http://img3.uplood.fr/freepalm/thumbnails/ub2q_from_my_palm_touchpad_internalz_2013-18-02_083429.png[/img][/url]

This perhaps not needed anymore and perhaps there is a way to directly install to /usr/palm by editing the IPK after packaging - any Pro would can enlighten me?

gizmo21 02/20/2013 05:36 PM

1 Attachment(s)
[QUOTE=Vistaus;3377670]It is worth the coding to make it full screen but it would be even better to port in to Enyo 2. Hope someone can do that.[/QUOTE]

If someone needs some screens to have an idea to start with Enyo port:


[IMG]https://developer.palm.com/content/api/images/design/wireframe-example-tasks-app-b1.png[/IMG]
more here: [url]https://developer.palm.com/content/api/design/enyo/wireframe-stencils/wireframe-example-tasks-app.html[/url]

So sad it didn't it make it to the 3.x release, even is mentioned in the developer guide. Isn't there somewhere the code lying around at gram?

[IMG]http://forums.webosnation.com/attachment.php?attachmentid=66875&stc=1&d=1361403209[/IMG]
from : [url]http://forums.webosnation.com/hp-touchpad/317757-tasks-app-touchpad-never-released.html[/url]

Rnp 02/21/2013 01:38 PM

[QUOTE=gizmo21;3379274]If someone needs some screens to have an idea to start with Enyo port:


[URL=https://developer.palm.com/content/api/images/design/wireframe-example-tasks-app-b1.png]Click to view quoted image
[/URL]
more here: [url]https://developer.palm.com/content/api/design/enyo/wireframe-stencils/wireframe-example-tasks-app.html[/url]

So sad it didn't it make it to the 3.x release, even is mentioned in the developer guide. Isn't there somewhere the code lying around at gram?

[URL=http://forums.webosnation.com/attachment.php?attachmentid=66875&stc=1&d=1361403209]Click to view quoted image
[/URL]
from : [url]http://forums.webosnation.com/hp-touchpad/317757-tasks-app-touchpad-never-released.html[/url][/QUOTE]

Oh, Man... Im crying a lot each time that I see this... :shake:

So... somebody know if there is some way to increase the Task app to full screen? :D


Best Regards... :cool:

hrminer92 02/21/2013 03:45 PM

I wonder what the excuse was for never releasing it.

gizmo21 02/22/2013 01:39 AM

i tried the remember the milk synergy plug-in and i get the same result not getting displayed tasks in Account settings, so this seems to have nothing to do with the capabilities of the synergy providers but with the task app not promoting synergy that there is an app with task capability:

[img]http://img3.uplood.fr/freepalm/thumbnails/zpb1_from_my_palm_touchpad_accounts_2013-22-02_075349.png[/img]


I think this could be because the 2.x Task app has to register it self with capabilty TASK on firstuse, so the Accounts know that there is a app that could use this capability.
[B]Any dev knowing how to do this with an Mojo app?[/B]

The stock enyo apps seems to this with a FirstLaunchView.js here capability CALENDER
[Code]
enyo.kind({
name : "calendar.FirstLaunchView",
kind : enyo.VFlexBox,
className : "enyo-bg",

components: [
{kind:"ApplicationEvents", onUnload: "unloadHandler"},
{name: "firstLaunch", kind: "firstLaunchView", onAccountsFirstLaunchDone: "firstLaunchCompleted", capability: 'CALENDAR',
iconSmall: "../images/header-icon-calendar48x48.png",
iconLarge: "../images/icon-256x256.png"}
],

[/Code]


[url]http://forums.webosnation.com/webos-synergy-synchronization/322796-remember-milk-synergy-plugin.html[/url]

greenoyster 02/22/2013 03:08 AM

[QUOTE=gizmo21;3379567]i tried the remember the milk synergy plug-in and i get the same result not getting displayed tasks in Account settings, so this seems to have nothing to do with the capabilities of the synergy providers but with the task app not promoting synergy that there is and app with task capability:

I think this could be because the 2.x Task app has to register it self with capabilty TASK on firstuse, so the Accounts know that there is a app that could use this capability.
[B]Any dev knowing how to do this with an Mojo app?[/B]
[/QUOTE]

The problem is that the accounts ui is deliberately hiding the task capability on 3.x:

[url]https://github.com/enyojs/enyo-1.0/blob/master/framework/lib/accounts/source/modify.js#L172[/url]

Herrie 02/22/2013 04:06 AM

[QUOTE=greenoyster;3379585]The problem is that the accounts ui is deliberately hiding the task capability on 3.x:

[url]https://github.com/enyojs/enyo-1.0/blob/master/framework/lib/accounts/source/modify.js#L172[/url][/QUOTE]
In that case it's an easy fix to patch Enyo to allow the Tasks capability :)

gizmo21 02/22/2013 08:29 AM

[QUOTE=greenoyster;3379585]The problem is that the accounts ui is deliberately hiding the task capability on 3.x:

[url]https://github.com/enyojs/enyo-1.0/blob/master/framework/lib/accounts/source/modify.js#L172[/url][/QUOTE]

thx i searched my *** off the other day to find where EAS hides the TASK capabilty and ended up seeing that it should all be there.
I'll try to remove this workaround of Palm and then get a patch out for 2.x Tasks on TP users :) .

Great comment btw, it seems they just had not enough time/manpower:

[CODE]var c = this.template.capabilityProviders[inIndex];
// Temporary fix: Don't show Tasks until there is a tasks app (making use of the fact that Tasks will be last in the list)
if (c.capability === "TASKS")
return false;[/CODE]

gizmo21 02/22/2013 12:58 PM

get account capability switch TASKS
 
it works just comment out the two lines in /usr/palm/frameworks/enyo/0.10/framework/lib/accounts/source/modify.js
Line 173:
[code]
var c = this.template.capabilityProviders[inIndex];
// Temporary fix: Don't show Tasks until there is a tasks app (making use of the fact that Tasks will be last in the list)
//if (c.capability === "TASKS")
// return false;
this.$.capability.setContent(c.displayText);[/Code]

[img]http://img3.uplood.fr/freepalm/thumbnails/af9v_from_my_palm_touchpad_accounts_2013-22-02_194817.png[/img]

will make a patch for it. I love this community, thx again greenoyster.

artxxork 02/23/2013 01:39 PM

1 Attachment(s)
Attached is little script that will automatically extract (from doctor) - install (into /usr/palm/applications) - patch (full-screen with back button) Tasks app.

Note: Commander is required to be installed on device (as built-in unzip/busybox cannot handle jar files) - or at least /media/cryptofs/apps/usr/palm/applications/xx.commander/bin/7za executable must be present

Usage:
1. copy tasks4tp.zip to device (or extracted tasks4tp.sh)
2. copy webos doctor 2.x jar file to device
3. run tasks4tp.sh (on device; root access required)
4. reboot device

60RH 02/23/2013 11:03 PM

[QUOTE=gizmo21;3378855]As i got some feedback with a screenshot not showing any grafix, here are screenshots of how the two relevant path look on my TP. Hope that helps.

usr/palm/applications/com.palm.tasks:
This is the path i copied all the stuff to AFTER .ipk install
[url=http://www.uplood.fr/visu.php?url=http://img3.uplood.fr/freepalm/05df_from_my_palm_touchpad_internalz_2013-18-02_083259.png][URL=http://img3.uplood.fr/freepalm/thumbnails/05df_from_my_palm_touchpad_internalz_2013-18-02_083259.png]Click to view quoted image
[/URL][/url]

[url=http://www.uplood.fr/visu.php?url=http://img3.uplood.fr/freepalm/hmaf_from_my_palm_touchpad_internalz_2013-18-02_083310.png][URL=http://img3.uplood.fr/freepalm/thumbnails/hmaf_from_my_palm_touchpad_internalz_2013-18-02_083310.png]Click to view quoted image
[/URL][/url]


/media/cryptofs/apps/usr/palm/applications/com.palm.tasks
This is the path the IPK installed itself to

[url=http://www.uplood.fr/visu.php?url=http://img3.uplood.fr/freepalm/ayjg_from_my_palm_touchpad_internalz_2013-18-02_083424.png][URL=http://img3.uplood.fr/freepalm/thumbnails/ayjg_from_my_palm_touchpad_internalz_2013-18-02_083424.png]Click to view quoted image
[/URL][/url]

[url=http://www.uplood.fr/visu.php?url=http://img3.uplood.fr/freepalm/ub2q_from_my_palm_touchpad_internalz_2013-18-02_083429.png][URL=http://img3.uplood.fr/freepalm/thumbnails/ub2q_from_my_palm_touchpad_internalz_2013-18-02_083429.png]Click to view quoted image
[/URL][/url]

This perhaps not needed anymore and perhaps there is a way to directly install to /usr/palm by editing the IPK after packaging - any Pro would can enlighten me?[/QUOTE]


The reason for missing backgrounds and all kind of images on this is the pre3 version of the doctor. I made the mistake to decompress the pre3 doctor long time ago and was puzzled why the thing didn't work.
Apps are exactly the same the only diff is the images folder and the fact that the pre3 only has one subfolder 1.5 there with the same set of images where the pre2 has the set in the images.
Hope that saves somebody's time:D

PalmPixi_User23 02/28/2013 10:27 PM

[QUOTE=hrminer92;3379510]I wonder what the excuse was for never releasing it.[/QUOTE]

No one will never know, but what's visible not only HP laziness but the WebOS Team as well...... I still find it amazing that WebOS team never released the WebOS 2.2.4 on Verizon for Pre 2 users :shake:


All times are GMT -5. The time now is 08:11 AM.



Content Relevant URLs by vBSEO 3.6.0