Crimson Fields for WebOS Source Code

Nobody did request it, but anyway, before trying to fix the issues with campaign mode, I’m going to release the adjusted source code of Crimson Fields for WebOS version 1.2.1, based on the original source code from version 0.5.3.
Download it from http://www.metaviewsoft.de/crimson-0.5.zip
You need to install the current SDK/PDK for WebOS from HP/Palm. For easier debugging, I used Visual Studio to debug on my Windows computer.

März 2, 2011 · admin · One Comment
Posted in: Allgemein

Original Palm Pre auf WebOS 2.1 updaten

Hier wollte ich mal kurz beschreiben, was ich machen musste um meinen Palm Pre, gekauft im November 2009, auf das gerade veröffentlichte WebOS 2.1 upzudaten.

Als Vorbereitung sollte man dafür sorgen, das
1. Die WebOS-interne Datensicherung auf aktuellem Stand ist.
2. Mit Save/Restore aus dem Preware-Katalog die meisten Anwendungseinstellungen gesichert sind.
3. Ein Backup aller Anwendungen z.B. mit meinem kleinen Tool mybackup durchgeführt wurde.
4. Die USB-Partition komplett auf dem Desktop-PC gesichert wurde.

Im weiteren beschreibe ich die Vorgehensweise auf meinem WindowsXP-System.

1) Die Benutzung von mybackup ist ein wenig tricky. Man kopiert sich die kleine Anwendung (aus dem Zip entpacken) auf das USB-Laufwerk des Pre. Dann braucht man einen Shellzugang zum Pre. Novaterm oder Putty auf localhost:5522 bei eingeschaltetem Developerzugang sollte funktionieren.
Zum Backup geht man einfach auf den Pre, wechselt ins Root-Verzeichnis “cd /” und gibt “/media/internal/mybackup” ein. Dann öffnet sich auf dem Pre eine PDK-Anwendung bei der man auf Backup tippt. Nun dauert es etwas und man kann in der Shell und auf dem Bildschirm verfolgen, was er alles einpackt.
Das Backup liegt dann im Ordner MyBackups auf der USB-Partition vom Pre.
Zum Restore muss man a) das Dateisystem schreibbar machen “mount -o rw,remount /”, ins Root-Verzeichnis wechseln “cd /” und dann “/media/internal/mybackup” aufrufen. Dann auf Restore und alle Anwendungen sollten wiederhergestellt werden.

2) WebOS Doctor herunterladen: Unter http://kb.palm.com/wps/portal/kb/na/pre/p100eww/o2/solutions/article/71380_de.html#21 bzw. http://palm.cdnetworks.net/rom/preplus/p210r0d02212011/eudep210rod/webosdoctorp101ueude-wr.jar
kann der WebOS-Doctor für 2.1 heruntergeladen werden.

3) Cygwin installieren: Unter http://www.cygwin.com die install.exe herunterladen und dann mindestens die folgenden Pakete auswählen:

1. Python
2. Make
3. Patch
4. Git
5. Zip
6. Unzip
7. wget

4) Den MetaDoctor von webos-internals herunterladen. Den MetaDoctor gibt es hier:
http://www.webos-internals.org/wiki/Application:MetaDoctor
Das Verzeichnis vom MetaDoctor am besten ins cygwin-Verzeichnis kopieren.

5) Den WebOS-Doktor in das Verzeichnis meta-doctor\downloads kopieren und in webosdoctorp100ueu-wr-1.4.5.jar umbennen.

6) Im MetaDoctor Verzeichnis das makefile mit einem Editor (Notepad++) öffnen.

6a) Wenn man unter Windows als Administrator arbeitet, kann es nötig sein, die Zeile 839 durch diese zu ersetzen:
${TAR} –no-same-owner -C build/${PATIENT}/webOS \

6b) Im oberen Teil der Datei die folgenden Optionen einschalten (# entfernen)

ENABLE_DEVELOPER_MODE = 1
AUTO_INSTALL_PREWARE = 1

REMOVE_CARRIER_CHECK = 1
REMOVE_MODEL_CHECK = 1

DEVICE = pre

CARRIER = wr

6c) Cygwin starten und in das Verzeichnis meta-doctor wechseln: “cd meta-doctor” und dort den MetaDoctor starten: “make”

