You can program for the Palm Pre devices now!
What you need:
- Windows PC (XP, Vista, 7even)
- Palm Pre device (highly recommended, get on eBay)
- Palm Developer Account (currently free, might change)
- PayPal account
- GLBasic SDK premium
What you get:
- Your game on the Palm App Store!
- 70% per sale on that store
If you're trying to bet started with game developing and iPhone was too expensive for you, I want to encourage you to TRY THIS NOW. I have some feedback from other devs and they say they get about 50-70% of the income they do with the iOS App Store.
INSTRUCTIONSAre in the official manual. See also here:
http://www.glbasic.com/xmlhelp.php?lang=en&id=395&action=view (http://www.glbasic.com/xmlhelp.php?lang=en&id=395&action=view)
:)
Another device running GLB apps? :D
Olé!!!
Just asking.
If I had a WebOS app... is there somekind of AppStore for such devices? Is it "free" to join? Do apps get someking of copy-protection/drm as apps on AppStore?
:good:
@Kitty: Congrats! Nice work!
@ampos: Yes there is the an appstore. It´s 99$ developer/year,50$ per software piece and 30% of your income. :S But you are free to distribute it from your website. The download is somehow still provided by the appstore then,but you´re title is not in the catalog and not proven. That´s what I read somewhere. I haven´t found it on the palm website, yet.
that is great! another mobile plataform!
I was thinking I should get a new mobile anytime this year and now I have another possible option!
great work! :)
Cool :)
And you can compile from Windows - Yay!!!!
Do we need to download the PalmPre SDK?
Does the PalmPre simulator run with GLB apps?
Simulator - NO.
The SDK, I "think" you don't need it. You might need it to get the device runniing. I'll have to see what to include and what not.
Hi, Gernoot, when whill be enable the update for Palm Web OS, I try today to download the update but say your Ide is updated. (How I look the video, saying, now you can Develop for Palm Pre), well perhaps is some trouble on Paralell Desktops?¿, or the Update don´t release yet.
Kind Regards,
Iván J.
PS:Well I donwloaded de SDk and the emulator, but now I look don´t works on Glbasic, well I think is a little problem, not big, but the phone devices, every time they are more, and more expensives.
Do you have such a device?
Uninstall the PDK/SDK/CodeSourcery. I will include all you need. It's not done, yet. I mean - it is done, but needs some minor refinements and then will go public. Read the forums to keep track.
Ok, Gernoot, when I read the post I turn very nervious, for try the new coompiled App.
Not, I don´t have the device, but looking the video, and not reading all the post, I thinked, well perhaps the application runs on emulator that comes in the SDK.
Well not problem, I wait for the new Update, and I try to buy a Device, but how I say, new mobile that become to the market, are vey expensive.
Kind Regards,
mentalthink.
Great !!!
I'v being finished my first game and also need a new phone, why not webos based.
You can get Palm Pre devices for 150,- EUR *new* these days (the older ones, but they suit fine). It's really a lovely device. I start liking it more than my iPhone, really.
Do these devices all have different resolutions or different processing power like the iphones??
I was just wondering how to test. At the moment I have access to the full range of iphones, but I would only have one palm if i bought one
I've always liked Palms handhelds. Mind you I haven't looked at any of their devices now for years so would be interested to see what a Palm Pre is like (might go looking around the shops). Did some programming for the old Palm devices too ie. the Palm III and hmm I had the newer one too but forget what it was called -- both long gone now though. Back then it was in C I think, but my memory might be faulty.
Is it hard to get your program from your PC to the device?
Hmm I was informed today that you can't buy them new in Australia anymore -- something to do with when HP bought out Palm because it was going under. If that's true, doesn't sound like there is much of a market worth developing for there?
http://www.mobicity.com.au/catalogsearch/result/?q=palm&x=0&y=0 (http://www.mobicity.com.au/catalogsearch/result/?q=palm&x=0&y=0)
They seem very expansive, though. Is 1 AUS$ ~= 1 US $?
OT: They only have to break us to get the Eur drop to $1.00, then there will be a world currency. The yen is already 0.01$
Quote from: Leginus on 2011-Jan-17
Do these devices all have different resolutions or different processing power like the iphones??
I was just wondering how to test. At the moment I have access to the full range of iphones, but I would only have one palm if i bought one
I would like to know this too. Is there just 1 or 2 resolutions, or a miriad as in Android wolrd?
Thanks for advice :nw:
Excellent work Gernot. Thank you for the update. Psssst... Android.......
i've got one !
damn! I'm still on my way to get full glbasic+apple stuff...
nice work! :good:
If you have a Palm Pre, can you help me checking if everything works with the first connect?
Get this:
http://www.glbasic.com/beta/palm_dev_tools.zip (http://www.glbasic.com/beta/palm_dev_tools.zip)
Step 1: Prepare the device
In card view (no cards open type
"webos20090606" (without the quotes)
in the search box.
There will be an icon "Developer Mode Enabler"
Tap that, and turn developer mode on.
http://developer.palm.com/index.php?option=com_content&view=article&id=1973&Itemid=336 (http://developer.palm.com/index.php?option=com_content&view=article&id=1973&Itemid=336)
Step 2:
Install the driver for your OS from the drivers directory of that zip file. /tool/bin/novaterm/drivers
Step 3:
Upload the SSH server for the device. The firewall only
allows access through USB, so you're safe installing this.
With a command line run: "pdk-device-install.bat install" (it's in the zip /tool/bin/novaterm)
Post the output of that here, please!
Step 4:
Try to run /tool/bin/DeviceShell.bat - does it open a root console? Yay!
ok i have
1. developer modus on with load only also on
2 connectet to winxp (vmware)
3.pdk device install bat install - says " novaterm is not a win32 programm"
ive downloaded the sdk also but no changes
maybe it has todo with webos 1.4.5 ??
no, webos 1.4.5 is perfect.
(I'm in chat right now)
maybe it's missing a library?
Stupid VMware :D
for all others "IT WORKs " now :good:
Nice! But in which version of GLBasic is it possible to compile for Palm? The current version 8.200 didn't use this functionality. I ask you because I bought a Palm Pre this week especially to develop with GLBasic on it - maybe sometimes for phone calling :D
Greetings MacReeg
There's a beta SDK up:
http://www.glbasic.com/beta/glbasic_sdk.exe (http://www.glbasic.com/beta/glbasic_sdk.exe) After the installation, run the "vcredist_x86_mfc100.exe" from the program's directory to finish the installation.
ich habe Feuer gemacht ! sprich die erste app läuft !
der kleine glbasic is fun scroller scrollt über den screen !
nur der text ist so klein lol
It work's!. After trying out, i can compile and play my game created for iPhone on WebOS without any changes on code. This is really great success story. Only screen orientation is wrong at moment, i need 480x320. Or better to rewrite all code for 320x480?
The game runs faster on Palm Pre than on iPhone 3GS, great.
Thomas
yea its a cool device .
iam really like it , its easy to use with Glbasic !!
Quote from: Kitty Hello on 2011-Jan-21
There's a beta SDK up:
http://www.glbasic.com/beta/glbasic_sdk.exe (http://www.glbasic.com/beta/glbasic_sdk.exe) After the installation, run the "vcredist_x86_mfc100.exe" from the program's directory to finish the installation.
Beta fixed some editor problems I was having, like jumping to functions and using the "go to definition" in the editor.
Most likely, the WebOS will work with the new HP WebOS tablet coming soon?
http://www.pcworld.com/article/216993/hps_upcoming_webos_tablet_appears_in_leaked_images.html (http://www.pcworld.com/article/216993/hps_upcoming_webos_tablet_appears_in_leaked_images.html)
read this for install preware and Govnah and uberkernel !
in govnah /patches u find also the unlock for the dev mode icon . after installing this you have the devmode icon on the screen
so no moore typing webos20090606 :D !
loading uberkernel and the use of gonvah is easy but use it on your own risk !
i have it installed and can switch form 500 to 700 or 800 or 1GHZ under gonvah (its easy) !
for programming with glb i use the standard 500 MHZ .
onybody got duke3d to run ??
http://forums.precentral.net/palm-pre-tips-information-resources/260206-overclocking-dummies.html
What limitations are there with using WebOS ?
Program size, texture size etc etc
sry fishy i cant say not testet yet !
wav mp3 and so on
hmm looks like we cant play mp3 ?! and my wav's are playing too fast ?
what codec i nead for gernot ?
hah found out ogg will work fine !!! great
after installing internalz from preware i searching for my app on the device .
where the hell is it ? i cant find it .
also where is the build package file ?
internals make it possible to install ipks other wlan i guess its faster but not testet !
thx
Quote from: MrTAToad on 2011-Jan-23
What limitations are there with using WebOS ?
Program size, texture size etc etc
The same limitations as on iPhone, it's pretty much the same code.
I have not tested the texture size limit, yet. I think it's 1024x1024.
I buy me a Palm Pre too next month :)
Good work Gernot!
Offtopic:
Gernot, we/you have to think about your 3D-Engine. There are not much users here they use 3D in GLBasic!
One point is the modelimport ( ddd and ddw are to big! You need to much resources ), pls let us search for a new fileformat thats handy to use and not big as DDD. We realy need this! ( A format that you can export from the most 3D-Modelingtools as default!) Atm the 3D has no future... :(
Quote from: Marmor on 2011-Jan-19
ok i have
1. developer modus on with load only also on
2 connectet to winxp (vmware)
3.pdk device install bat install - says " novaterm is not a win32 programm"
ive downloaded the sdk also but no changes
maybe it has todo with webos 1.4.5 ??
Hi!
Ich habe gestern auch verducht die Schritte von Gernot zu befolgen, allerdings bekomme ich den gleichen Fehler. Ich benutze Win XP Home. Gibt's da jetzt schon Loesungen?
MfG
"novaterm is not a valid win32 program" -> UNINSTALL, DOWNLOAD NEW BETA SDK
Maybe sb. should create a sticky: Palm Pre - HowTo FAQ? :)
P.S. I will buy a Palm Pre next week, too! :)
I presume the Palm just plays OGG files ?
Someone volunteers to test what it plays, please?
i do this now
Yes!
first tests on palm pre
file$="Media/a.mp3"
PLAYMUSIC file$, TRUE
SLEEP 5000
END
first i test the playmusic command playsound later in the same row
MP3 Format Hz kbps Playmusic Playsound
---------------------------------------------------------------------------------------------------------------------------
Mpg Audio Layer -3 48000 320 stereo No
Mpg Audio Layer -3 , 44100 320 stereo Yes
Mpg Audio Layer -3, 44100 320 mono No
Layer -3, 44100 224 stereo Yes
44100 224 mono No
44100 192 stereo Yes
44100 192 mono No
44100 160 stereo Yes
44100 160 mono No
44100 128 stereo Yes
44100 128 mono no
44100 112 Stereo Yes
44100 112 mono no
44100 96 stereo yes
44100 96 mono no
44100 80 stereo yes
44100 80 mono no
44100 64 stereo yes
44100 64 mono no
44100 56 stereo yes
44100 56 mono no
44100 48 stereo Yes
44100 48 mono no
44100 40 stereo yes
44100 40 mono no
44100 32 stereo yes
44100 32 mono no
loadmusic also playing all Aiff formats in mono and stereo !!
also playing OGG Format !!! use this because licence and filesize !
also wav mpg layer 3 32kbit 8000 hz stereo
enough for this day its so booring
its all really testet with goldwave and palm pre
can somebody call the :help:
IPHONE
IPOD TOUCH
----------------------------------
FILE Playmusic / Playsound
a100.wav YES / YES
a101.wav YES / YES
a102.wav YES / YES
a103.wav YES / NO
a104.wav YES / NO
a105.wav YES / NO
a106.wav NO / NO
a107.wav NO / NO
a108.wav NO / NO
a109.wav NO / NO
a110.wav YES / NO
a111.wav YES / NO
a112.wav YES / NO
a113.wav YES / NO
a114.wav YES / NO
a115.wav YES / NO
a116.wav YES / NO
a117.wav YES / NO
a118.wav YES / NO
a119.wav YES / NO
a120.wav YES / NO
a121.wav YES / NO
a122.wav YES / NO
a123.wav YES / NO
a124.wav YES / NO
a125.wav YES / NO
a126.wav YES / NO
a127.wav YES / NO
a128.wav YES / NO
a129.wav YES / NO
a130.wav YES / NO
a131.wav YES / NO
a132.wav YES / NO
a133.wav YES / NO
a134.wav YES / NO
a135.wav NO / NO
a136.wav YES / NO
a137.wav YES / NO
a138.wav YES / NO
a139.wav YES / NO
a140.wav YES / NO
a141.wav YES / NO
a142.wav YES / NO
a143.wav YES / NO
a144.wav YES / NO
a145.wav YES / NO
a146.wav YES / NO
a147.wav YES / NO
a148.wav NO / NO
a149.wav NO / NO
a150.wav YES / NO
a151.wav YES / NO
a152.wav NO / NO
a153.wav NO / NO
a154.wav YES / NO
a155.wav YES / NO
a156.wav NO / NO
a157.wav NO / NO
a158.wav YES / NO
a159.wav YES / NO
a160.wav YES / NO
a161.wav YES / NO
a162.wav YES / NO
a163.wav YES / NO
a164.wav NO / NO
a165.wav NO / NO
a166.wav YES / NO
a167.wav NO / NO
a168.wav NO / NO
a169.wav YES / NO
a170.wav YES / NO
a171.wav NO / NO
a172.wav NO / NO
a173.wav YES / NO
a174.wav YES / NO
a175.wav YES / NO
a176.wav YES / NO
IPHONE
IPHONE
----------------------------------
FILE Playmusic / Playsound
a100.wav YES / YES
a101.wav YES / YES
a102.wav YES / YES
a103.wav YES / NO
a104.wav YES / NO
a105.wav YES / NO
a106.wav NO / NO
a107.wav NO / NO
a108.wav NO / NO
a109.wav NO / NO
a110.wav YES / NO
a111.wav YES / NO
a112.wav YES / NO
a113.wav YES / NO
a114.wav YES / NO
a115.wav YES / NO
a116.wav YES / NO
a117.wav YES / NO
a118.wav YES / NO
a119.wav YES / NO
a120.wav YES / NO
a121.wav YES / NO
a122.wav YES / NO
a123.wav YES / NO
a124.wav YES / NO
a125.wav YES / NO
a126.wav YES / NO
a127.wav YES / NO
a128.wav YES / NO
a129.wav YES / NO
a130.wav YES / NO
a131.wav YES / NO
a132.wav YES / NO
a133.wav YES / NO
a134.wav YES / NO
a135.wav NO / NO
a136.wav YES / NO
a137.wav YES / NO
a138.wav YES / NO
a139.wav YES / NO
a140.wav YES / NO
a141.wav YES / NO
a142.wav YES / NO
a143.wav YES / NO
a144.wav YES / NO
a145.wav YES / NO
a146.wav YES / NO
a147.wav YES / NO
a148.wav NO / NO
a149.wav NO / NO
a150.wav YES / NO
a151.wav YES / NO
a152.wav NO / NO
a153.wav NO / NO
a154.wav YES / NO
a155.wav YES / NO
a156.wav NO / NO
a157.wav NO / NO
a158.wav YES / NO
a159.wav YES / NO
a160.wav YES / NO
a161.wav YES / NO
a162.wav YES / NO
a163.wav YES / NO
a164.wav NO / NO
a165.wav NO / NO
a166.wav YES / NO
a167.wav NO / NO
a168.wav NO / NO
a169.wav YES / NO
a170.wav YES / NO
a171.wav NO / NO
a172.wav NO / NO
a173.wav YES / NO
a174.wav YES / NO
a175.wav YES / NO
a176.wav YES / NO
WEBOS
PRE
----------------------------------
FILE Playmusic / Playsound
a100.wav YES / YES
a101.wav YES / YES
a102.wav YES / YES
a103.wav NO / NO
a104.wav NO / NO
a105.wav NO / NO
a106.wav NO / NO
a107.wav NO / NO
a108.wav NO / NO
a109.wav NO / NO
a110.wav NO / NO
a111.wav NO / NO
a112.wav NO / NO
a113.wav NO / NO
a114.wav NO / NO
a115.wav NO / YES - wrong speed - adpcm
a116.wav NO / YES - wrong speed - adpcm
a117.wav NO / YES
a118.wav NO / YES
a119.wav NO / YES
a120.wav NO / YES
a121.wav NO / YES
a122.wav NO / YES
a123.wav NO / YES -wrong speed -adpcm
a124.wav NO / YES -wrong speed -adpcm
a125.wav NO / YES
a126.wav NO / YES
a127.wav NO / YES
a128.wav NO / YES
a129.wav NO / YES
a130.wav NO / YES
a131.wav NO / NO
a132.wav NO / NO
a133.wav NO / NO
a134.wav NO / NO
a135.wav NO / NO
a136.wav NO / NO
a137.wav NO / NO
a138.wav NO / NO
a139.wav NO / NO
a140.wav NO / NO
a141.wav NO / NO
a142.wav NO / NO
a143.wav NO / NO
a144.wav NO / NO
a145.wav NO / NO
a146.wav NO / NO
a147.wav NO / NO
a148.wav NO / NO
a149.wav NO / NO
a150.wav NO / NO
a151.wav NO / NO
a152.wav NO / NO
a153.wav NO / NO
a154.wav NO / NO
a155.wav NO / NO
a156.wav NO / NO
a157.wav NO / NO
a158.wav NO / NO
a159.wav NO / NO
a160.wav NO / NO
a161.wav NO / NO
a162.wav NO / NO
a163.wav NO / NO
a164.wav NO / NO
a165.wav NO / NO
a166.wav NO / NO
a167.wav NO / NO
a168.wav NO / NO
a169.wav NO / NO
a170.wav NO / NO
a171.wav NO / NO
a172.wav NO / NO
a173.wav NO / NO
a174.wav NO / NO
a175.wav NO / NO
a176.wav NO / NO
Have you kept all the sounds and music files - will be interesting to try them on PC's, Linux etc etc
OK, post the file specs for the first 3 files, please. They seem to be the most compatible ones.
Can you copy programs from one machine to another, or do you have to do it like the iPhone and create temporary security keys and all that.
No, it's just "copy/paste". Where "paste" is a matter of "pdk-install com.mysite.myapp-version.ipk".
I think I'm about to leave Beta stage, when the next 2 devs give me the OK sign for the Palm Pre setup and installation.
See:
(http://www.glbasic.com/pix/tnshiver_palm_catalog.png) (http://www.glbasic.com/pix/shiver_palm_catalog.png)
I didn't get an email about the app being released, but I already sold 6 pcs @ $2.49.
AWESOME!!!
I, however, must say, that I did get a very nice call from some woman of HP/Palm that wanted to have some of my emails for advertising reasons. So, all of you iPhone devs out there - PORT YOUR APP NOW!
One of my apps is nearly good to go for iPhone (testing final levels now), so I'll hopefully get a Palm Pre version up and running soon.
Is there any way we could get you to publish our Pre apps and share the profits Gernot, until we've got devices ourselves?
Thing is, I "think" it costs $50 to upload one app (or was that the frist app - I have no idea). And then, the sharings computation is some work. It's not that I'm not willing to help you, but I fear this will be quite some work in the end, where I don't really have the time for it.
Also, these devices are very well supported. The Palm Pre (1) works as fine as the Pre 2 does for development and upgrades. And they are really cheap here. Try an ebay search, you get them below the price of a Wiz.
I'm planning an (it's almost easter again) competition as well. I think a Pre is a nice prize. Would anyone mind a QuertZ keyboard layout?
What's the C preprocessor (#define) text for WebOS ?
An Easter comp sounds like a good idea Gernot :)
Sorry for not googling this, but is there some sort of reference pages where it says which countries are supported for selling apps on Palm Store? I can only sell to Apple right now (I'm in Croatia).
[Thumps fists into the sandy beach]
Damn you, Microsoft and Google! Damn you all to hell!
yeah i make 75 mp3 files now pheeew...
if i have all sound ready release a full zip file for testing .(fishy)
please be patient and wait for my update
thx
Dr shiver is in Palm Appstore !
great gernot !
The preprocessor is:
?IF DEFINED(WEBOS)
It's always the text from the platform options in uppercase.
Ah, right. Thanks! Have you promoted GLBasic to the good people at the Palm forums ?
No, I'll wait until the next positive response about installing is there, and will release the version then. I think I'll go for V9 then, because V8 is already 8.235 and 8.360 will automatically wrap to 9 then ....
Coud you add support for 480x320 Screens to Palm Pre? I use this for iPhone and if you not, i have to rewrite all to 320x480. This makes the game not playable on Windows, or exists a simple way, to rotate hole screen by 90 degrees on Windows?
Thomas
Landscape mode is on the release version. Just a few days until release.
Now I tested the Prê and compiling works fine!
But you should write two more infos into the instruction.
1st: Do not write "_" into the firm name in the "ID" field (step 3)! I´ve got an error while executing the "pdk-device-install.bat".
Example: change "com.my_firm.appname" to "com.myfirm.appname" ;)
2nd: After installing developer tools to the phone and rebooting (step 2) the "pdk-device-install.bat" maybe doesn´t finish the installing process. Then you have to reconnect the usb plug.
After that it is so easy to install your apps!!! :)
Thank you very much Gernot! :nw:
data from my logger
last route just for fun
(http://www.blitzforum.de/upload/file.php?id=10227)
Can you run WebOS programs in the emulator ?
No, the program doesn´t run in the emulator.
Installing works but after clicking on the app, nothing happens^^
http://glbasic.pastebin.com/SjeDrnmJ
____
EDIT by moderator: Gernot this is a possible BUG report. Run this snippet on Win32 and WebOS to see that the results are different. Then take out your pocket calculator to verify the answers and you'll discover that both are wrong.
Not bad at all!
Hi, anybody can try to put anything in 3D (if you need a model whit texture, tell me), so I like know before arrives my pre palm, if 3D works how on iPhone or in similar mode. So windows 7 don´t works well and wiz, but this 2 is troubles of the SDK´s.
Kind Regards,
Iván J.
Hi!
I try to install the OpenSSH with help of Gernots guideline but I run into an error:
C:\Documents and Settings\user\Desktop\tool\bin\novaterm>pdk-device-install.bat install
The image file C:\Documents and Settings\user\Desktop\tool\bin\novaterm\data\bin\novacom.exe is valid, but is for a machine type other than the current machine.
Error: Novacom must be installed in order for this script to work
So, I use a Palm Pre with WebOS 1.4.5. Is there anything help for me?
Greetings Ernst
Which Windows do you use (Version, Bit) ?
..and: Did you _really_ download the latest beta SDK?
That file must be a 32 bit windows exe. If it's 64 bits, you downloaded the beta too early ;)
windows server 2003 standard sp2 32 bit
Do I need both SDK and PDK?
Problem solved ;-)
I used the PDK installer from the Palm website. So now the SSH was installed correctly. Before this I try to use Gernots ZIP package.
Greetings Ernst
bad. Really bad. The beta is there for you to test if it works. It should work w/o the SDK/PDK installation.
I hope it works for others. I'm holding the release until the next success appears.
I'm still waiting to see a Palm Pre on eBay go for less than the price of a Wiz Gernot. Not seen it happen yet... ;) :P
So, I am back again ::)
When I move the "glbwebos" folder to the Batch file "palm-package.bat" a *.ipk will be build (unlikely not in the program folder - but thats not so important!). But when now I mode the *.ipk file to the Batch file "palm-install.bat" folowing error will be shown:
installing package U:\com.test.testapp_1.0.0_all.ipk on device "castle-linux" {abe3b7b66c53826e7aaec72d1f0794cd6524cb95} usb 1239
palm-install: Command: put file:///media/internal/.developer/com.test.testapp_1.0.0_all.ipk
Reply:file open failed
Greetings Ernst
[Edit]When is start the DeviceShell.bat and try to switch to the media folder on the device there is not a folder "media" :blink:[/Edit]
is "U:" a network drive?
The directory is "/media", not "media" in the current directory. Was is that?
Yes, "U:" is a mapped network drive.
When I list the content of "/media" I will find following:
Using username "root".
root@palm-webos-device:/var/home/root# cd /media/
root@palm-webos-device:/media# ls
ls: ./cryptofs: Resource temporarily unavailable
card hdd mmc1 ram union
cf internal net realroot
[Edit]An installation of your ZIP package does also work fine now![/Edit]
please list your steps from compiling to installing.
do you use the glbasic helpfile?
Yes I used the help file to install the PDK to the device. I think the SSH is not the problem because I can connect the Palm via Putty/DeviceShell. But when I compare the "/media" folder in Gernots video and my own one, so I miss a few folders like "cryptofs". The message that I posted descripe the problem -> "ls: ./cryptofs: Resource temporarily unavailable".
Greetings Ernst
I find the solution for my problem! So damn - I had toogle my device as "USB-Drive" and not "charge only" so the missing folder "cryptofs" was locked. What a simple and frustrating miss handling!
Now I can start my App on the palm ... BUT :'(
This is the command line output after calling "./glbasic-webos-exe":
QuoteInit GFX
SDL_init video
SDL_GetVideoInfo = 320x480 @ 32
Setting video mode: 0x0x0 fl=2
BGRA ext supported
Init Finalized
CALLBYNAME "GLB_ON_PAUSE" *** failed ***
CALLBYNAME "GLB_ON_RESUME" *** failed ***
Killed
My Palm shows the App and reboot automatically!!!
Here my little TestApp-Code:
SETCURRENTDIR("Media") // seperate media and binaries?
SETSCREEN 320, 480, 1
WHILE KEY(1) = 0
DRAWLINE 0, 0, 320, 480, RGB(255, 0, 0)
SHOWSCREEN
WEND
Why reboots my Palm after starting program?
no setscreen, please.
Try DRAWRECT instead of DRAWLINE (just to get things safe and started).
BTW: All your described errors are handled in the manual in GLBasic intern/WebOS - Palm Pre.
Please read it carefully. The youtube video might be misleading, because it was a very very early stage of beta.
Hi today arrives, my Pre Palm, but I don´t be capable to put anything into the phone.
Well I real, and watch the video, but nothing happens, well I don´t know exactly, what steps to follow, I don´t know if , I have got a file from Hp, equal the iPhone Provisioning file, or something similar.
Well I explain a little my probes, if anybody can help, thanks.
Well I upgrade the O.S to 1.4.5
I make simple program in Glbasic, and compile, well lot of warnings, no problem, equal the video.
I take my project folder and drag to palm-package, nothing appear how new file.
I try to use, (in the files fom the SDK GLbasic, download , NOT the files from this post), a .bat calle glb_pack_and_install, but nothing succes.
I read a part of instrucction, what I don´t understand. It´s this: (red color)
If you have a Palm Pre, can you help me checking if everything works with the first connect?
Get this:
http://www.glbasic.com/beta/palm_dev_tools.zip
Step 1: Prepare the device
In card view (no cards open type
"webos20090606" (without the quotes)
in the search box.
There will be an icon "Developer Mode Enabler"
Tap that, and turn developer mode on.
http://developer.palm.com/index.php?option=com_content&view=article&id=1973&Itemid=336
Step 2:
Install the driver for your OS from the drivers directory of that zip file. /tool/bin/novaterm/drivers
Step 3:
Upload the SSH server for the device. The firewall only
allows access through USB, so you're safe installing this.
With a command line run: "pdk-device-install.bat install" (it's in the zip /tool/bin/novaterm)
Post the output of that here, please!
Step 4:
Try to run /tool/bin/DeviceShell.bat - does it open a root console? Yay!
Any guide for make this step, in someplace in glbasic forum, I don´t understand nothing for make this step (excuseme for my ignorace).
Well I hope, if anyone can helpme, because I stay a lot of hours in front the screen, but I don´t have a happy finish :(
Kinds Regards,
Iván J.
ok am on win xp here . so go on
u set the developermode on ? webos20090606 ?
ok
u install kitti's tools ?
ok
u run pdk-device-install.bat install ? this is the red code from u nothing moore as a server over usb !
ok
put the usb on booth first pre then win (because usb the micro is so damn small)
your pre ask loading or usb
type loading
ok
compile a miniproject for web os also set the settings for
ok
the last statement line from glb is somthing like this
Merge .app/Media in Z:\glcode\GLBasic\fff\glbwebos and pack with
"C:\Programme\GLBasicprebeta\Compiler\platform\webos\tool\bin\glb_pack_and_install.bat" "Z:\glcode\GLBasic\fff\glbwebos".
ok ?
copy this
C:\Programme\GLBasicprebeta\Compiler\platform\webos\tool\bin\glb_pack_and_install.bat" "Z:\glcode\GLBasic\fff\glbwebos
ok ?
call start /execute- cmd
looks like a dos shell or ;)
paste
C:\Programme\GLBasicprebeta\Compiler\platform\webos\tool\bin\glb_pack_and_install.bat" "Z:\glcode\GLBasic\fff\glbwebos
remove the quotes
type enter
thats all
i know u read it yet hope this help
Read http://www.glbasic.com/xmlhelp.php?lang=en&id=395&action=view (http://www.glbasic.com/xmlhelp.php?lang=en&id=395&action=view) THIS. That's the official docs.
Hi, Gernoot, thanks in advice. This was without new instructions[Yesterday]( I think is something wrong on my Windows, so when I try install the driver x86 (sorry, I don´t remenber the name of file), in a machine I think don´t execute well, appear the loading bar, and when arrives at finish, don´t make nothing, else, in my laptop is the same windows, execute the driver x86, and tell about gathering information, well the standard when you execute a .exe.)
I go to learn your steps, and perhaps this same evening I comment in this thread, if not will be tomorrow.
Thanks all, for your helps.
Kinds Regards, Iván J
Thanks Gernnot, works at he first Time!!!.
Thaks for the manual for install aplications, is very clear and easy to follow the Steps.
OK, fine. I'll fix a few tiny issues then and release the new version within the next few days.
oK, I try a model in 3D whit texture and works, vey fine, I look a little error in the texture but i think is problem of faces the model, donwloaded from internet. Works in the same manner than iPhone, and I don´t stay sure, but I think more speddest, becuase the model weigth is 1.419 Kb and 213 Kb of the .png textures. I try whit more time how woks 3D, but I think Glbasic works pretty nice in this platform too.
Kinds Regards
Mentalthink
Some rumors say we must pay 99 for developerlicense and 50 per App.
But its all free !!
http://developer.palm.com/index.php?option=com_content&view=article&id=1840
Registered.
Thanks for the heads up :)
Hi,
thanks for your hard work gernot :-)
I got some compile errors while it worked well for WIN32. IT cant find some files inside a subdirectory ( .h files )
For WIN32 it works fine, also for IPHONE,i only get the errors for WebOS
WIN32:
_______________________________________
*** Configuration: WIN32 ***
precompiling:
GPC - GLBasic Precompiler V.7.826 SN:b7faa967 - 3D, NET
Wordcount:2173 commands
compiling:
linking:
erfolgreich
_______________________________________
*** Fertig ***
Dauer: 17.3 sek. Zeit: 18:20
Erstellen: 1 erfolgreich.
WEBOS:
_______________________________________
*** Configuration: WEBOS ***
precompiling:
GPC - GLBasic Precompiler V.7.826 SN:b7faa967 - 3D, NET
Wordcount:2169 commands
compile+link:
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp:497:33: error: extern/xml/XMJcalls.h: No such file or directory
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp:499:38: error: extern/xml/JPR_GetNxtLne.h: No such file or directory
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp:501:40: error: extern/xml/JPR_GetNxtLne.cpp: No such file or directory
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp:503:35: error: extern/xml/XMJ_rSrc.cpp: No such file or directory
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp:505:35: error: extern/xml/XMJ_sNew.cpp: No such file or directory
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp:507:35: error: extern/xml/XMJ_tDel.cpp: No such file or directory
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp: In function '__GLBASIC__::DGStr __GLBASIC__::XMJ_GetVersion_Str()':
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp:549: error: 'XMJ_getVersion' was not declared in this scope
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp: In function '__GLBASIC__::DGStr __GLBASIC__::XMJ_GetDate_Str()':
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp:610: error: 'XMJ_getDate' was not declared in this scope
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp: In function '__GLBASIC__::DGStr __GLBASIC__::XMJ_GetLastError_Str()':
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp:671: error: 'XMJ_getLastError' was not declared in this scope
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp: In function 'DGNat __GLBASIC__::XMJ_ReadFile(__GLBASIC__::DGStr, __GLBASIC__::DGStr)':
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp:715: error: 'XMJ_readFile' was not declared in this scope
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp: In function 'DGNat __GLBASIC__::XMJ_GetFirstGroup(__GLBASIC__::DGStr, DGNat)':
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp:744: error: 'XMJ_getFrstGroup' was not declared in this scope
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp: In function 'DGNat __GLBASIC__::XMJ_GetLastGroup(__GLBASIC__::DGStr, DGNat)':
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp:773: error: 'XMJ_getLastGroup' was not declared in this scope
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp: In function 'DGNat __GLBASIC__::XMJ_GetNextGroup(__GLBASIC__::DGStr, DGNat)':
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp:802: error: 'XMJ_getNextGroup' was not declared in this scope
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp: In function '__GLBASIC__::DGStr __GLBASIC__::XMJ_GetAttribute_Str(__GLBASIC__::DGStr, __GLBASIC__::DGStr&)':
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp:846: error: 'XMJ_getAttribute' was not declared in this scope
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp: In function 'DGNat __GLBASIC__::XMJ_Reset()':
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp:892: error: 'XMJ_reset' was not declared in this scope
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp: In function 'DGNat __GLBASIC__::XMJ_NewFile(__GLBASIC__::DGStr)':
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp:920: error: 'XMJ_newFile' was not declared in this scope
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp: In function 'DGNat __GLBASIC__::XMJ_NewGroup(__GLBASIC__::DGStr)':
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp:948: error: 'XMJ_newGroup' was not declared in this scope
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp: In function 'DGNat __GLBASIC__::XMJ_PutGroup(__GLBASIC__::DGStr, __GLBASIC__::DGStr)':
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp:977: error: 'XMJ_putGroup' was not declared in this scope
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp: In function 'DGNat __GLBASIC__::XMJ_GroupPutValue(__GLBASIC__::DGStr, __GLBASIC__::DGStr)':
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp:1006: error: 'XMJ_newGrpPutVal' was not declared in this scope
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp: In function 'DGNat __GLBASIC__::XMJ_PokeNewGroupPutValue(__GLBASIC__::DGStr, __GLBASIC__::DGStr)':
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp:1035: error: 'XMJ_pokeNewGrpPutVal' was not declared in this scope
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp: In function 'DGNat __GLBASIC__::XMJ_NewAttribute(__GLBASIC__::DGStr)':
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp:1063: error: 'XMJ_newAttribute' was not declared in this scope
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp: In function 'DGNat __GLBASIC__::XMJ_PutAttribute(__GLBASIC__::DGStr, __GLBASIC__::DGStr)':
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp:1092: error: 'XMJ_putAttribute' was not declared in this scope
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp: In function 'DGNat __GLBASIC__::XMJ_NewAttributePutValue(__GLBASIC__::DGStr, __GLBASIC__::DGStr)':
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp:1121: error: 'XMJ_newAttPutVal' was not declared in this scope
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp: In function 'DGNat __GLBASIC__::XMJ_WriteFile(__GLBASIC__::DGStr)':
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp:1149: error: 'XMJ_writeFile' was not declared in this scope
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp: In function 'DGNat __GLBASIC__::XMJ_NewComment(__GLBASIC__::DGStr)':
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp:1177: error: 'XMJ_newComment' was not declared in this scope
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp: In function 'DGNat __GLBASIC__::XMJ_DeleteGroup(__GLBASIC__::DGStr)':
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp:1205: error: 'XMJ_delGroup' was not declared in this scope
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp: In function 'DGNat __GLBASIC__::XMJ_DeleteAttribute(__GLBASIC__::DGStr)':
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp:1233: error: 'XMJ_delAttribute' was not declared in this scope
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp: In function 'DGNat __GLBASIC__::XMJ_DeleteComment(__GLBASIC__::DGStr)':
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp:1261: error: 'XMJ_delComment' was not declared in this scope
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp: In function 'DGNat __GLBASIC__::XMJ_NewStream(__GLBASIC__::DGStr, DGNat)':
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp:1290: error: 'XMJ_newStream' was not declared in this scope
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp: In function '__GLBASIC__::DGStr __GLBASIC__::XMJ_GetStream_Str()':
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp:1333: error: 'XMJ_getStream' was not declared in this scope
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp: In function 'DGNat __GLBASIC__::XMJ_DeProfundis()':
C:\Users\alex\AppData\Local\Temp\glbasic\gpc_tempb.cpp:1376: error: 'XMJ_deProfundis' was not declared in this scope
*** FATAL ERROR - Bitte die Compiler-Ausgabe ins Forum kopieren
_______________________________________
*** Fertig ***
Dauer: 11.8 sek. Zeit: 18:23
Erstellen: 0 erfolgreich.
*** 1 FEHLGESCHLAGEN ***
I just use normal c includes:
extern/xml/XML.gbas
#include "extern/xml/XMJcalls.h"
#include "extern/xml/JPR_GetNxtLne.h"
#include "extern/xml/JPR_GetNxtLne.cpp"
#include "extern/xml/XMJ_rSrc.cpp"
#include "extern/xml/XMJ_sNew.cpp"
#include "extern/xml/XMJ_tDel.cpp"
And the extern/xml/ folder exists and contains all necessary files
C:....\GLBasic\siasola\extern\xml\
I also tried to move the files to other directories like extern\ and siasola\ and changed the includees but it didnt help.
Any idea?
HI about pressing buttons on Paml Pre.
On my device if I press the chasis, just under the bottom of the display, I can use for move cards, etc. On Glbasic, how I control this part of the device, because I try whit mouse b1=true, but in this part of device, don´t affect nothing. Whit an image out, of the screen I don´t try, but I think this bad trick don´t works, I tried too, whit the second button, but nothing too.
Kind regards,
Iván J.
what do you think is the best font size for the palm pre ?
CAN U read the smalfont without a lens ?
i think the left move gesture is the esc key .
@metalthink:
You get that as a KEY(1), when you have AUTOPAUSE FALSE; ALLOWESCAPE FALSE set.
You will get a SUB GLB_ON_PAUSE: callback for that button, too.
ok, Thanks kitty, for your reply.
Kinds Regards,
Iván J
V9 :The Sleep bug is dead and we got landscape too !! :nw:
thx
Sad News : http://forums.precentral.net/general-webos-chat/274781-official-no-ota-webos-2-x-updates-existing-devices-thread.html (http://forums.precentral.net/general-webos-chat/274781-official-no-ota-webos-2-x-updates-existing-devices-thread.html)
:blink:
The will surely bring a device doctor update.
After reading some other forums about gps i know the pre has a good quality GPS inside!!
http://www.android-hilfe.de/root-hacking-modding-fuer-samsung-galaxy-s/41067-neuer-gps-fix-durch-epic-4g-2.html (http://www.android-hilfe.de/root-hacking-modding-fuer-samsung-galaxy-s/41067-neuer-gps-fix-durch-epic-4g-2.html)
some fakts some rumors about webos on pre-
HI,
Facts
u can use webos 2.1 ! with using the metadoctor for the installroutine .
today psycho-unix released the überkernel for 2.1 ! :good:
using the Meta-DOCl is not the legal way !
webos 2.1 run full on the pre - but webos 2.1 isnt bugfree at all
some devices have problems with the profile .
some not.
its recommending to use the ORIGINAL CABLE from palm to play with metadoc !!
Rumors : HP will put webos 1.5 for the pre -
HP will put webos 2.1 for the pre -
HP will blub / blab /blib :D
i am no linuxfreak so i wait a week for updating now .
ok i cant wait ;)
last night i build my webosdoc for pre- and webos2.1 witch cygwin and the metadoctor
and 2.1 is really cool .
with 500 mhz 2.1 is sometimes faster and sometimes slower as 1.45
you need also a new novacom driver version .and a new webquickinstaller
finally i installed govnah and überkernel .
pre runs now with 1 GHZ.
the presentationsmode is cool and maybe we can programming apps for this feature . ill have a look
if anyone interesting for webos 2.1 on his palm pre and using the 1gHZ kernel ?
if so i make a tutorial and some hints for .
NO not you Ocean , i know =D
Does GLBasic compile for all versions of webOS?
I've been toying with the idea of getting a Pre 2, if I can program for it in Basic that would be a BIG bonus =D
Do apps for Palm have to be signed or can you easily install your own apps on your own device without a third party interfering?
Thanks.
Weave
GLBasic runs very nicely on the Palm Pre2 and with no certification, or developers fees of any kind to worry about (unlike iDevices). You can install your own apps on your Pre from your own pc without any problems - just connect the USB and set up the macro that Gernot showed and Bob's your uncle.
The Pre is a lovely machine, and actually seems faster and smoother than the current iPhone. The only minor complaint is that the screen is smaller.
Thanks Ian, it was this quote on the tutorial page that got me confused:
"Vibration is only accessable in WebOS 2.0.x and thus not supported, yet."
I thought: does that mean GLBasic can only compile for webOS versions <2.0.x?
I have another question, on the announcement page it says:
"Only slight downer: A Java runtime must be installed."
Does the Java runtime need to be installed on the Pre or on the computer used for development?
If the runtime in question needs to be installed on the Pre is it still actively developed?
Thanks again.
Weave
GLBasic programs run fine on 1.4.5 and 2.x. I disabled the rumble to be compatible with 1.4.5, though. I might try dynaimcally loading it for 2.x.
You need a java runtime on your windows PC for building the .ipk package.
Perfect - just the answers I was hoping for =D
I've just been reading the tutorials - I love the syntax of GLBasic too.
Yesterday I read a statement from HP saying from next year all their PCs will come pre-installed with webOS (as well as Windows or whatever).
I understand HP ship 64,000,000 PCs per year so this is big news for the future of webOS and also webOS developers.
I found that I had to install the Java Development Kit, as whilst the Java run-time system was installed, java.exe isn't (although javaw.exe is :) )
very strange. I don't have the JDK installed. (The Android SDK complained, the other day)
I didn't need to install any extra JAVA gubbins on my (HP) Win7 machine. It all worked flawlessly.
Thats weird :)
Ah well, doesn't really matter - its not exactly a large download.
By the way, this site : http://www.precentral.net/taking-screenshot-updates-webos-2-x shows how to take a screenshot of a running Palm Pre 2 program.
So does this one - http://www.611connect.com/howto/amber_how-to-take-a-screenshot-on-the-palm-pre
QuoteBy the way, this site : http://www.precentral.net/taking-screenshot-updates-webos-2-x shows how to take a screenshot of a running Palm Pre 2 program.
So does this one - http://www.611connect.com/howto/amber_how-to-take-a-screenshot-on-the-palm-pre
Still haven't received a Palm Pre 2, so I emailed to find out the status.
Here's the email:
Hey Mike-
I'm still going to send it, but at the moment I'm at the mercy of manufacturing.
We had a huge stock, but interest in the program surprised even me. We're currently
waiting to get a new order in and then will resume shipments. Sorry for the delay.
Cheers,
Developer Relations
HP | PALM
Was that from Peter Helm ?
Yep, that was Peter.