7) Wenn der MetaDoctor fertig ist (das kann etwas dauern) ins Verzeichnis build gehen und den neuen WebOS-Doctor durch einen Doppelklick starten.

Siehe auch:
http://www.webos-internals.org/wiki/Application:MetaDoctor
http://www.webos-internals.org/wiki/Application:MetaDoctor#Using_Cygwin

Problem:

Ich konnte mich nicht wieder bei meinem Palm-Profil einloggen. Ich habe jetzt erstmal ein temporäres Profil erstellt. Dank des Backups habe ich aber alle Apps auch auf meinem neuen System. Jetzt warte ich mal ab. Vielleicht gehe ich auch wieder zu 1.4.5 zurück, der Pre ist stellenweise doch deutlich zäher geworden. Dafür sind Features wie Just-Type einfach nur Klasse. Spätestens, wenn Pal mir einen Entwicklungs-Pr2 schickt, werde ich den Pre wohl wieder auf 1.4.5 zurücksetzen, und dann den Pre2 als Entwicklungs- und Hauptgerät verwenden.

Februar 23, 2011 · admin · 3 Comments
Posted in: Allgemein, Palm

R.I.P. Apple

Yes, Rest In Peace Apple.

3 years ago there was a saturated smartphone market, Nokia, Palm and Microsoft were sharing the market between them. Then a new player entered the ring: Apple. Steve Jobs promised a new smartphone feeling and brought to us not only a new way of usage (just like he did in the 80ies with adopting mouse and windows), he also gave us a tight and profitable market place. What ever he does, it looks like, he does it well.

But just like in the later 80ies, when Windows starts to dry out it’s competitions, today Big-Guy Android sucks up the feeled market leader. Apple already lost the pole position in the smartphone market to the big, fat Android system.

Today I’m not even sure about the second place. HP showed today their stronge support for the recently captured WebOS: 3 new device categories are presented: a very small Pixi successor, a bigger powerful Pre smartphone and a tablet with a astonishing UI. They aren’t available tomorrow, but anyway, Apple will not come out with anything new before mid-year, almost the same time HP will flood the market with it’s own devices. And, if they really bring WebOS as kind of desktop VM to any of their PC’s they will easily create an App-eco-system with a volume much bigger than Apple ever can create.

I fear this will cost Apple even the second place in the smart-device run on mid-term:
Android beats by the number of device manufactures, WebOS thanks to support by one of the biggest computer companies.

Dear Apple-User, start to learn multitasking, the future will not be narrow-minded anymore.

Februar 9, 2011 · admin · No Comments
Posted in: Allgemein

A dynamic list of my apps for webos

My Apps 

And here is the patch for a better working browser in offline mode.
Do you know it? When you are in an area with bad coverage you you eventually click a link in your email or twitter app? The browser window comes up to tell you about missing online connection and asks you whatever you want enable wifi. So far so good, but when you bavk in coverage you will notice that your URL wasn’t stored in the address field of the browser window. This is really bad, as you can’t just load the page. You have to dig and unveil the URL again. Not a nice handling. This patch will try to fix it:

Name: better offline browsing
Version: 1.4.5-1
Author: MetaView
Description: Even in offline mode the browser window will remember the URL

--- .orig/usr/palm/applications/com.palm.app.browser/app/controllers/page-assistant.js
+++ /usr/palm/applications/com.palm.app.browser/app/controllers/page-assistant.js
@@ -478,7 +478,7 @@
// input.
self._addressBar.blur();
};
-
+/*
AppAssistant.Network.addNetworkCheckedMethods({
target: this,
methods: ['openUrl', '_goBack', '_goForward', '_reload'],
@@ -484,7 +484,7 @@
methods: ['openUrl', '_goBack', '_goForward', '_reload'],
onNetworkDown: netAlert
});
-
+*/
// Never display the search results on first launch.
this._addressBar.enableTitleView();
this._addressBar.closeSearchResults();
@@ -495,7 +495,7 @@
this._addressBar.hide();
this.chrome.hide();
}
-
+/*
// On first launch we alway attempt to connect to the network if we are not online.
if (!AppAssistant.Network.online) {

@@ -512,7 +512,7 @@
}
}, self.controller.stageController);
}
-
+*/
if (this.currPageBookmark) {
this.openBookmark(this.currPageBookmark);
}

Januar 30, 2011 · admin · No Comments
Posted in: Allgemein, Palm

Ferientermine im WebOS-Kalender? @Palm_DE

Hier mal ein Tipp für deutschsprachige WebOS-User. Wie bekommt man schnell die Ferientermine in den Kalender auf seinem Pre? iCalImporter in Verbindung mit Schulferien.org ist die Lösung:
iCalImporter für 0.99€ aus dem AppCatalog herunterladen, einmal starten damit sich die App für iCal-Dateien registrieren kann. Dann auf Schulferien.org gehen und die gewünschte Kalenderdatei herunterladen. Den Rest erledigt iCalImporter.
Übrigens gibt es auch andere Termine (z.B. vom lokalen Fußballclub) als iCal-Dateien im Netz.

November 28, 2010 · admin · One Comment
Posted in: Allgemein

Create Birthday Events for your Contacts

It all started with a patch. To improve usability and allow better support, I turned this patch now into a separate app:

Download: Create Birthday Events  Create Birthday Events (10,5 KiB, 1.604 hits)

I’m glad about feedback.

thx

November 20, 2010 · admin · One Comment
Posted in: Allgemein

2TwitMe 1.4

Here is 2TwitMe – the native twitter client for Palm OS. This will be probably one of the last updates for 2TwitMe. Twitter recently changed there authorization to oAuth and this is something to difficult to handle for me with Palm OS. I’ve installed a twitter proxy one a server of mine which will allow you to use Twitter with this new update. Here are the steps you have to do in order to get it work:

1. Use your desktop computer and visit 74.117.158.68/twip

2. Click on “Sign in with Twitter” and you will be redirected to Twitter.

3. Enter your Twitter credentials and allow “2TwitMe Proxy” the access.

4. You are now back on my server: Enter a password to store your Twitter access
on my server. You could use your Twitter password or a new password. You will
need to use this password in 2TwitMe later on.

5. Now your timeline will be appear on my server.

6. Install the new 2TwitMe version (attached) and go to Settings->General

7. Enter 74.117.158.68/twip in the Server field.

8. Go to Settings account and adjust your password if necessary.

9. Get your timeline. Authentification should work now.

You can download 2TwitMe as OTA installation or as zip Archive here:

Download: 2TwitMe.zip  2TwitMe.zip (154,7 KiB, 1.991 hits)


Download: 2TwitMe.prc  2TwitMe.prc (105,5 KiB, 1.852 hits)

Buy it from mobihand.

Oktober 24, 2010 · admin · 2 Comments
Posted in: 2TwitMe, Palm

A little example app to my previous post: #WebOS-HowTo: Make your 2D SDL app @Palm Pixi compatible.

As promised I created a small example app which will show you a running example of how to make your 2D SDL app compatible with Pixi. Here it come, the source and also a complete (Windows VC++-based) project:

Read the rest of this post »

September 28, 2010 · admin · No Comments
Posted in: Developing

#WebOS-HowTo: Make your 2D SDL app @Palm Pixi compatible

WebOS in the current version of 1.4.5 has a bug regarding 2D-SDL rendering.

Normally, you would create a SDL_Surface, render your object on it and update the screen with help of SDL_Flip() or SDL_UpdateRect() call. This doesn’t really work on a Pixi: The app works for some seconds and then the screen stops updating.

The only screen update path which works reliable on a Pixi is OpenGL. And therefore this is the way you need to go to bypass this bug.

Using your SDL-Surface as a texture map on a full screen box in OpenGL sounds not very complicated but there are several pitfalls on the way the screen. In the following example I’ll use OpenGLES1.1.

Read the rest of this post »

September 19, 2010 · admin · No Comments
Posted in: Developing

Crimson Fields for @Palm Pre #WebOS

Crimson Fields
That’s a screenshot of Crimson Fields for WebOS. I submitted the game 2 days ago and expect the approval in a couple of days. If you like turn-by-turn strategical games, don’t miss it.

And don’t forget to tell your friends about it. Just try the Share-it button 🙂

September 4, 2010 · admin · No Comments
Posted in: Allgemein